Thanks. I edited the weewx.conf file and restarted weewx. It seems to loop 
through old records then falls over once it gets to live data. The log file 
when it falls over has the following entries

Feb  4 22:34:33 JanesPi weewx[2691]: wmr200: MainThread: D genLoop() 
Yielding live queued packet id:823
Feb  4 22:34:34 JanesPi weewx[2691]: wmr200: MainThread: D   Queuing live 
packet rx:382 live_queue_len:1
Feb  4 22:34:35 JanesPi weewx[2691]: wmr200: MainThread: D genLoop() 
Yielding live queued packet id:824
Feb  4 22:34:37 JanesPi weewx[2691]: wmr200: MainThread: D   Queuing live 
packet rx:383 live_queue_len:1
Feb  4 22:34:38 JanesPi weewx[2691]: wmr200: MainThread: D genLoop() 
Yielding live queued packet id:825
Feb  4 22:34:44 JanesPi weewx[2691]: wmr200: MainThread: D   Queuing live 
packet rx:384 live_queue_len:1
Feb  4 22:34:45 JanesPi weewx[2691]: wmr200: MainThread: D genLoop() 
Yielding live queued packet id:826
Feb  4 22:34:50 JanesPi weewx[2691]: wmr200: MainThread: D   Queuing live 
packet rx:385 live_queue_len:1
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: D genLoop() 
Yielding live queued packet id:827
Feb  4 22:34:51 JanesPi weewx[2691]: engine: Main loop exiting. Shutting 
engine down.
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: Thread-2: I USB polling device 
thread exiting
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I USB polling 
thread expired
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: Thread-1: I Watchdog received 
shutdown
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: Thread-1: I Watchdog thread 
exiting
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I Watchdog thread 
expired
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I Received packet 
count live:385 archive:412 control:30
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I Received 
bytes:371464 sent bytes:3992
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I Packet archive 
queue len:0 live queue len:0
Feb  4 22:34:51 JanesPi weewx[2691]: wmr200: MainThread: I Driver 
gracefully exiting
Feb  4 22:34:51 JanesPi weewx[2691]: engine: Caught unrecoverable exception 
in engine:
Feb  4 22:34:51 JanesPi weewx[2691]:     ****  'NoneType' object has no 
attribute '__getitem__'
Feb  4 22:34:51 JanesPi weewx[2691]:     ****  Traceback (most recent call 
last):
Feb  4 22:34:51 JanesPi weewx[2691]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 871, in main
Feb  4 22:34:51 JanesPi weewx[2691]:     ****      engine.run()
Feb  4 22:34:51 JanesPi weewx[2691]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 190, in run
Feb  4 22:34:51 JanesPi weewx[2691]:     ****     
 self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
Feb  4 22:34:51 JanesPi weewx[2691]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent
Feb  4 22:34:51 JanesPi weewx[2691]:     ****      callback(event)
Feb  4 22:34:51 JanesPi weewx[2691]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 318, in new_loop_packet
Feb  4 22:34:51 JanesPi weewx[2691]:     ****      if 
event.packet['usUnits'] == self.target_unit:
Feb  4 22:34:51 JanesPi weewx[2691]:     ****  TypeError: 'NoneType' object 
has no attribute '__getitem__'
Feb  4 22:34:51 JanesPi weewx[2691]:     ****  Exiting.
 

Please also find attached the debug file

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

Attachment: weewx.debug
Description: Binary data

Reply via email to