indiv-screenlets-dev team mailing list archive
-
indiv-screenlets-dev team
-
Mailing list archive
-
Message #00201
[Bug 700102] Re: [SmoothWeather] Exception: Invalid XML in metadata-file (or file missing): "SmoothWeatherScreenlet.p/SmoothWeatherScreenlet.xml"
** Changed in: indiv-screenlets
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/700102
Title:
[SmoothWeather] Exception: Invalid XML in metadata-file (or file
missing): "SmoothWeatherScreenlet.p/SmoothWeatherScreenlet.xml"
Status in Screenlets — individual widgets development:
Fix Released
Bug description:
benny@benny-ML6227Q:~/screenlets/indiv-screenlets/src/SmoothWeather$ python SmoothWeatherScreenlet.py
/home/benny/.gtkrc-2.0:3: A kép nem található a következő pixmap_path útvonalon: „/.purple/backgrounds/degradado.png”
CachingBackend: Loading instances from cache
CachingBackend: Loading <SmoothWeather1>
theme_name='default'
ZIP='53701'
is_sticky='True'
y='110'
keep_above='False'
lock_position='False'
is_dragged='False'
keep_below='True'
draw_buttons='True'
x='658'
skip_taskbar='True'
use_metric='True'
Found a running session of SmoothWeather, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.SmoothWeather was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.benny.running
Loading instances in: /home/benny/.config/Screenlets/SmoothWeather/default/
Loaded config from: SmoothWeather1.ini
Theme set to: 'default'
theme.conf found! Loading option-overrides.
Loaded theme config from: /usr/share/screenlets/screenlets-pack-all/SmoothWeather/themes/default/theme.conf
Name: Shiny Green
Author: Casey Trader (aka Swiftfeet)
Version: 1.0
Info: A green theme that uses the shiny icon set
SmoothWeatherScreenlet.py:410: DeprecationWarning: use copy pango.FontDescription.set_family instead
p_fdesc.set_family_static("Sans")
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
SmoothWeatherScreenlet.py
SmoothWeatherScreenlet.p
Traceback (most recent call last):
File "SmoothWeatherScreenlet.py", line 735, in <module>
screenlets.session.create_session(SmoothWeatherScreenlet)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 471, in create_session
session.start()
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 236, in start
if self.__load_instances():
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 390, in __load_instances
sl = self.create_instance(id=filename[:-4], enable_saving=False)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 142, in create_instance
sl = self.screenlet(id=id, session=self, **keyword_args)
File "SmoothWeatherScreenlet.py", line 98, in __init__
self.init_options_from_metadata()
File "SmoothWeatherScreenlet.py", line 105, in init_options_from_metadata
self.add_options_from_file( mypath + '/' + self.__class__.__name__ + '.xml')
File "/usr/lib/pymodules/python2.6/screenlets/options.py", line 465, in add_options_from_file
raise Exception('Invalid XML in metadata-file (or file missing): "%s".' % filename)
Exception: Invalid XML in metadata-file (or file missing): "SmoothWeatherScreenlet.p/SmoothWeatherScreenlet.xml".
Ubuntu 10.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/700102/+subscriptions