Closed Sbte closed 13 years ago
You are using linux, right? I only tested this on windows, the xlib method is just ported from emesene1, wrapped like the windows method but not tested. I'll try to fix it when I get some time.
Fixed? I'm still getting this very same error on linux.
sudo apt-get install python-xlib
[hit@sahver ~]$ pacman -Qs python-xlib local/python-xlib 0.15rc1-4 A fully functional X client library for Python programs
Then, if you just downloaded the new plugin, and removed the old stuff, it should be fixed.
Alright, needed to "rm *.pyc" as well..
Yeah, it was importing Xlib from the Xlib module, so it tried to import itself. And pyc files are compiled python files, and if they are found when there is no py file, python will just use those.
So it's working now?
Just tried and seems to work. Thanks for fixing it!
I was actually waiting for someone else to fix it, but wanted to use it myself too. So I'm happy too :P
Traceback (most recent call last): File "/home/sven/.config/emesene2/plugins/idle_status/plugin.py", line 65, in idle_state idleTime = self.timer.get_idle_duration() AttributeError: 'NoneType' object has no attribute 'get_idle_duration' Traceback (most recent call last): File "/home/sven/.config/emesene2/plugins/idle_status/plugin.py", line 65, in idle_state idleTime = self.timer.get_idle_duration() AttributeError: 'NoneType' object has no attribute 'get_idle_duration'