Forecast crash: ValueError: could not convert string to float: Unknown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
Fix Released
|
High
|
Vadim Rutkovsky | ||
indicator-weather (Ubuntu) |
Fix Released
|
Medium
|
Vadim Rutkovsky | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Neither for Google or Yahoo! Here the log:
[MainThread] 2011-11-04 10:25:44,412 - DEBUG - Indicator: updateWeather: updating weather for ['12577946', 'Wroc\xc5\x82aw']
[Cache] 2011-11-04 10:25:44,414 - DEBUG - Settings: getting cached weather for 12577946
[Fetcher] 2011-11-04 10:25:44,414 - DEBUG - Indicator: getWeather for location 'Wrocław, Województwo dolnośląskie, Polska'
[Fetcher] 2011-11-04 10:25:44,415 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2011-11-04 10:25:44,415 - DEBUG - Location: non default weather source 'Google' chosen for 'Wrocław'
[Cache] 2011-11-04 10:25:44,415 - DEBUG - Indicator: loading weather from cache for ['12577946', 'Wroc\xc5\x82aw']
[Cache] 2011-11-04 10:25:44,416 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Cache] 2011-11-04 10:25:44,416 - DEBUG - Indicator: menu_normal: adding first location menu item 'Wrocław'
[Cache] 2011-11-04 10:25:44,416 - DEBUG - Indicator: menu_normal: adding location menu item 'Kalisz'
[Cache] 2011-11-04 10:25:44,435 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2011-11-04 10:25:44,439 - DEBUG - Indicator: setting refresh label to 'Refreshing, please wait'
[Cache] 2011-11-04 10:25:44,440 - DEBUG - Indicator: update_label: setting label to '18 ˚C'
[Fetcher] 2011-11-04 10:25:44,620 - ERROR - Weather: could not get weather icon from report
[Fetcher] 2011-11-04 10:25:44,621 - ERROR - Weather: got data '{}'
[Fetcher] 2011-11-04 10:25:44,621 - ERROR - ExtendedForecast: unknown Google weather condition ''
[Fetcher] 2011-11-04 10:25:44,621 - DEBUG - Weather: current condition: '', '(False, False, False, 'Nieznane warunki pogodowe')'
[Fetcher] 2011-11-04 10:25:45,512 - DEBUG - Weather: got localtime 2011-11-04 10:35:49, dst 0, sunrise '06:50:29', sunset '16:19:00', night = False
[Fetcher] 2011-11-04 10:25:45,512 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2011-11-04 10:25:45,512 - DEBUG - Indicator: updateWeather: got condition 'Nieznane warunki pogodowe', icon 'weather-
[Fetcher] 2011-11-04 10:25:45,513 - DEBUG - Weather: day, show 'False' icon
[Fetcher] 2011-11-04 10:25:45,514 - ERROR - could not convert string to float: Unknown
[Fetcher] 2011-11-04 10:25:45,514 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
log.
File "/usr/bin/
_value = float(wind_speed) * 1.609344
ValueError: could not convert string to float: Unknown
[Fetcher] 2011-11-04 10:25:45,514 - DEBUG - Indicator: scheduling update in 15 mins
[MainThread] 2011-11-04 10:25:48,610 - DEBUG - Indicator: open Preferences
[MainThread] 2011-11-04 10:25:48,611 - DEBUG - Preferences: creating
[MainThread] 2011-11-04 10:25:48,617 - DEBUG - Preferences: finishing initialization
[MainThread] 2011-11-04 10:25:48,617 - DEBUG - Preferences: got settings: unit=S, notif=O, wind=kph, rate=15, source=Y
[MainThread] 2011-11-04 10:25:48,618 - DEBUG - Preferences: Loading places
[MainThread] 2011-11-04 10:25:48,618 - DEBUG - Preferences: Places: got (Wrocław, 12577946)
[MainThread] 2011-11-04 10:25:48,618 - DEBUG - Preferences: Places: got (Kalisz, 498173)
[MainThread] 2011-11-04 10:25:56,853 - DEBUG - Preferences: Cancelling
[MainThread] 2011-11-04 10:26:28,102 - DEBUG - Indicator: setting refresh label to 'Odśwież (2 min. temu)'
[MainThread] 2011-11-04 10:26:28,103 - DEBUG - Indicator: scheduling refresh label update in 1 min
Related branches
- Andrew Starr-Bochicchio: Pending requested
-
Diff: 14 lines (+1/-3)1 file modifiedbin/indicator-weather (+1/-3)
Changed in weather-indicator: | |
status: | New → Confirmed |
summary: |
- Can't get weather for Wrocław (Dolnośląskie, Poland) + Forecast crash: ValueError: could not convert string to float: Unknown |
Changed in weather-indicator: | |
assignee: | nobody → Vadim Rutkovsky (roignac) |
importance: | Undecided → High |
milestone: | none → cloudy-9 |
status: | Confirmed → Triaged |
Changed in weather-indicator: | |
status: | Fix Committed → Fix Released |
Changed in weather-indicator: | |
status: | Fix Released → Fix Committed |
Changed in weather-indicator: | |
status: | Fix Committed → Fix Released |
Changed in indicator-weather (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Status changed to 'Confirmed' because the bug affects multiple users.