Occasionally (about once a week), weewx just seems to shut it self down.  
Debug output from the last one.  I did a reboot and it errored again, so I 
did a physical power off and on, and that seem to clear it.  Thinking it 
might be SDR dongle related?  Open to additional ideas/places to look: 
(weewx 3.91)

Mar 03 15:43:17 localhost weewx[1365]: sdr: MainThread: 
packet={'outTempBatteryStatus': 0, 'outHumidity': 96.0, 'UV': 0.0, 
'radiation': 12.968199000000002, 'dateTime': 1551649393, 'windDir': 63.0, 
'outTemp': 1.0, 'windSpeed': 1.402, 'windGust': 2.04, 'rain_total': 
523.748, 'usUnits': 17}
Mar 03 15:43:20 localhost weewx[1365]: sdr: MainThread: lines=[]
Mar 03 15:43:23 localhost weewx[1365]: sdr: MainThread: lines=[]
Mar 03 15:43:26 localhost weewx[1365]: sdr: MainThread: lines=[]
Mar 03 15:43:29 localhost weewx[1365]: sdr: MainThread: lines=[]
Mar 03 15:43:32 localhost weewx[1365]: sdr: MainThread: lines=['{"time" : 
"2019-03-03 21:43:29", "model" : "Fine Offset WH65B", "id" : 41, 
"temperature_C" : 1.000, "humidity" : 96, "wind_dir_deg" : 11, 
"wind_speed_ms" : 1.530, "gust_speed_ms" : 2.040, "rainfall_mm" : 523.748, 
"battery" : "OK", "mic" : "CRC"}\n']
Mar 03 15:43:32 localhost weewx[1365]: engine: Main loop exiting. Shutting 
engine down.
Mar 03 15:43:32 localhost weewx[1365]: engine: Shutting down StdReport 
thread
Mar 03 15:43:32 localhost weewx[1365]: engine: StdReport thread has been 
terminated
Mar 03 15:43:32 localhost weewx[1365]: sdr: MainThread: shutdown process 
rtl_433 -q -M utc -F json -p 39.741 -R 78 -f 914980000
Mar 03 15:43:32 localhost weewx[1365]: sdr: MainThread: waiting for 
stdout-thread
Mar 03 15:43:42 localhost weewx[1365]: sdr: MainThread: timed out waiting 
for stdout-thread
Mar 03 15:43:42 localhost weewx[1365]: sdr: MainThread: waiting for 
stderr-thread
Mar 03 15:43:52 localhost weewx[1365]: sdr: MainThread: timed out waiting 
for stderr-thread
Mar 03 15:43:52 localhost weewx[1365]: sdr: MainThread: close stdout
Mar 03 15:43:52 localhost weewx[1365]: sdr: MainThread: close stderr
Mar 03 15:43:52 localhost weewx[1365]: engine: Caught unrecoverable 
exception in engine:
Mar 03 15:43:52 localhost weewx[1365]:     ****  unsupported operand 
type(s) for *: 'NoneType' and 'float'
Mar 03 15:43:52 localhost weewx[1365]:     ****  Traceback (most recent 
call last):
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 890, in main
Mar 03 15:43:52 localhost weewx[1365]:     ****      engine.run()
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 188, in run
Mar 03 15:43:52 localhost weewx[1365]:     ****      for packet in 
self.console.genLoopPackets():
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/user/sdr.py", line 2081, in genLoopPackets
Mar 03 15:43:52 localhost weewx[1365]:     ****      for packet in 
PacketFactory.create(lines):
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/user/sdr.py", line 1952, in create
Mar 03 15:43:52 localhost weewx[1365]:     ****      pkt = 
PacketFactory.parse_json(lines)
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/user/sdr.py", line 1968, in parse_json
Mar 03 15:43:52 localhost weewx[1365]:     ****      return 
parser.parse_json(obj)
Mar 03 15:43:52 localhost weewx[1365]:     ****    File 
"/usr/share/weewx/user/sdr.py", line 1111, in parse_json
Mar 03 15:43:52 localhost weewx[1365]:     ****      pkt['light'] = 
Packet.get_float(obj, 'light_lux') * 0.007893
Mar 03 15:43:52 localhost weewx[1365]:     ****  TypeError: unsupported 
operand type(s) for *: 'NoneType' and 'float'
Mar 03 15:43:52 localhost weewx[1365]:     ****  Exiting.
Mar 03 15:44:03 localhost kernel: usb 1-1.2: USB disconnect, device number 4
Mar 03 15:44:03 localhost kernel: usb 1-1.2: new high-speed USB device 
number 6 using dwc_otg
Mar 03 15:44:04 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:44:04 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:44:04 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:44:04 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:44:04 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:44:05 localhost kernel: usb 1-1.2: USB disconnect, device number 6
Mar 03 15:44:05 localhost kernel: usb 1-1.2: new high-speed USB device 
number 7 using dwc_otg
Mar 03 15:44:05 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:44:05 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:44:05 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:44:05 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:44:05 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:44:48 localhost kernel: usb 1-1.2: USB disconnect, device number 7
Mar 03 15:44:48 localhost kernel: usb 1-1.2: new high-speed USB device 
number 8 using dwc_otg
Mar 03 15:44:48 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:44:48 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:44:48 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:44:48 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:44:48 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:45:01 localhost systemd[1]: Started Session 318 of user root.
Mar 03 15:45:01 localhost CROND[7826]: (root) CMD (/usr/local/bin/syncit.sh 
>> /root/syncit.log 2>&1)
Mar 03 15:45:03 localhost kernel: usb 1-1.2: USB disconnect, device number 8
Mar 03 15:45:03 localhost kernel: usb 1-1.2: new high-speed USB device 
number 9 using dwc_otg
Mar 03 15:45:03 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:45:03 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:45:03 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:45:03 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:45:03 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:45:32 localhost kernel: usb 1-1.2: USB disconnect, device number 9
Mar 03 15:45:32 localhost kernel: usb 1-1.2: new high-speed USB device 
number 10 using dwc_otg
Mar 03 15:45:32 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:45:32 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:45:32 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:45:32 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:45:32 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:46:30 localhost kernel: usb 1-1.2: USB disconnect, device number 
10
Mar 03 15:46:30 localhost kernel: usb 1-1.2: new high-speed USB device 
number 11 using dwc_otg
Mar 03 15:46:30 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:46:30 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:46:30 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:46:30 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:46:30 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:46:59 localhost kernel: usb 1-1.2: USB disconnect, device number 
11
Mar 03 15:46:59 localhost kernel: usb 1-1.2: new high-speed USB device 
number 12 using dwc_otg
Mar 03 15:46:59 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:46:59 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:46:59 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:46:59 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:46:59 localhost kernel: usb 1-1.2: SerialNumber: 00000001
Mar 03 15:47:53 localhost kernel: usb 1-1.2: USB disconnect, device number 
12
Mar 03 15:47:53 localhost kernel: usb 1-1.2: new high-speed USB device 
number 13 using dwc_otg
Mar 03 15:47:53 localhost kernel: usb 1-1.2: New USB device found, 
idVendor=0bda, idProduct=2838
Mar 03 15:47:53 localhost kernel: usb 1-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 03 15:47:53 localhost kernel: usb 1-1.2: Product: RTL2838UHIDIR
Mar 03 15:47:53 localhost kernel: usb 1-1.2: Manufacturer: Realtek
Mar 03 15:47:53 localhost kernel: usb 1-1.2: SerialNumber: 00000001

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to