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
Steps to reproduce the behavior:
1. Install activitywatch on Archlinux through AUR, i.e. yay -S activitywatch.
2. some binaries are installed under /usr/bin, including aw-cli, aw-qt and aw-server
3. Run aw-cli and it fails, apparently the aw_cli library wasn't installed (it exists under the aw-core github repository).
4. Run aw-server and it fails because of ... wrong version of flask?
5. Run aw-qt. Since this automatically will start aw-server, the error from above is seen.
Errors:
$ aw-cli
Traceback (most recent call last):
File "/usr/bin/aw-cli", line 5, in <module>
from aw_cli.__main__ import main
ModuleNotFoundError: No module named 'aw_cli'
$ aw-server
Traceback (most recent call last):
File "/usr/bin/aw-server", line 5, in <module>
from aw_server import main
File "/usr/lib/python3.13/site-packages/aw_server/__init__.py", line 6, in <module>
from .main import main
File "/usr/lib/python3.13/site-packages/aw_server/main.py", line 9, in <module>
from .server import _start
File "/usr/lib/python3.13/site-packages/aw_server/server.py", line 19, in <module>
from .custom_static import get_custom_static_blueprint
File "/usr/lib/python3.13/site-packages/aw_server/custom_static.py", line 24, in <module>
from flask import (
...<4 lines>...
)
ImportError: cannot import name 'escape' from 'flask' (/usr/lib/python3.13/site-packages/flask/__init__.py)
The python-flask version installed is 3.1.0-2 - latest version from Archlinux repositories. This seems to be an Archlinux problem, as the pyproject.toml for the server specifices that flask 2 should be utilized.
The text was updated successfully, but these errors were encountered:
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! 🙏
Oh, the official doc does indeed link to the activitywatch-bin package rather than the activitywatch package. It could be useful with a hint about this in the doc nevertheless.
Describe the bug
Since the documentation at https://docs.activitywatch.net/en/latest/getting-started.html suggests installing through AUR, I take the chance on reporting this issue here rather than at the AUR pages.
To Reproduce
Steps to reproduce the behavior:
1. Install activitywatch on Archlinux through AUR, i.e.
yay -S activitywatch
.2. some binaries are installed under
/usr/bin
, includingaw-cli
,aw-qt
andaw-server
3. Run
aw-cli
and it fails, apparently theaw_cli
library wasn't installed (it exists under the aw-core github repository).4. Run
aw-server
and it fails because of ... wrong version of flask?5. Run
aw-qt
. Since this automatically will startaw-server
, the error from above is seen.Errors:
The python-flask version installed is 3.1.0-2 - latest version from Archlinux repositories. This seems to be an Archlinux problem, as the
pyproject.toml
for the server specifices that flask 2 should be utilized.The text was updated successfully, but these errors were encountered: