Indicator always shows a crossed red circle

Bug #1506475 reported by Evgeny Makarov
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Undecided
Unassigned

Bug Description

On my machine, the indicator is started in the Startup Applications. The indicator never works and only shows a crossed red circle. The menu shows no information ("Location", "Temperature", "Pressure" and so on). This behavior started probably a month ago.

When I start the indicator from the terminal and select "Forecast", it crashes and prints

Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 730, in menu_forecast_response
    fc = FC(self.location,self.ws,self.weather1)
AttributeError: 'MWI' object has no attribute 'weather1'

When I select "Evolution", it crashes with

Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 718, in menu_evolution_response
    for data in self.weatherservice1.get_hourly_weather():
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 124, in get_hourly_weather
    parsed_json = json.loads(json_string.decode())
AttributeError: 'NoneType' object has no attribute 'decode'

Please let me know what other information I can provide.

Revision history for this message
nick touran (7hgg) wrote :

Same here. I typed the URL it's using into my browser and got this message:

`Invalid API key. Please see http://openweathermap.org/faq#error401 for more info.`

That's probably leading to this error. But why is the openweathermap API key invalid?

If I switch Weather provider in preferences to Yahoo, it starts working again.

Revision history for this message
Tom Teodosijev (s0-adm) wrote :

I have got same problem on all my desktops (4 pcs. of ubuntu 14.04.3) since 29.9.2015. Propably some bad update?

Revision history for this message
Tom Teodosijev (s0-adm) wrote :

Screenshot

Revision history for this message
Random Jedi (monkey-spambox) wrote :

I had this same problem, but just fixed it without changing weather services.

I uninstalled the app with:
sudo apt-get remove my-weather-indicator
sudo apt-get purge my-weather-indicator

..and then reinstalled it with the PPA source, using the instructions found here: http://www.omgubuntu.co.uk/2014/10/install-weather-indicator-ubuntu-14-10

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update && sudo apt-get install my-weather-indicator

Once I did, I opened it up in the launcher as usual and it started working again. :)

Ubuntu 15.04

Revision history for this message
Jan Greeff (jan-verslank) wrote :

I have run through these instructions a few times, same result: I end up with a red crossed circle. I am running Ubuntu 14.04. Any further suggestions will be welcomed.
II see that there are three options in the index of /atareao/atareao/ubuntu/pool/main/m/my-weather-indicator - I have tried two of these, perhaps the third one (the smaller version) is the right one?

Revision history for this message
Jan Greeff (jan-verslank) wrote :

I have tried the Debian option once more, as this seems to be the right one to use, but no success.

Changed in my-weather-indicator:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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