weather-indicator when using forecast crash ExpatError in parseString

Bug #1042171 reported by asgard2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-weather (Ubuntu)
New
Undecided
Unassigned

Bug Description

weather-indicator crash if I use forecast

 [Fetcher] 2012-08-27 12:14:07,689 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
 [Fetcher] 2012-08-27 12:14:07,691 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
 [MainThread] 2012-08-27 12:14:14,254 - DEBUG - Indicator: open Forecast
 [MainThread] 2012-08-27 12:14:14,254 - DEBUG - ExtendedForecast: creating
 [MainThread] 2012-08-27 12:14:14,264 - DEBUG - ExtendedForecast: finishing initialization
 [MainThread] 2012-08-27 12:14:14,264 - DEBUG - ExtendedForecast: chosen place: **** (code ****)
 [MainThread] 2012-08-27 12:14:14,265 - DEBUG - ExtendedForecast: getting forecast data
 [MainThread] 2012-08-27 12:14:19,681 - DEBUG - Indicator: updateWeather: updating weather for ['****', 'L\xc3\xb6hne']
 [Cache] 2012-08-27 12:14:19,682 - DEBUG - Settings: getting cached weather for ****
 [Cache] 2012-08-27 12:14:19,684 - DEBUG - Indicator: loading weather from cache for ['****', 'L\xc3\xb6hne']
 [Cache] 2012-08-27 12:14:19,685 - DEBUG - Indicator: menu_normal: filling in a menu for found places
 [Fetcher] 2012-08-27 12:14:19,685 - DEBUG - Indicator: getWeather for location '****, ****, Deutschland'
 [Fetcher] 2012-08-27 12:14:19,687 - DEBUG - Indicator: getWeather: updating weather report
 [Fetcher] 2012-08-27 12:14:19,687 - DEBUG - Location: default weather source 'Google' chosen for '****'
 [Cache] 2012-08-27 12:14:19,689 - DEBUG - Indicator: menu_normal: adding first location menu item '****'
 [Cache] 2012-08-27 12:14:19,690 - DEBUG - Indicator: menu_normal: adding location menu item '****'
 [Cache] 2012-08-27 12:14:19,691 - DEBUG - Indicator: menu_normal: adding location menu item '****'
 [Cache] 2012-08-27 12:14:19,692 - DEBUG - Indicator: menu_normal: adding location menu item '****'
 [Cache] 2012-08-27 12:14:19,711 - DEBUG - Indicator: update_label: setting label to ' '
 [Cache] 2012-08-27 12:14:19,727 - DEBUG - Indicator: update_label: setting label to '16 ˚C'
 [Fetcher] 2012-08-27 12:14:19,778 - ERROR - syntax error: line 1, column 0
 [Fetcher] 2012-08-27 12:14:19,779 - DEBUG - Traceback (most recent call last):
   File "/usr/bin/indicator-weather", line 1368, in get_new_weather_data
     weather = self.get_weather()
   File "/usr/bin/indicator-weather", line 1453, in get_weather
     self.current_location.update_weather_data(self.weather_source)
   File "/usr/bin/indicator-weather", line 446, in update_weather_data
     self.location_details['longitude'])
   File "/usr/bin/indicator-weather", line 643, in __init__
     self.__report = pywapi.get_weather_from_google (location_id, hl = 'en')
   File "/usr/lib/pymodules/python2.7/pywapi.py", line 64, in get_weather_from_google
     dom = minidom.parseString(xml_response)
   File "/usr/lib/python2.7/xml/dom/minidom.py", line 1930, in parseString
     return expatbuilder.parseString(string)
   File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
     return builder.parseString(string)
   File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
     parser.Parse(string, True)
 ExpatError: syntax error: line 1, column 0

asgard2 (kamp000x)
summary: - weather-indicator when using forecast cash ExpatError in parseString
+ weather-indicator when using forecast crash ExpatError in parseString
description: updated
description: updated
Revision history for this message
asgard2 (kamp000x) wrote :

Weather app is not crashing anymore but forecast ist not working.
Now, I have the same problem, reported in bug 1042171.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.