sr0wx.py czyli co tam panie w eterze |
Już czyta te pliki audio.wav tylko musiałem przyśpieszyć tempo bo za wolno. Teraz mam coś takiego: 2016-07-04 16:58:13,307 root INFO: starting <activity_map.ActivityMap object at 0x26d3410>... 2016-07-04 16:58:13,631 activity_map INFO: Message sent, status OK 2016-07-04 16:58:13,635 root INFO: starting <world_weather_online.WorldWeatherOnline object at 0x25ee710>... 2016-07-04 16:58:13,639 world_weather_online INFO: Sending query 2016-07-04 16:58:13,977 root ERROR: Exception when running <world_weather_online.WorldWeatherOnline object at 0x25ee710> Traceback (most recent call last): File "sr0wx.py", line 91, in <module> module_data = module.get_data() File "/home/kp/sr0wx.py/world_weather_online.py", line 61, in get_data raw_data = urllib2.urlopen(url).read() File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 407, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 520, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 445, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 403: API key does not have access to the resource. 2016-07-04 16:58:14,102 root INFO: playlist elements: tu_eksperymentalna_automatyczna_stacja_pogodowa sr0wx _ tu_sr0wx 2016-07-04 16:58:14,110 root INFO: loading sound samples... 2016-07-04 16:58:14,115 root INFO: playing sound samples 2016-07-04 16:58:26,174 root INFO: finishing... 2016-07-04 16:58:27,325 root INFO: goodbye co zrobić aby te błędy usunąć? |