WorldclockScreenlet does not start

Bug #313203 reported by Ketil Wendelbo Aanensen
2
Affects Status Importance Assigned to Milestone
Universal Applets
Fix Committed
Undecided
Unassigned

Bug Description

After resolving the dateutil issue, Worldclock is still not started on Intrepid, giving the following output:

$ python /usr/share/screenlets/WorldClock/WorldClockScreenlet.py
/usr/share/screenlets/WorldClock/WorldClockScreenlet.py:283: GtkWarning: gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed
  int(self.width * self.scale), int(self.height * self.scale), -1)
Traceback (most recent call last):
  File "/usr/share/screenlets/WorldClock/WorldClockScreenlet.py", line 557, in <module>
    screenlets.session.create_session(WorldClockScreenlet)
  File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 350, in create_session
    session.start()
  File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 196, in start
    sl = self.create_instance()
  File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 114, in create_instance
    sl = self.screenlet(id=id, session=self, enable_saving=False, **keyword_args)
  File "/usr/share/screenlets/WorldClock/WorldClockScreenlet.py", line 166, in __init__
    self.theme_name = "default"
  File "/usr/share/screenlets/WorldClock/WorldClockScreenlet.py", line 245, in __setattr__
    super(WorldClockScreenlet, self).__setattr__(name, value)
  File "/usr/lib/python2.5/site-packages/screenlets/screenlet.py", line 207, in __setattr__
    self.load_theme(path)
  File "/usr/lib/python2.5/site-packages/screenlets/screenlet.py", line 473, in load_theme
    self.on_load_theme()
  File "/usr/share/screenlets/WorldClock/WorldClockScreenlet.py", line 269, in on_load_theme
    self.init_buffers()
  File "/usr/share/screenlets/WorldClock/WorldClockScreenlet.py", line 283, in init_buffers
    int(self.width * self.scale), int(self.height * self.scale), -1)
RuntimeError: could not create GdkPixmap object

Julien Lavergne (gilir)
Changed in universal-applets:
status: New → Confirmed
Revision history for this message
Julien Lavergne (gilir) wrote :

Fix based on the clock screenlets.

Revision history for this message
Natan Yellin (aantny) wrote :

Thanks for the patch!

Fix committed in revision 168.

Changed in universal-applets:
status: Confirmed → Fix Committed
Revision history for this message
Ketil Wendelbo Aanensen (ketilwaa-deactivatedaccount) wrote :

Fix confimed. Thanks Natan!
Packages have already been uploaded successfully.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.