You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: Logger works fine but I could never get the watcher to work until today. Turns out the file ./aw-watcher-mpv needed execute permissions. Not sure if this is just a quirk of Debian or whether edits to the watcher during the last release reverted the file permissions.
Interesting, thanks! Indeed, when I unpack the artifact zips of the latest release, the executable ends up without an x permission. It seems to be the case in the old releases, too, so I don't think it's a regression.
When I do the build process on my computer, the executable pyinstaller writes has the execute permission, and it's preserved when archiving. So I guess it's some weirdness in the CI build specifically (e.g. perhaps upload-artifact@v3 nukes the file permissions when making the archive). I'll see if I can fix that somehow.
TL;DR: Logger works fine but I could never get the watcher to work until today. Turns out the file ./aw-watcher-mpv needed execute permissions. Not sure if this is just a quirk of Debian or whether edits to the watcher during the last release reverted the file permissions.
Successful logger:
aw-watcher-mpv install location
Confirming same location as activitywatch:
Original unzipped file just to show the default permissions after d/l
Adjustments that I made which resolved my issue
chmod 744 /home/cameronj86/.local/bin/activitywatch/aw-watcher-mpv/aw-watcher-mpv
The text was updated successfully, but these errors were encountered: