sr0wx.py
czyli co tam panie w eterze
ok, wywyaliłem activity map wesoły i jest drobny sukces, gada !!! teraz brakuje sampli i nadal nie czyta danych z WWO:


root@piaware:~/sr0wx.py# python sr0wx.py
2016-07-11 00:19:25,742 root INFO: sr0wx.py started
2016-07-11 00:19:25,746 root INFO:

Copyright 2009-2014 Michal Sadowski (sq6jnx at hamradio dot pl)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-----------------------------------------------------------

You can find full list of contributors on github.com/sq6jnx/sr0wx.py


2016-07-11 00:19:25,751 root INFO: starting <world_weather_online.WorldWeatherOnline object at 0x9bd930>...
2016-07-11 00:19:25,755 world_weather_online INFO: Sending query
2016-07-11 00:19:26,624 root ERROR: Exception when running <world_weather_online.WorldWeatherOnline object at 0x9bd930>
Traceback (most recent call last):
File "sr0wx.py", line 158, in <module>
module_data = module.get_data()
File "/root/sr0wx.py/world_weather_online.py", line 129, in get_data
"message": self.__message_template.format(**data),
KeyError: 'FCAST_TEMP_C'
2016-07-11 00:19:26,683 root INFO: playlist elements: tu_eksperymentalna_automatyczna_stacja_pogodowatu_automatyczna_stacja_pogodowa_powiatu_mysowice sp9mk _ tu_sp9mk [sndarray]
2016-07-11 00:19:26,688 root INFO: loading sound samples...
2016-07-11 00:19:26,692 root INFO: playing sound samples
2016-07-11 00:19:26,698 root WARNING: Couldn't find pl_google/tu_eksperymentalna_automatyczna_stacja_pogodowatu_automatyczna_stacja_pogodowa_powiatu_mysowice.ogg
2016-07-11 00:19:27,027 root ERROR: Failed to open serial port /dev/ttyS0@9600
2016-07-11 00:19:42,280 root INFO: finishing...
2016-07-11 00:19:43,284 root ERROR: Couldn't close serial port
Traceback (most recent call last):
File "sr0wx.py", line 281, in <module>
ser.close()
NameError: name 'ser' is not defined
2016-07-11 00:19:43,414 root INFO: goodbye


  PRZEJD NA FORUM