-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module aw-server quit unexpectedly - No log file found #916
Comments
Hi there! |
Installing ActivityWatch v0.12.3b3 seems to have fixed this issue. |
Here is ActivityWatch v0.12.3b4, windows x86_64, also |
What's the output if you run |
PowerShell 7.3.5
PS C:\Users\AuroraTea\AppData\Local\Programs\ActivityWatch> .\aw-server\aw-server.exe
Traceback (most recent call last):
File "__main__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "aw_server\__init__.py", line 6, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "aw_server\main.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "aw_server\server.py", line 17, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "aw_server\rest.py", line 18, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "flask_restx\__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "flask_restx\reqparse.py", line 15, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "flask_restx\model.py", line 13, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "jsonschema\__init__.py", line 17, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "jsonschema\validators.py", line 19, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "jsonschema_specifications\__init__.py", line 11, in <module>
File "referencing\_core.py", line 297, in __rmatmul__
File "jsonschema_specifications\_core.py", line 27, in _schemas
File "pathlib.py", line 1160, in iterdir
FileNotFoundError: [WinError 3] The system cannot find the specified path: 'C:\\Users\\AuroraTea\\AppData\\Local\\Programs\\ActivityWatch\\aw-server\\jsonschema_specifications\\schemas'
[25436] Failed to execute script '__main__' due to unhandled exception! |
That's very helpful and gives me a good clue. Thanks! |
Looks like this is handled upstream here: pyinstaller/pyinstaller-hooks-contrib@0f40dc6 We just need to wait for a new version of |
OS name and version: Microsoft Windows 10 Pro, 10.0.19044 Build 19044
ActivityWatch version: v0.12.3b4
Describe the bug
aw-server quits every time ActivityWatch is opened.
To Reproduce
Steps to reproduce the behavior:
1. Install ActivityWatch
2. Open ActivityWatch
Expected behavior
aw-server starts. No error message to be shown.
Documentation
Screenshot:
Logs:
aw-qt, aw-watcher-afk, aw-watcher-window, all of there contains logs except aw-server folder. The aw-server folder is empty.
aw-qt_2023-07-08T08-53-14.log
aw-watcher-afk_2023-07-08T08-53-15.log
aw-watcher-window_2023-07-08T08-53-15.log
Additional context
Tried uninstalling, restarting PC, then reinstalling ActivityWatch. Same result.
The text was updated successfully, but these errors were encountered: