my-weather-indicator does not launch (neither in top panel nor on demand)

Bug #1912239 reported by Olaf Hellwich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
my-weather-indicator
New
Undecided
Unassigned

Bug Description

/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations object at 0x7f5d983e63c8>
#####################################################
System: Linux
Machine: x86_64
Node: hellwich-Alienware-13-R3
Release: 4.15.0-132-generic
Version: #136~16.04.1-Ubuntu SMP Tue Jan 12 18:22:20 UTC 2021
Platform: Linux-4.15.0-132-generic-x86_64-with-Ubuntu-16.04-xenial
My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################

My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################
****** Requesting timezone identificacion
** OWM **
2870310 13.3269 52.5152
1
***** refreshing weather *****
OK. Internet connection. HTTPConnection: www.google.com
--- Updating data in location 0 ---
****** Updating weather
****** Calculating rawOffset
-------------------------------------------------------
OpenWeatherMap Weather Service url:http://api.openweathermap.org/data/2.5/weather?id=2870310&appid=4516154e5c8a6494e7e13b550408c863
-------------------------------------------------------
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 36, in <module>
    main()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 956, in main
    MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 126, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 352, in load_preferences
    self.update_weather()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 141, in update_weather
    self.update_menu(i)
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 669, in update_menu
    weather = self.weatherservices[index].get_weather()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 263, in get_weather
    condition = CONDITION[data['weather'][0]['id']]
KeyError: 616

Revision history for this message
Kris Johnson (krisj) wrote :

This is due to an unsupported weather condition. See the "solution" for this same issue at bug #1908782 - https://bugs.launchpad.net/my-weather-indicator/+bug/1908782/comments/3

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.