會出現error
[Error Msg]
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 51, in create_sensor
module = __import__(name)
File "./StarterBar/__init__.py", line 2, in ?
from IconSet import IconSet
File "./StarterBar/IconSet.py", line 1, in ?
from Icon import Icon
File "./StarterBar/Icon.py", line 1, in ?
from xdg.DesktopEntry import DesktopEntry
ImportError: No module named xdg.DesktopEntry
No module named xdg.DesktopEntry
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
'module' object has no attribute 'new_sensor'
Could not load sensor StarterBar
closing 10849856202600117877990108
collected garbage: 14 uncollectable: 0
purging 10849856202600117877990108
[Error Msg]
重點應該是...
在"/usr/share/gdesklets/factory/SensorFactory.py", line 7
的AttributeError: 'module' object has no attribute 'new_sensor'
所以Could not load sensor StarterBar