majtee('/home/rapfen/.config/my-weather-indicator/my-weather-indicator.conf', True)
'widget1'
'widget2'
{"sunrise":"2016-09-24 06:36","lng":18.302,"countryCode":"HU","gmtOffset":1,"rawOffset":1,"sunset":"2016-09-24 18:39","timezoneId":"Europe/Budapest","dstOffset":2,"countryName":"Hungary","time":"2016-09-24 10:37","lat":47.061}
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in
mwi=MWI()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 134, in __init__
self.load_preferences()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 311, in load_preferences
units = self.units)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 103, in __init__
self.id = find_city(longitude,latitude)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/wopenweathermapapi.py", line 91, in find_city
json_string = read_from_url(URL_FIND_CITY%(latitude,longitude))
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/comun.py", line 179, in read_from_url
f = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 512:
rapfen@rapfen:~$
Ezek?