2e3s / awatcher

Activity and idle watchers
Mozilla Public License 2.0
146 stars 5 forks source link

Doesn't work #9

Closed hrqmonteiro closed 6 months ago

hrqmonteiro commented 11 months ago
motherbase% aw-qt
2023-12-18 23:57:10 [INFO ]: Started aw-qt...  (aw_qt.main:53)
2023-12-18 23:57:10 [WARNING]: Found matching file but was not executable: /opt/activitywatch/aw-qt.desktop  (aw_qt.manager:64)
2023-12-18 23:57:10 [WARNING]: Found matching file but was not executable: /opt/activitywatch/aw-server-rust/aw-server.service  (aw_qt.manager:64)
2023-12-18 23:57:10 [INFO ]: Found 7 bundled modules  (aw_qt.manager:85)
2023-12-18 23:57:10 [INFO ]: Found 1 system modules  (aw_qt.manager:119)
2023-12-18 23:57:10 [INFO ]: Starting module aw-awatcher  (aw_qt.manager:148)
2023-12-18 23:57:10 [INFO ]: Creating trayicon...  (aw_qt.trayicon:206)
aw-qt: symbol lookup error: /opt/activitywatch/libQt6WaylandClient.so.6: undefined symbol: wl_proxy_marshal_flags
motherbase% Error: Failed to create bucket aw-watcher-afk_motherbase

Caused by:
    0: error sending request for url (http://localhost:5600/api/0/buckets/aw-watcher-afk_motherbase): error trying to connect: tcp connect error: Connection refused (os error 111)
    1: error trying to connect: tcp connect error: Connection refused (os error 111)
    2: tcp connect error: Connection refused (os error 111)
    3: Connection refused (os error 111)
2e3s commented 11 months ago

Hello! aw-qt is the original distribution of ActivityWatch (repo). awatcher can work with it as its module (aw-awatcher binary), but I don't have enough information to understand your setup and what's wrong with it. Shortly, I suggest to use the bundled version from https://github.com/2e3s/awatcher/releases/tag/v0.2.4-alpha1 instead of the original ActivityWatch package, it should work ok. Or instructions at https://github.com/2e3s/awatcher/blob/main/README.md are quite eloquent. Or perhaps give more information about what you're trying to do under what circumstances.

OsoRojo commented 8 months ago

Can confirm that the bundle version "just works" on FC39 with Gnome 45 and Wayland (sans X11). MUCH easier than the stock AW package. Thanks so much for this!