Weather indicator not working can't re-install can't uninstall old version
Weather indicator not refreshing, forecast gives unknown error, Tried to re-install no success. Guidance in uninstalling and re- installing or a fix would be helpful. Has indicated -5 degrees, partly cloudy for Selkirk for two months now.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
For diagnostic purposes please provide the output of the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
dpkg -l | grep weather
Revision history for this message
![]() |
#2 |
Get weather information for your town with My-Weather-
My-Weather-
Version: 0.8.1-0extras16
Architecture: all
Maintainer: Lorenzo Carbonell Cerezo <email address hidden>
Installed-Size: 15957
Depends: gir1.2-gtk-3.0, gir1.2-glib-2.0, gir1.2-
Section: utils
Priority: extra
Homepage: http://
Description: Get weather information for your town with My-Weather-
My-Weather-
you will be informed of current weather and the weather forecast.
Integrated with the Ubuntu desktop via an indicator. With local maps,
showing the conditions in nearby towns. The weather forecast for the
next few days in your city. You can have up to two indicators for two
cities, and choose the best weather service information that you provide.
You select customizable widgets to make your desktop more personalized.
Revision history for this message
![]() |
#3 |
What is the output of:
find $HOME | grep -i weather
Thanks
Revision history for this message
![]() |
#4 |
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
/home/fitzpatri
find: `/home/
fitzpatrick@
Revision history for this message
![]() |
#5 |
As already requested:
For diagnostic purposes please provide the output of the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
dpkg -l | grep weather
Revision history for this message
![]() |
#6 |
Where do I find that in the terminal window?
I attempted to follow that command but got no result
Revision history for this message
![]() |
#7 |
Just open a terminal window (e.g. by simultaneously pressing ctrl-alt-t) and type or copy/paste the given commands.
When done, use the terminal window's menu entries "edit - select all" and "edit - copy" and paste everything into this question document.
Revision history for this message
![]() |
#8 |
Linux fitzpatrick-PC 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
fitzpatrick@
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
fitzpatrick@
Revision history for this message
![]() |
#9 |
The command
dpkg -l | grep weather
does not produce any output?
What output do you get if you start the command
/usr/bin/
in a terminal window?
It seems that there is no version of weather-indicator for Ubuntu trusty, and the one you that you have installed is from an earlier Ubuntu release, and has been preserved across a release upgrade.
Revision history for this message
![]() |
#10 |
is there a fix? It has been stuck for two months. How can I remove it/
Revision history for this message
![]() |
#11 |
Please provide the output as asked above.
dpkg -l | grep weather
What output do you get if you start the command
/usr/bin/
in a terminal window?
Revision history for this message
![]() |
#12 |
fitzpatrick@
/usr/lib/
import gobject._gobject
Revision history for this message
![]() |
#13 |
fitzpatrick@
/usr/lib/
import gobject._gobject
/usr/bin/
gobject.
/usr/bin/
gobject.
/usr/bin/
gobject.
/usr/bin/
gobject.
/usr/bin/
gobject.
/usr/bin/
gobject.
/usr/bin/
Revision history for this message
![]() |
#14 |
The messages shown are just warnings and should not hinder the weather indicator from running.
What is the output of
dpkg -l | grep weather
apt-cache policy indicator-weather
cat /home/fitzpatri
cat /home/fitzpatri
Revision history for this message
![]() |
#15 |
Cache] 2016-05-23 09:25:35,854 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:25:35,854 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:25:35,861 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:25:35,864 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:25:35,981 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:25:35,981 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:25:35,982 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:25:35,982 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:25:35,982 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:25:35,983 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:26:36,043 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:26:36,044 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:26:36,044 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:26:36,045 - DEBUG - Indicator: getWeather: updating weather report
[Cache] 2016-05-23 09:26:36,045 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:26:36,045 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:26:36,046 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Cache] 2016-05-23 09:26:36,052 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:26:36,055 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:26:36,170 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:26:36,170 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:26:36,170 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:26:36,171 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:26:36,171 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:26:36,171 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:27:36,232 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:27:36,232 - DEBUG - Settings: getting cached weather for 2593
[Cache] 2016-05-23 09:27:36,233 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:27:36,233 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:27:36,234 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:27:36,235 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:27:36,236 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:27:36,240 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:27:36,244 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:27:36,400 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:27:36,400 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:27:36,400 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:27:36,401 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:27:36,401 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:27:36,401 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:28:36,462 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:28:36,462 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:28:36,463 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:28:36,463 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:28:36,464 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:28:36,463 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:28:36,465 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:28:36,470 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:28:36,473 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:28:36,584 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:28:36,585 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:28:36,585 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:28:36,585 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:28:36,586 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:28:36,586 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:29:36,647 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:29:36,647 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:29:36,648 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:29:36,648 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:29:36,648 - DEBUG - Indicator: getWeather: updating weather report
[Cache] 2016-05-23 09:29:36,648 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:29:36,649 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:29:36,654 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:29:36,656 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:29:36,769 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:29:36,769 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:29:36,770 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:29:36,770 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:29:36,770 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:29:36,771 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:30:36,831 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:30:36,832 - DEBUG - Settings: getting cached weather for 2593
[Cache] 2016-05-23 09:30:36,832 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:30:36,832 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:30:36,833 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:30:36,834 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:30:36,834 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:30:36,839 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:30:36,842 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:30:36,959 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:30:36,960 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:30:36,960 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:30:36,960 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:30:36,960 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:30:36,961 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:31:37,022 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:31:37,022 - DEBUG - Settings: getting cached weather for 2593
[Cache] 2016-05-23 09:31:37,023 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:31:37,023 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:31:37,024 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:31:37,025 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:31:37,025 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:31:37,030 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:31:37,033 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:31:37,148 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:31:37,148 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:31:37,149 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:31:37,149 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:31:37,149 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:31:37,150 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:32:37,211 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:32:37,211 - DEBUG - Settings: getting cached weather for 2593
[Cache] 2016-05-23 09:32:37,212 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:32:37,212 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:32:37,213 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:32:37,213 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:32:37,213 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Cache] 2016-05-23 09:32:37,216 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:32:37,218 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:32:37,370 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:32:37,370 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:32:37,371 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:32:37,371 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:32:37,371 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:32:37,372 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:33:37,432 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:33:37,433 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:33:37,433 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:33:37,434 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:33:37,434 - DEBUG - Indicator: getWeather: updating weather report
[Cache] 2016-05-23 09:33:37,434 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:33:37,434 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:33:37,440 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:33:37,444 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:33:37,559 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:33:37,559 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:33:37,560 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:33:37,560 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:33:37,560 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:33:37,561 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:34:37,614 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:34:37,615 - DEBUG - Settings: getting cached weather for 2593
[Cache] 2016-05-23 09:34:37,615 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:34:37,616 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:34:37,616 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:34:37,616 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:34:37,617 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:34:37,622 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:34:37,625 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:34:37,737 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:34:37,737 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:34:37,738 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:34:37,738 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:34:37,738 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:34:37,738 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:35:37,799 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:35:37,800 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:35:37,800 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:35:37,801 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:35:37,801 - DEBUG - Indicator: getWeather: updating weather report
[Cache] 2016-05-23 09:35:37,801 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:35:37,801 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:35:37,808 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:35:37,811 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:35:37,942 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:35:37,942 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:35:37,943 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:35:37,943 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:35:37,943 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:35:37,944 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:36:38,004 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:36:38,005 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:36:38,005 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Cache] 2016-05-23 09:36:38,006 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Fetcher] 2016-05-23 09:36:38,006 - DEBUG - Indicator: getWeather: updating weather report
[Cache] 2016-05-23 09:36:38,006 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Fetcher] 2016-05-23 09:36:38,006 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:36:38,013 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:36:38,016 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:36:38,124 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:36:38,124 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:36:38,125 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:36:38,125 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:36:38,125 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:36:38,126 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2016-05-23 09:37:38,186 - DEBUG - Indicator: updateWeather: updating weather for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:37:38,187 - DEBUG - Settings: getting cached weather for 2593
[Fetcher] 2016-05-23 09:37:38,187 - DEBUG - Indicator: getWeather for location 'Selkirk, Manitoba, Canada'
[Fetcher] 2016-05-23 09:37:38,188 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2016-05-23 09:37:38,188 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Selkirk'
[Cache] 2016-05-23 09:37:38,189 - DEBUG - Indicator: loading weather from cache for ['2593', 'Selkirk']
[Cache] 2016-05-23 09:37:38,189 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[Cache] 2016-05-23 09:37:38,194 - DEBUG - Indicator: update_label: setting label to ' '
[Cache] 2016-05-23 09:37:38,197 - DEBUG - Indicator: update_label: setting label to '-5 ˚C'
[Fetcher] 2016-05-23 09:37:38,346 - ERROR - Weather: could not get Yahoo weather condition from report
[Fetcher] 2016-05-23 09:37:38,347 - ERROR - Weather: got data '{'error': 'Could not connect to Yahoo! Weather'}'
[Fetcher] 2016-05-23 09:37:38,347 - ERROR - local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:37:38,347 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
log.
UnboundLocalError: local variable 'icon_name' referenced before assignment
[Fetcher] 2016-05-23 09:37:38,348 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2016-05-23 09:37:38,348 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
fitzpatrick@
Revision history for this message
![]() |
#16 |
This is now the fifth time that I ask for the output of
dpkg -l | grep weather
Only if you provide that information, we can provide more help.
Revision history for this message
![]() |
#17 |
I have copied and pasted the command you provided into the terminal and have copied and pasted the result into this forum. please indicate what else I can do as right now I am at a loss as to how to obtain the output you requestedfitzpa
ii indicator-weather 11.11.28-0ubuntu1.3 all indicator that displays weather information
ii libgweather-3-0 3.4.1-0ubuntu1 amd64 GWeather shared library
ii libgweather-3-6 3.10.2-0ubuntu2 amd64 GWeather shared library
ii libgweather-common 3.10.2-0ubuntu2 all GWeather common files
ii my-weather-
ii python-pywapi 0.3.8-0ubuntu0ppa1 all Python wrapper around different weather APIs
fitzpatrick@
Revision history for this message
![]() |
#18 |
Thank you for finally providing the required information.
I see that you have TWO programs installed that should show weather information - indicator-weather and my-weather-
There is no version of indicator-weather for your Ubuntu release (14.04); it was published for Ubuntu 12.04 and apparently has been carried over through a release upgrade that you have done.
There is a PPA with an updated version for trusty, ppa:noobslab/
You can try upgrading to that version.
Another possibility would be to uninstall indicator-weather and using my-weather-
Revision history for this message
![]() |
#19 |
Thank you how do I uninstall it throught the terminal?
Revision history for this message
![]() |
#20 |
sudo apt-get --purge remove indicator-weather
sudo apt-get --purge autoremove
sudo apt-get clean
Can you help with this problem?
Provide an answer of your own, or ask Denis Fitzpatrick for more information if necessary.