sr0wx.py
czyli co tam panie w eterze
Koledzy pomocy, zainstalowałem na RPi, uruchamiam python sr0wx.py
i dostaję coś takiego.

2016-07-02 19:01:42,108 root INFO: starting <activity_map.ActivityMap object at 0x23f53b0>...
2016-07-02 19:01:42,428 activity_map INFO: Message sent, status OK
2016-07-02 19:01:42,432 root INFO: starting <world_weather_online.WorldWeatherOn line object at 0x23106b0>...
2016-07-02 19:01:42,436 world_weather_online INFO: Sending query
2016-07-02 19:01:47,859 root ERROR: Exception when running <world_weather_online .WorldWeatherOnline object at 0x23106b0>
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.
ALSA lib confmisc.c:768smutnyparse_card) cannot find card '0'
ALSA lib conf.c:4241smutny_snd_config_evaluate) function snd_func_card_driver return
ed error: No such file or directory
ALSA lib confmisc.c:392smutnysnd_func_concat) error evaluating strings
ALSA lib conf.c:4241smutny_snd_config_evaluate) function snd_func_concat returned er
ror: No such file or directory
ALSA lib confmisc.c:1251smutnysnd_func_refer) error evaluating name
ALSA lib conf.c:4241smutny_snd_config_evaluate) function snd_func_refer returned err
or: No such file or directory
ALSA lib conf.c:4720smutnysnd_config_expand) Evaluate error: No such file or directo
ry
ALSA lib pcm.c:2217smutnysnd_pcm_open_noupdate) Unknown PCM default
Traceback (most recent call last):
File "sr0wx.py", line 106, in <module>
pygame.mixer.init(16000, -16, 2, 1024)
pygame.error: No available audio device


co zrobić aby te błędy usunąć?


  PRZEJDŹ NA FORUM