weather applet don't launch

Bug #1217088 reported by Miguel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Critical
Lorenzo Carbonell

Bug Description

Hi, This is the error I'm receiving from terminal using /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator:
<gettext.GNUTranslations object at 0x7f4691700410>
#####################################################
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Version: x86_64
#####################################################

My-Weather-Indicator version: 0.6.5
#####################################################
/home/miguel/.config/my-weather-indicator/my-weather-indicator.conf True
http://api.openweathermap.org/data/2.5/find?lat=0.0&lon=0.0&cnt=1
2294915
Requesting timezone
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
    mwi=MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 135, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 362, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 192, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 470, in set_menu
    weather = self.weatherservice1.get_weather()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 161, in get_weather
    weather_data = self.get_default_values()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/weatherservice.py", line 600, in get_default_values
    self.rawOffset = geocodeapi.get_rawOffset(self.latitude,self.longitude)
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 110, in get_rawOffset
    timezone = pytz.timezone(json_response['timezoneId']);
KeyError: 'timezoneId'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 125, in apport_excepthook
    crash_counter = get_recent_crashes(f) + 1
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 247, in get_recent_crashes
    pr.load(report, False)
  File "/usr/lib/python3/dist-packages/problem_report.py", line 174, in load
    (key, value) = line.split(b':', 1)
ValueError: need more than 1 value to unpack

Original exception was:
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
    mwi=MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 135, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 362, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 192, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 470, in set_menu
    weather = self.weatherservice1.get_weather()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 161, in get_weather
    weather_data = self.get_default_values()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/weatherservice.py", line 600, in get_default_values
    self.rawOffset = geocodeapi.get_rawOffset(self.latitude,self.longitude)
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 110, in get_rawOffset
    timezone = pytz.timezone(json_response['timezoneId']);
KeyError: 'timezoneId'

Changed in my-weather-indicator:
assignee: nobody → Saikrishna Arcot (saiarcot895)
assignee: Saikrishna Arcot (saiarcot895) → nobody
Changed in my-weather-indicator:
assignee: nobody → Lorenzo Carbonell (lorenzo-carbonell)
importance: Undecided → Critical
status: New → Incomplete
status: Incomplete → Fix Released
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.