Public bug reported:
Ubuntu 13.10
screenlets-pack-all: 0.1.6-0ubuntu1
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 2079, in
expose
self.on_draw(ctx)
File
"/usr/share/screenlets/screenlets-pack-all/ClearWeather/ClearWeatherScreenlet.py",
line 400, in on_draw
icon = str(self.get_icon(int(weather[0]["icon"])))
ValueError: invalid literal for int() with base 10: ''
Changing Line 399 from
if weather[0]["icon"]=="-": weather[0]["icon"]="48"
to
if weather[0]["icon"]=="-" or weather[0]["icon"]=="":
weather[0]["icon"]="48"
fixes this issue.
** Affects: screenlets (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1273423
Title:
ClearWeather Screenlet showing empty Window
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/1273423/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs