aw-qt not starting : got an ImportError out of nowhere!
See original GitHub issueI was happily living my life using activity watch. yesterday I found out that activity watch is not running so I checked my startup applications and copied the code that I’d added there long time ago to see the problem:
as I pasted this to terminal:
/usr/bin/activitywatch/activitywatch/aw-qt
this error showed up:
Traceback (most recent call last):
File "aw_qt/__main__.py", line 1, in <module>
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "aw_qt/__init__.py", line 3, in <module>
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "aw_qt/main.py", line 9, in <module>
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "aw_qt/trayicon.py", line 9, in <module>
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 714, in load_module
ImportError: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1: undefined symbol: drmGetDevices2
[24271] Failed to execute script __main__
and since then I have not been able to work things around, and I just loosed all of my logs. please help. 😄
os : ubuntu 16.04
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
cannot import name '_unicodefun' from 'click') · Issue #2964 ...
Incompatible with click 8.1.0 (ImportError: cannot import name ... the likelihood that non-ASCII characters are going to be used in file ...
Read more >What can I do about "ImportError: Cannot import name X ...
In my case, I was working in a Jupyter notebook and this was happening due the import ... You will get Import Error:...
Read more >Premiere Pro 2020 File Import Error 'Not Responding' FIX!
Errors importing video? Camera footage or OBS Studio may cause problems with Premiere Pro. In my case, it's an OBS game recording. I...
Read more >Fix JavaFX Import Error in Eclipse - YouTube
How to Set Up JavaFX to work in Eclipse | Newest 2020 version | JavaFX Beginner Tutorial · JavaFX install & setup (Eclipse)...
Read more >ModuleNotFoundError: No module named x
Now Python interpreter is going to follow the next steps in an attempt to resolve a . ... from . import aImportError: cannot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Found some other projects having a very similar issue and setup:
Apparently, a workaround is to remove or rename
libdrm.so.2from the folder where the executable is located. Since libdrm should be available on all systems anyway we might want to remove them from the builds entirely.My best guess is that the previous instance of aw-server is still running. If you can still access the web UI, that is definitely the case.
Kill the process manually (using the terminal or a process manager) and try again.
Sorry for the problems, and thanks for helping us learn about these issues 😃