← Back to team overview

desktop-packages team mailing list archive

[Bug 886028] Re: Forecast crash: ValueError: could not convert string to float: Unknown

 

oneiric has seen the end of its life and is no longer receiving any
updates. Marking the oneiric task for this ticket as "Won't Fix".

** Changed in: indicator-weather (Ubuntu Oneiric)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to indicator-weather in Ubuntu.
https://bugs.launchpad.net/bugs/886028

Title:
  Forecast crash: ValueError: could not convert string to float: Unknown

Status in Indicator-Weather:
  Fix Released
Status in indicator-weather package in Ubuntu:
  Fix Released
Status in indicator-weather source package in Oneiric:
  Won't Fix

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-few-clouds'
  [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/indicator-weather", line 1374, in get_new_weather_data
      log.debug("Indicator: fill in menu with params: city='%s', temp='%s', humid='%s', wind='%s', sunrise='%s', sunset='%s', puretemp=%s" % (self.places[self.placechosen][1], weather.get_temperature_label(), weather.get_humidity_label(), weather.get_wind_label(), weather.get_sunrise_label(), weather.get_sunset_label(), weather.get_temperature()))
    File "/usr/bin/indicator-weather", line 858, in get_wind_label
      _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

To manage notifications about this bug go to:
https://bugs.launchpad.net/weather-indicator/+bug/886028/+subscriptions