ich habe erst mal die config txt gelöscht
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Version: i686
#####################################################
My-Weather-Indicator version: 0.6.3
#####################################################
('/home/ede/.config/my-weather-indicator/my-weather-indicator.conf', False)
[Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/ede/.config/my-weather-indicator/my-weather-indicator.conf'
<?xml version="1.0" encoding="UTF-8"?><Response><Ip>77.188.38.111</Ip><Status>OK</Status><CountryCode>DE</CountryCode><CountryCode3>DEU</CountryCode3><CountryName>Germany</CountryName><RegionCode>16</RegionCode><RegionName>Berlin</RegionName><City>Berlin</City><ZipPostalCode>10317</ZipPostalCode><Latitude>52.5167</Latitude><Longitude>13.4000</Longitude><AreaCode>0</AreaCode><TimeZone>Europe/Berlin</TimeZone></Response>
2
{"sunrise":"2016-08-15 07:14","lng":-0.418,"countryCode":"ES","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:56","timezoneId":"Europe/Madrid","dstOffset":2,"countryName":"Spain","time":"2016-08-15 16:15","lat":39.36}
HTTP Error 400: Parameter key is missing from the request URL
{"sunrise":"2016-08-15 07:14","lng":-0.418,"countryCode":"ES","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:56","timezoneId":"Europe/Madrid","dstOffset":2,"countryName":"Spain","time":"2016-08-15 16:15","lat":39.36}
error found
Saving...
{"sunrise":"2016-08-15 05:49","lng":13.4,"countryCode":"DE","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:30","timezoneId":"Europe/Berlin","dstOffset":2,"countryName":"Germany","time":"2016-08-15 16:15","lat":52.5167}
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
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:
dann öffnete sich die Standortsuche, das Programm aber nicht
habe den my weather Ordner gelöscht und die Antwort war
<gettext.GNUTranslations instance at 0xb4a4078c>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Version: i686
#####################################################
My-Weather-Indicator version: 0.6.3
#####################################################
('/home/ede/.config/my-weather-indicator/my-weather-indicator.conf', False)
[Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/ede/.config/my-weather-indicator/my-weather-indicator.conf'
<?xml version="1.0" encoding="UTF-8"?><Response><Ip>77.188.38.111</Ip><Status>OK</Status><CountryCode>DE</CountryCode><CountryCode3>DEU</CountryCode3><CountryName>Germany</CountryName><RegionCode>16</RegionCode><RegionName>Berlin</RegionName><City>Berlin</City><ZipPostalCode>10317</ZipPostalCode><Latitude>52.5167</Latitude><Longitude>13.4000</Longitude><AreaCode>0</AreaCode><TimeZone>Europe/Berlin</TimeZone></Response>
2
{"sunrise":"2016-08-15 07:14","lng":-0.418,"countryCode":"ES","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:56","timezoneId":"Europe/Madrid","dstOffset":2,"countryName":"Spain","time":"2016-08-15 16:16","lat":39.36}
HTTP Error 400: Parameter key is missing from the request URL
{"sunrise":"2016-08-15 07:14","lng":-0.418,"countryCode":"ES","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:56","timezoneId":"Europe/Madrid","dstOffset":2,"countryName":"Spain","time":"2016-08-15 16:16","lat":39.36}
error found
Saving...
{"sunrise":"2016-08-15 05:49","lng":13.4,"countryCode":"DE","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:30","timezoneId":"Europe/Berlin","dstOffset":2,"countryName":"Germany","time":"2016-08-15 16:16","lat":52.5167}
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
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 502: Bad Gateway
wieder startet Standortwahl, das Programm selber aber nicht
☹
die ConfDatei wurde automatisch angelegt
nochmal versucht zu öffnen
ede@T410:~$ /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations instance at 0xb48cc78c>
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Version: i686
#####################################################
My-Weather-Indicator version: 0.6.3
#####################################################
('/home/ede/.config/my-weather-indicator/my-weather-indicator.conf', True)
{"sunrise":"2016-08-15 05:49","lng":13.4,"countryCode":"DE","gmtOffset":1,"rawOffset":1,"sunset":"2016-08-15 20:30","timezoneId":"Europe/Berlin","dstOffset":2,"countryName":"Germany","time":"2016-08-15 16:25","lat":52.5167}
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 45, in <module>
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 502: Bad Gateway
was heißt Bad Gateway??
habe doch keine Tore geschlossen