Waiting for internet (<urllib3.connectionpool.HTTPConnectionPool object at 0x7f58e1c6c7f0>, 'Connection to openweathermap.org timed out. (connect timeout=1)')

Bug #1569161 reported by amit.bidkar1
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Undecided
Unassigned

Bug Description

Hi All,

My-weather-indicator is not opening when I tried it from opening in terminal it giving,

(my-weather-indicator:21931): Gtk-WARNING **: Theme parsing error: gtk.css:50:39: Failed to import: Error opening file: No such file or directory
<gettext.GNUTranslations object at 0x7f58e1d72e80>
#####################################################
System: Linux
Machine: x86_64
Node: HP-Pavilion
Release: 4.4.4-040404-lowlatency
Version: #201603031931 SMP PREEMPT Fri Mar 4 00:39:30 UTC 2016
Platform: Linux-4.4.4-040404-lowlatency-x86_64-with-Ubuntu-14.04-trusty
#####################################################

My-Weather-Indicator version: 0.7.9-0extras15.10.0
#####################################################
(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f58e1c6c6d8>, 'Connection to openweathermap.org timed out. (connect timeout=1)')
Waiting for internet
Waiting for internet
Waiting for internet
(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f58e1c6c7f0>, 'Connection to openweathermap.org timed out. (connect timeout=1)')
Waiting for internet
(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f58e1c86d30>, 'Connection to openweathermap.org timed out. (connect timeout=1)')
Waiting for internet
Waiting for internet
Waiting for internet
(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f58e1b9d358>, 'Connection to openweathermap.org timed out. (connect timeout=1)')
Waiting for internet
^CTraceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 414, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./my-weather-indicator", line 63, in <module>
    mwi = MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 124, in __init__
    while internet_on() == False:
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/comun.py", line 184, in internet_on
    ans = requests.get(OPENWEATHERMAPWEB, timeout=1)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 55, in get
    return request('get', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 455, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 558, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 330, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 562, in urlopen
    body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.4/http/client.py", line 1171, in getresponse
    response.begin()
  File "/usr/lib/python3.4/http/client.py", line 351, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.4/socket.py", line 374, in readinto
    return self._sock.recv_into(b)
KeyboardInterrupt

description: updated
Changed in my-weather-indicator:
status: New → Fix Released
Revision history for this message
Jan Greeff (jan-verslank) wrote :

The My Weather Indicator app works well when it works but has been so consistently buggy that I have no option but to uninstall it and go looking for something that actually works

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.