← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 701204] Re: WidescapeWeatherScreenlet crash on KeyError: 'Arri\xc3\xa8re-planSmall.png'

 

** 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/701204

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

Status in Screenlets — individual widgets development:
  Fix Released

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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/701204/+subscriptions