my-weather-indicator 0.8.1 breaks ubuntu 14.04LTS

Bug #1581041 reported by Jan Wester
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Undecided
Unassigned

Bug Description

my-weather-indicator stopped working today. I checked release and saw it says 0.8.1. Since I had the version 0.8.0 in the cache I backported to that version and it is up and working again.

Data after having installed 0.8.1 again:

janw-LIFEBOOK-AH532-G21{janw}(57)% /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations object at 0x7fbef0471748>
#####################################################
System: Linux
Machine: x86_64
Node: janw-LIFEBOOK-AH532-G21
Release: 3.19.0-59-generic
Version: #65~14.04.1-Ubuntu SMP Tue Apr 19 18:57:09 UTC 2016
Platform: Linux-3.19.0-59-generic-x86_64-with-Ubuntu-14.04-trusty
Min-Väder-Indikator version: 0.8.1-0extras16.04.0
#####################################################

****** Requesting timezone identificacion
** OWM **
2669772 18.1182 59.446201
****** Requesting timezone identificacion
** OWM **
2688250 18.59506 59.59389
1
***** refreshing weather *****
No internet connection available.
Traceback (most recent call last):
  File "/usr/lib/python3.4/urllib/request.py", line 1182, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.4/http/client.py", line 1088, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 922, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 857, in send
    self.connect()
  File "/usr/lib/python3.4/http/client.py", line 834, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python3.4/socket.py", line 512, in create_connection
    raise err
  File "/usr/lib/python3.4/socket.py", line 503, in create_connection
    sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/comun.py", line 194, in internet_on
    urllib.request.urlopen(reference, timeout=5)
  File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 463, in open
    response = self._open(req, data)
  File "/usr/lib/python3.4/urllib/request.py", line 481, in _open
    '_open', req)
  File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 1210, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.4/urllib/request.py", line 1184, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error timed out>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 69, in <module>
    mwi = MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 143, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 369, in load_preferences
    self.update_weather()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 158, in update_weather
    self.update_menu(i)
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 616, in update_menu
    if not internet_on():
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/comun.py", line 198, in internet_on
    print('^^^^^', ex, '^^^^^')
NameError: name 'ex' is not defined
janw-LIFEBOOK-AH532-G21{janw}(58)%

Revision history for this message
Jan Wester (j-vester) wrote :

Today i made a new upgrade of the patches and for the moment my-weather-indicator seems to work even the 0.8.1 version so a bit uncertain about what happens here..............

Jan Wester (j-vester)
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

Remote bug watches

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