Jul-25-2017, 06:09 PM
Tried that as well. New traceback:
Error:Traceback (most recent call last):
File "weather.py", line 21, in <module>
loc_weather = client.fetch_weather(wid)
File "/usr/local/lib/python2.7/dist-packages/yweather.py", line 180, in fetch_weather
rss = self._fetch_xml(url)
File "/usr/local/lib/python2.7/dist-packages/yweather.py", line 344, in _fetch_xml
with contextlib.closing(urlopen(url)) as f:
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>