WidescapeWeatherScreenlet crash on KeyError: 'Arri\xc3\xa8re-planSmall.png'

Bug #701204 reported by Julien Lavergne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Individual Screenlets
Fix Released
Medium
Unassigned

Bug Description

WidescapeWeatherScreenlet crash on startup.
Ubuntu natty
Screenlets version : 0.1.3~bzr592+20110109213652~natty1
Screenlets-pack-all: 0.0.1~bzr738+20110109231342~natty1

REGISTER screenlet: WidescapeWeatherScreenlet
True
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1934, in expose
    self.on_draw(ctx)
  File "/usr/share/screenlets/screenlets-pack-all/WidescapeWeather/WidescapeWeatherScreenlet.py", line 201, in on_draw
    self.draw_background(ctx, maincellx, maincellwidth, self.showForecast)
  File "/usr/share/screenlets/screenlets-pack-all/WidescapeWeather/WidescapeWeatherScreenlet.py", line 275, in draw_background
    self.draw_scaled_colorized_pixmap(ctx,_('Background')+p+'.png', x+1, 0, w-x-1, 33, self.bgColor)
  File "/usr/share/screenlets/screenlets-pack-all/WidescapeWeather/WidescapeWeatherScreenlet.py", line 307, in draw_scaled_colorized_pixmap
    iw = float(self.theme[pixmap].get_width())
KeyError: 'Arri\xc3\xa8re-planSmall.png'

Märt Põder (boamaod)
Changed in indiv-screenlets:
status: New → Fix Committed
Papp Bence (sclegnrbs)
Changed in indiv-screenlets:
importance: Undecided → Medium
Märt Põder (boamaod)
Changed in indiv-screenlets:
status: Fix Committed → Fix Released
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.