Everything was fine when I was using v0.10. But after I upgraded to v0.11, the Avira anti-virus works against me. So I remove v0.11 and reinstall v0.10.
But now in the webui, it constantly shows No Data. More specifically, in http://localhost:5600/#/buckets the bucket aw-watcher-web-firefox still updates reguarly, but not the afk, window.
I attach the logs as follows.
aw-qt log:
2021-06-27 15:29:45 [INFO ]: Searching for bundled modules in: ['C:\\Program Files (x86)\\ActivityWatch\\aw_qt', 'C:\\Program Files (x86)\\ActivityWatch'] (aw_qt.manager:67)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-qt.desktop (aw_qt.manager:55)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-qt.exe.manifest (aw_qt.manager:55)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-server\aw-server.exe.manifest (aw_qt.manager:55)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-server-rust\aw-server.service (aw_qt.manager:55)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-watcher-afk\aw-watcher-afk.exe.manifest (aw_qt.manager:55)
2021-06-27 15:29:45 [WARNING]: Found matching file but was not executable: C:\Program Files (x86)\ActivityWatch\aw-watcher-window\aw-watcher-window.exe.manifest (aw_qt.manager:55)
2021-06-27 15:29:45 [INFO ]: Found bundled modules: (aw_qt.manager:72)
2021-06-27 15:29:45 [INFO ]: - aw-qt at C:\Program Files (x86)\ActivityWatch\aw-qt.exe (aw_qt.manager:24)
2021-06-27 15:29:45 [INFO ]: - aw-server at C:\Program Files (x86)\ActivityWatch\aw-server\aw-server.exe (aw_qt.manager:24)
2021-06-27 15:29:45 [INFO ]: - aw-server-rust at C:\Program Files (x86)\ActivityWatch\aw-server-rust\aw-server-rust.exe (aw_qt.manager:24)
2021-06-27 15:29:45 [INFO ]: - aw-watcher-afk at C:\Program Files (x86)\ActivityWatch\aw-watcher-afk\aw-watcher-afk.exe (aw_qt.manager:24)
2021-06-27 15:29:45 [INFO ]: - aw-watcher-window at C:\Program Files (x86)\ActivityWatch\aw-watcher-window\aw-watcher-window.exe (aw_qt.manager:24)
2021-06-27 15:29:45 [INFO ]: Found system modules: (aw_qt.manager:99)
2021-06-27 15:29:45 [INFO ]: Starting module aw-server (aw_qt.manager:128)
2021-06-27 15:29:45 [INFO ]: Starting module aw-watcher-afk (aw_qt.manager:128)
2021-06-27 15:29:45 [INFO ]: Starting module aw-watcher-window (aw_qt.manager:128)
2021-06-27 15:29:45 [INFO ]: Creating trayicon... (aw_qt.trayicon:200)
2021-06-27 15:29:46 [INFO ]: Initialized aw-qt and trayicon succesfully (aw_qt.trayicon:235)
aw-server log:
2021-06-27 15:29:46 [INFO ]: Using storage method: peewee (aw_server.main:26)
2021-06-27 15:29:46 [INFO ]: Starting up... (aw_server.main:31)
2021-06-27 15:29:46 [INFO ]: Using database file: C:\Users\$USER\AppData\Local\activitywatch\activitywatch\aw-server\peewee-sqlite.v2.db (aw_datastore.storages.peewee:116)
2021-06-27 15:29:46 [INFO ]: * Running on http://localhost:5600/ (Press CTRL+C to quit) (werkzeug:122)
2021-06-27 15:29:58 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-40.097s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-943.36s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-27483.632s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-978.323s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-434.067s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-201.356s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-2469.086s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-11354.801s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-226.934s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-2477.624s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-7330.767s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-189.008s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-5733.185s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-1978.925s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-193.11s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-257.211s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration but could be safely merged (-303.52s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 15:30:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-275.529s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 15:43:19 [INFO ]: 308 (127.0.0.1): GET /api HTTP/1.1 (flask:25)
2021-06-27 15:43:25 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 15:54:56 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 16:29:27 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 16:58:52 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 17:03:51 [INFO ]: 404 (127.0.0.1): GET /img/icons/apple-touch-icon-152x152.png HTTP/1.1 (flask:25)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-40.097s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-943.36s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-27483.632s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-978.323s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-434.067s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-201.356s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-2469.086s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-11354.801s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-226.934s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-2477.624s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration but could be safely merged (-7330.767s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:01 [WARNING]: Gap was of negative duration and could NOT be safely merged (-189.008s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration but could be safely merged (-5733.185s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration but could be safely merged (-1978.925s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration but could be safely merged (-193.11s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration and could NOT be safely merged (-257.211s). This warning will only show once per batch. (aw_transform.flood:56)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration but could be safely merged (-303.52s). This message will only show once per batch. (aw_transform.flood:48)
2021-06-27 17:06:02 [WARNING]: Gap was of negative duration and could NOT be safely merged (-275.529s). This warning will only show once per batch. (aw_transform.flood:56)
aw-afk log:
2021-06-27 15:29:46 [INFO ]: aw-watcher-afk started (aw_watcher_afk.afk:53)
2021-06-27 15:29:47 [WARNING]: 500 Server Error: Internal Privoxy Error for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-afk_laptop (aw_client.client:28)
2021-06-27 15:29:47 [WARNING]: Not connected to server, 1150 requests in queue (aw_client.client:380)
2021-06-27 15:29:58 [WARNING]: 500 Server Error: Internal Privoxy Error for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-afk_laptop (aw_client.client:28)
2021-06-27 15:29:58 [WARNING]: Not connected to server, 1151 requests in queue (aw_client.client:380)
...
aw-window log
2021-06-27 15:29:46 [INFO ]: aw-watcher-window started (aw_watcher_window.main:44)
2021-06-27 15:29:47 [WARNING]: 500 Server Error: Internal Privoxy Error for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-window_laptop (aw_client.client:28)
2021-06-27 15:29:47 [WARNING]: Not connected to server, 1882 requests in queue (aw_client.client:380)
2021-06-27 15:29:58 [WARNING]: 500 Server Error: Internal Privoxy Error for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-window_laptop (aw_client.client:28)
2021-06-27 15:29:58 [WARNING]: Not connected to server, 1885 requests in queue (aw_client.client:380)
By the way, in both firefox and Chrome, the url http://127.0.0.1:5600/api/0/buckets/aw-watcher-afk_laptop return the JSON data.
I manage to put activitywatch in allowlist of Avira with v0.10. But the above problem is still present. So it is not version-specific.