No text weather details displayed
Bug #136253 reported by
Nate Walker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather wallpaper |
Fix Released
|
Low
|
Raúl González Duque |
Bug Description
There are currently no text details displayed on my screen. I've tried running weather-wallpaper in a terminal window and this is what it shows:
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 460, in __bootstrap
self.run()
File "/usr/bin/
report_str += _("Visibility: ") + str(int(
TypeError: int() argument must be a string or a number, not 'NoneType'
Changed in weather-wallpaper: | |
importance: | Undecided → Low |
Changed in weather-wallpaper: | |
assignee: | nobody → zootropo |
status: | In Progress → Fix Committed |
Changed in weather-wallpaper: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I had the same problem. It seems that the script expect the value to be a number but when it's text (such as Visibility: "None") it complains.
I worked around it by removing the "int()" in the lines that were causing trouble. For example, my visibility line reads: report_str += _("Visibility: ") + str(report. getVisibilityKi lometers( )) + "Km\n"
It's been working fine since then.
Hope it helps!