Hi

I'm a new owner of a Pi3 and am trying to set up WeeWX for WMR200 weather 
Station. Have followed instructions for the Debian install which seemed to 
go OK till I look at the syslog. It seems to have downloaded old records 
for the station but then fallls over with error when it tries to download 
live data (see log messages below). The WMR200 is running on metric units. 
It has not created a station web page at 
file:///var/www/html/weewx/index.html. I do not know why the old records it 
is downloaded date from 2010 - the weather station has been just running on 
its own for several years 

Feb  3 15:59:54 JanesPi weewx[1370]: wmr200: MainThread: I genStartup() 
Still receiving archive packets cnt:102 len:1
Feb  3 15:59:54 JanesPi weewx[1370]: wmr200: MainThread: I Using pc time 
adjusting archive record time by -46 sec 2010-06-08 00:54:00 CEST 
(1275951240) => 2010-06-08 00:53:14 CEST (1275951194)
Feb  3 15:59:54 JanesPi weewx[1370]: manager: Added record 2010-06-08 
00:53:14 CEST (1275951194) to database 'weewx.sdb'
Feb  3 15:59:54 JanesPi weewx[1370]: manager: Added record 2010-06-08 
00:53:14 CEST (1275951194) to daily summary in 'weewx.sdb'
Feb  3 16:00:13 JanesPi weewx[1370]: wmr200: MainThread: W Temp outdoor 
sensor: Battery low
Feb  3 16:01:14 JanesPi weewx[1370]: wmr200: MainThread: W Temp outdoor 
sensor: Battery low
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I genStartup() 
phase exiting since looks like all archive packets have been retrieved 
after 120 sec cnt:103
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I genStartup() 
Yielded 103 packets in 6120 sec  between these dates 2010-06-07 23:11:14 
CEST (1275945074) ==> 2010-06-08 00:53:14 CEST (1275951194)
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I genStartup() 
Average packets per minute:1.009804
Feb  3 16:01:54 JanesPi weewx[1370]: engine: Starting main packet loop.
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: Thread-4: I USB polling device 
thread exiting
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I USB polling 
thread expired
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: Thread-3: I Watchdog received 
shutdown
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: Thread-3: I Watchdog thread 
exiting
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I Watchdog thread 
expired
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I Received packet 
count live:224 archive:105 control:9
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I Received 
bytes:72416 sent bytes:1096
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I Packet archive 
queue len:0 live queue len:217
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: W Exiting with 
packets still in live queue cnt:217
Feb  3 16:01:54 JanesPi weewx[1370]: wmr200: MainThread: I Driver 
gracefully exiting
Feb  3 16:01:54 JanesPi weewx[1370]: engine: Caught unrecoverable exception 
in engine:
Feb  3 16:01:54 JanesPi weewx[1370]:     ****  'NoneType' object has no 
attribute '__getitem__'
Feb  3 16:01:54 JanesPi weewx[1370]:     ****  Traceback (most recent call 
last):
Feb  3 16:01:54 JanesPi weewx[1370]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 871, in main
Feb  3 16:01:54 JanesPi weewx[1370]:     ****      engine.run()
Feb  3 16:01:54 JanesPi weewx[1370]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 190, in run
Feb  3 16:01:54 JanesPi weewx[1370]:     ****     
 self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
Feb  3 16:01:54 JanesPi weewx[1370]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent
Feb  3 16:01:54 JanesPi weewx[1370]:     ****      callback(event)
Feb  3 16:01:54 JanesPi weewx[1370]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 318, in new_loop_packet
Feb  3 16:01:54 JanesPi weewx[1370]:     ****      if 
event.packet['usUnits'] == self.target_unit:
Feb  3 16:01:54 JanesPi weewx[1370]:     ****  TypeError: 'NoneType' object 
has no attribute '__getitem__'
Feb  3 16:01:54 JanesPi weewx[1370]:     ****  Exiting.

Thanks in advance for any suggestions as to what I should do next
Regards
Jane


-- 
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.

Reply via email to