Closed FelixRoy closed 1 month ago
Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏
Looks like you are using Wayland, see: https://github.com/ActivityWatch/activitywatch/issues/92
You should never run aw-qt
or any ActivityWatch binary with sudo. There's no need at all.
Hi there! Thanks for developping ActivityWatch, I hope I will be able to use it :)
[x] I am on the latest ActivityWatch version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
OS name and version: Ubuntu 24.04.1 LTS
ActivityWatch version: v0.13.2
Python version: 3.12.3 (not sure it matters, but when I tried to build from source I saw that python from 3.7 to 3.9 was needed)
Describe the bug
After installing following the installation guide, the server is loading and I can acces it at
localhost:5600
, but no data is being monitored, and the trayicon is not appearing.More precisely, when I run
./aw-qt
, I get the following errors (complete log files are in the Documentation section below):I already tried some fixes, which are detailed in the Failed fix attempts section below. Mainly: make executable, add to autostart and sudo.
To Reproduce
.zip
latest release../aw-qt
.Expected behavior
Install ActivityWatch, with the trayicon, and monitor data.
Documentation
Screenshots from activity and buckets panels
Log files
~/.cache/activitywatch/log/aw-qt/aw-qt_2024-10-14T14-33-10.log
~/.cache/activitywatch/log/aw-server/aw-server_2024-10-14T14-33-11.log
~/.cache/activitywatch/log/aw-watcher-afk/aw-watcher-afk_2024-10-14T14-33-10.log
~/.cache/activitywatch/log/aw-watcher-window/aw-watcher-window_2024-10-14T14-33-10.log
Failed fix attempts
Killing the process
I'm not sure this is a clean way to reinitialize the program, but when I get the errors and the server is still running, I kill the processes
aw-server
andaw-watcher-window
in order to try fixes.Adding to autostart
I tried following exactly the installation guide, by adding the
aw-qt
executable to my autostarts application using Ubuntu StartUp application. After restart, I end up with the same result: the server is loading and I can acces it atlocalhost:5600
, but the trayicon is not appearing, and no data is being monitored.Make executable
Given the two followinwarnings from
aw-qt_..._.log
:I made the two files executables with
chmod +x
and checked they were withll
I reattempted
./aw-qt
The change in
aw-server-rust/aw-server.service
has been detected, but not onaw-qt.desktop
.~/.cache/activitywatch/log/aw-qt/aw-qt_2024-10-15T09-13-50.log
The other logs still present the same content as the ones from the Documentation section.
Sudo
I tried
sudo ./aw-qt
. Then I get the following output and the server is not even loading.