Checking .xsession-errors, I found repeated instances of this:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/screenlets/__init__.py", line 1825, in 
expose
    self.on_draw(ctx)
  File 
"/home/joe/.screenlets/GraphicalSystemStats/GraphicalSystemStatsScreenlet.py", 
line 259, in on_draw
    load= int(info.replace("% used",""))
ValueError: invalid literal for int() with base 10: '/dev/sda6 used'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/screenlets/__init__.py", line 1825, in 
expose
    self.on_draw(ctx)
  File 
"/home/joe/.screenlets/GraphicalSystemStats/GraphicalSystemStatsScreenlet.py", 
line 259, in on_draw
    load= int(info.replace("% used",""))
ValueError: invalid literal for int() with base 10: '/dev/sda6 used'

Looking in the source code, I found that show_diskusage was hard coded
to True.  I commented the line out and replaced it with a new one hard
coding it to False.  After saving and restarting, the screenlet works.
(Not a big problem, as the disk usage doesn't change that much.)  I
don't know why the line started causing this problem, but wanted to
amplify my report with this work around.

-- 
GraphicalSystemStats gone black and won't come back
https://bugs.launchpad.net/bugs/511360
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.

_______________________________________________
Mailing list: https://launchpad.net/~screenlets-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~screenlets-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to