PDA

View Full Version : clock screenlet fails to start


ashdezign
August 21st, 2007, 10:32 AM
Clock screenlet seems to be searching for themes that were installed with an older version of screenlets but no longer available in the newest version

when i run in terminal i get the following output:
$ '/usr/local/share/screenlets/Clock/ClockScreenlet.py'
CachingBackend: Loading instances from cache
CachingBackend: Loading <Clock1>
Found a running session of Clock, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Clock was not provided by any .service files
Loading instances in: /home/ashley/.config/Screenlets/Clock/default/
File: Clock1.ini
Creating new instance:
UPDATING SHAPE
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: RYX's railway-station clock
Author: RYX (aka Rico Pfaus)
Version: 1.0
Info: A typical railway-station look-alike
UPDATING SHAPE
Set options in ClockScreenlet
Traceback (most recent call last):
File "/usr/local/share/screenlets/Clock/ClockScreenlet.py", line 448, in <module>
screenlets.session.create_session(ClockScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 392, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 177, in start
if self.__load_instances():
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 319, in __load_instances
self.__restore_options_from_backend(sl, self.path+filename)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 345, in __restore_options_from_backend
setattr(screenlet, opt.name, opt.on_import(opts[o]))
File "/usr/local/share/screenlets/Clock/ClockScreenlet.py", line 198, in __setattr__
super(ClockScreenlet, self).__setattr__(name, value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 521, in __setattr__
self.load_theme(self.get_theme_dir() + value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 772, in load_theme
self.theme = ScreenletTheme(path)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 126, in __init__
raise Exception("Error while loading ScreenletTheme in: " + path)
Exception: Error while loading ScreenletTheme in: /usr/local/share/screenlets/Clock/themes/Titan-More-Blue


Any help would be appreciated

Thanks!

Forlong
August 21st, 2007, 10:51 AM
You have two options:

You either delete the config of your ClockScreenlet (which will let you configure it all over again): go to ~/.config/Screenlets (that's a hidden directory in your home-folder) and delete everything related to the Clock Screenlet.

Or you download the missing themes from here: http://forum.compiz-fusion.org/showthread.php?t=3438
And put them in the themes-folder in /usr/local/share/screenlets/Clock (you'll need to be root for that).

ashdezign
August 21st, 2007, 10:58 AM
Thanks! Worked a treat.