Attached ... Bye
On Monday, January 23, 2017 at 2:15:28 PM UTC+1, mwall wrote: > > On Monday, January 23, 2017 at 8:06:40 AM UTC-5, Janez Kranjski wrote: >> >> This time without error in log ... but still without XML file. >> And yes, I almost forget - it looks like sunbird.txt works (my colleague >> (author of Android Weather Station app) said so, I don't have any devices >> available :-) ). >> >> Bye. So only check why XML file isn't prepared. >> > > if you cannot figure it out, then please post the [CumulusRealTime] > section of your weewx.conf, and please post the log file from when you > start weewx until after a few loop packets. > > m > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jan 23 14:35:11 raspberrypi weewx[22530]: Stopping weewx weather system: weewx.. Jan 23 14:35:14 raspberrypi weewx[22606]: engine: Initializing weewx version 3.6.2 Jan 23 14:35:14 raspberrypi weewx[22606]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] Jan 23 14:35:14 raspberrypi weewx[22606]: engine: Platform Linux-4.4.38-v7+-armv7l-with-debian-8.0 Jan 23 14:35:14 raspberrypi weewx[22606]: engine: pid file is /var/run/weewx.pid Jan 23 14:35:14 raspberrypi weewx[22610]: engine: Using configuration file /etc/weewx/weewx.conf Jan 23 14:35:14 raspberrypi weewx[22610]: engine: Loading station type WMR200 (weewx.drivers.wmr200) Jan 23 14:35:14 raspberrypi weewx[22595]: Starting weewx weather system: weewx. Jan 23 14:35:14 raspberrypi weewx[22610]: wmr200: MainThread: I Created watchdog thread to poke for live data every 30 seconds Jan 23 14:35:14 raspberrypi weewx[22610]: wmr200: MainThread: I Created USB polling thread to read block on device Jan 23 14:35:14 raspberrypi weewx[22610]: wmr200: Thread-2: I USB polling device thread for live data launched Jan 23 14:35:14 raspberrypi weewx[22610]: wmr200: MainThread: I Reset console device Jan 23 14:35:15 raspberrypi weewx[22610]: wmr200: Thread-2: I USB polling device thread signaled to start Jan 23 14:35:15 raspberrypi weewx[22610]: wmr200: Thread-1: I Started watchdog thread live data Jan 23 14:35:15 raspberrypi weewx[22610]: engine: StdConvert target unit is 0x1 Jan 23 14:35:15 raspberrypi weewx[22610]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Jan 23 14:35:15 raspberrypi weewx[22610]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Jan 23 14:35:15 raspberrypi weewx[22610]: crt: service version is 0.19rc2 Jan 23 14:35:15 raspberrypi weewx[22610]: crt: realtime txt output goes to /var/www/html/realtime.txt Jan 23 14:35:15 raspberrypi weewx[22610]: crt: realtime xml output goes to /var/www/html/realtime.xml Jan 23 14:35:15 raspberrypi weewx[22610]: crt: sunbird output goes to /var/www/html/sunbird.txt Jan 23 14:35:15 raspberrypi weewx[22610]: crt: 'None' values will be displayed as NULL Jan 23 14:35:15 raspberrypi weewx[22610]: crt: units will be displayed as METRIC Jan 23 14:35:15 raspberrypi weewx[22610]: crt: zambretti forecast: False Jan 23 14:35:15 raspberrypi weewx[22610]: crt: binding is archive Jan 23 14:35:15 raspberrypi weewx[22610]: engine: Archive will use data binding wx_binding Jan 23 14:35:15 raspberrypi weewx[22610]: engine: Record generation will be attempted in 'hardware' Jan 23 14:35:15 raspberrypi weewx[22610]: engine: Using archive interval of 300 seconds (specified by hardware) Jan 23 14:35:15 raspberrypi weewx[22610]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Jan 23 14:35:15 raspberrypi weewx[22610]: manager: Starting backfill of daily summaries Jan 23 14:35:15 raspberrypi weewx[22610]: manager: Daily summaries up to date Jan 23 14:35:16 raspberrypi weewx[22610]: restx: StationRegistry: Station will be registered. Jan 23 14:35:16 raspberrypi weewx[22610]: restx: Wunderground-PWS: Data for station IGORENJS12 will be posted Jan 23 14:35:16 raspberrypi weewx[22610]: restx: PWSweather: Posting not enabled. Jan 23 14:35:16 raspberrypi weewx[22610]: restx: CWOP: Posting not enabled. Jan 23 14:35:16 raspberrypi weewx[22610]: restx: WOW: Posting not enabled. Jan 23 14:35:16 raspberrypi weewx[22610]: restx: AWEKAS: Posting not enabled. Jan 23 14:35:16 raspberrypi weewx[22610]: engine: Starting up weewx version 3.6.2 Jan 23 14:35:24 raspberrypi weewx[22610]: wmr200: MainThread: I Time drift between host and console in seconds:24 Jan 23 14:35:52 raspberrypi weewx[22610]: wmr200: MainThread: W Temp outdoor sensor: Battery low Jan 23 14:36:52 raspberrypi weewx[22610]: wmr200: MainThread: W Temp outdoor sensor: Battery low Jan 23 14:37:17 raspberrypi weewx[22610]: wmr200: MainThread: I genStartup() phase exiting since looks like all archive packets have been retrieved after 120 sec cnt:0 Jan 23 14:37:17 raspberrypi weewx[22610]: engine: Starting main packet loop. Jan 23 14:37:51 raspberrypi weewx[22610]: wmr200: MainThread: W Temp outdoor sensor: Battery low Jan 23 14:38:51 raspberrypi weewx[22610]: wmr200: MainThread: W Temp outdoor sensor: Battery low Jan 23 14:39:51 raspberrypi weewx[22610]: wmr200: MainThread: W Temp outdoor sensor: Battery low Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** Traceback (most recent call last): Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** File "/usr/share/weewx/user/crt.py", line 525, in handle_data Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** self.create_realtime_xml(data)) Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** File "/usr/share/weewx/user/crt.py", line 849, in create_realtime_xml Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** lines.append(self._fmt_xml('realtime="current_rainfall"', data['rain'])) Jan 23 14:40:15 raspberrypi weewx[22610]: crt: **** KeyError: 'rain' Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: Thread-2: I USB polling device thread exiting Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I USB polling thread expired Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: Thread-1: I Watchdog received shutdown Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: Thread-1: I Watchdog thread exiting Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I Watchdog thread expired Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I Received packet count live:65 archive:0 control:5 Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I Received bytes:7888 sent bytes:136 Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I Packet archive queue len:0 live queue len:0 Jan 23 14:40:15 raspberrypi weewx[22610]: wmr200: MainThread: I Driver gracefully exiting Jan 23 14:40:15 raspberrypi weewx[22610]: engine: Caught unrecoverable exception in engine: Jan 23 14:40:15 raspberrypi weewx[22610]: **** 'rain' Jan 23 14:40:15 raspberrypi weewx[22610]: **** Traceback (most recent call last): Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 847, in main Jan 23 14:40:15 raspberrypi weewx[22610]: **** engine.run() Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 200, in run Jan 23 14:40:15 raspberrypi weewx[22610]: **** self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 222, in dispatchEvent Jan 23 14:40:15 raspberrypi weewx[22610]: **** callback(event) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 566, in post_loop Jan 23 14:40:15 raspberrypi weewx[22610]: **** self._software_catchup() Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 617, in _software_catchup Jan 23 14:40:15 raspberrypi weewx[22610]: **** self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, record=record, origin='software')) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/weewx/engine.py", line 222, in dispatchEvent Jan 23 14:40:15 raspberrypi weewx[22610]: **** callback(event) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/user/crt.py", line 514, in handle_new_archive Jan 23 14:40:15 raspberrypi weewx[22610]: **** self.handle_data(event.record) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/user/crt.py", line 525, in handle_data Jan 23 14:40:15 raspberrypi weewx[22610]: **** self.create_realtime_xml(data)) Jan 23 14:40:15 raspberrypi weewx[22610]: **** File "/usr/share/weewx/user/crt.py", line 849, in create_realtime_xml Jan 23 14:40:16 raspberrypi weewx[22610]: **** lines.append(self._fmt_xml('realtime="current_rainfall"', data['rain'])) Jan 23 14:40:16 raspberrypi weewx[22610]: **** KeyError: 'rain' Jan 23 14:40:16 raspberrypi weewx[22610]: **** Exiting.
[CumulusRealTime] # filename = /var/www/html/realtime.txt realtime_txt = /var/www/html/realtime.txt realtime_xml = /var/www/html/realtime.xml sunbird_txt = /var/www/html/sunbird.txt unit_system = METRIC binding = archive