Comment 1 for bug 1396896

Revision history for this message
Andy Russell (icarusr) wrote :

Also will not start for me, get same error, though from a different line.
Terminal output ....

andy@Zebedee:~$ /usr/bin/python /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations instance at 0xb5e6c3cc>
#####################################################
System: Linux
Machine: i686
Node: Zebedee
Release: 3.13.0-48-generic
Version: #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015
Platform: Linux-3.13.0-48-generic-i686-with-Ubuntu-14.04-trusty
#####################################################

My-Weather-Indicator version: 0.6.9-0extras14.04.2
#####################################################
('/home/andy/.config/my-weather-indicator/my-weather-indicator.conf', True)
****** Requesting timezone identificacion
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////
time.time() = 1427657032
self.actualization_time = 0
(time.time()-self.actualization_time) = 1427657032
self.refresh*3600 = 1800
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////
--- Updating data in location 1 ---
****** Updating weather
****** Calculating rawOffset
********************************************************
********************************************************
06:45 << 20:23 << 19:31
********************************************************
********************************************************
-------------------------------------------------------
-------------------------------------------------------
OpenWeatherMap Weather Service url:http://api.openweathermap.org/data/2.5/weather?lat=52.0368911630209&lon=-0.8047341231537324
-------------------------------------------------------
-------------------------------------------------------
****** Updated weather
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 50, 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 376, in load_preferences
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 200, in work
    self.set_menu()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 524, in set_menu
    self.menu_temperature.set_label(_('Temperature')+': {0}{1:c}'.format(self.current_conditions['temperature'],176))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 3: ordinal not in range(128)