← Back to team overview

weather-indicator-team team mailing list archive

[Bug 597922] Re: Weather Indicator crashes after I submit my address, but works fine next time I run it

 

** Changed in: weather-indicator
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Weather
Indicator Team, which is the registrant for Weather Indicator.
https://bugs.launchpad.net/bugs/597922

Title:
  Weather Indicator crashes after I submit my address, but works fine
  next time I run it

Status in Indicator-Weather:
  Fix Released

Bug description:
  I'm using lubuntu 10.04.

  When running Weather Indicator for the first time, I enter my address,
  submit it, and WI exits with this error:

  """
  mac9416@lizzy:~$ weather_indicator.py 
  Traceback (most recent call last):
    File "/usr/bin/weather_indicator.py", line 245, in <module>
      indicator = weather_indicator()
    File "/usr/bin/weather_indicator.py", line 44, in __init__
      self.firsty()
    File "/usr/bin/weather_indicator.py", line 176, in firsty
      self.getText()
    File "/usr/bin/weather_indicator.py", line 204, in getText
      self.update_weather()
    File "/usr/bin/weather_indicator.py", line 107, in update_weather
      current = self.get_weather(self.place)
  AttributeError: weather_indicator instance has no attribute 'place'
  """

  When I run it again, WI remembers my address and runs fine.