I just did an apt update and noticed weewx is not running. i have tried
starting and stopping, but I am not seeing running messages. I see this:
Apr 27 20:59:11 weewx-pi weewx[893] INFO user.gw1000: Gw1000Collector
thread has been terminated
Apr 27 20:59:11 weewx-pi weewx[893] INFO __main__: Terminating weewx
version 4.7.0
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** Traceback
(most recent call last):
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/home/weewx/bin/weewxd", line 153, in main
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: ****
engine.run()
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/home/weewx/bin/weewx/engine.py", line 208, in run
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** for
packet in self.console.genLoopPackets():
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/home/weewx/bin/user/gw1000.py", line 1944, in genLoopPackets
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: ****
queue_data = self.collector.queue.get(True, 10)
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/usr/lib/python3.8/queue.py", line 179, in get
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: ****
self.not_empty.wait(remaining)
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/usr/lib/python3.8/threading.py", line 306, in wait
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** gotit =
waiter.acquire(True, timeout)
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** File
"/home/weewx/bin/weewxd", line 244, in sigTERMhandler
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** raise
Terminate
Apr 27 20:59:11 weewx-pi weewx[893] DEBUG __main__: **** Terminate
Apr 27 20:59:16 weewx-pi weewx[2207]: . ...done.
Apr 27 20:59:16 weewx-pi systemd[1]: weewx.service: Succeeded.
Apr 27 20:59:16 weewx-pi systemd[1]: Stopped LSB: weewx weather system.
Apr 27 20:59:25 weewx-pi systemd[1]: Starting LSB: weewx weather system...
Apr 27 20:59:25 weewx-pi weewx[2252]: * Starting weewx weather system weewx
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Initializing weewx
version 4.7.0
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Using Python 3.8.10
(default, Mar 15 2022, 12:22:08) #012[GCC 9.4.0]
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Platform
Linux-5.4.0-109-generic-x86_64-with-glibc2.29
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Locale is 'en_US.UTF-8'
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Using configuration
file /home/weewx/weewx.conf
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: Debug is 1
Apr 27 20:59:25 weewx-pi weewx[2275] INFO __main__: PID file is
/var/run/weewx.pid
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG __main__: Initializing engine
Apr 27 20:59:25 weewx-pi weewx[2278] INFO weewx.engine: Loading station
type GW1000 (user.gw1000)
Apr 27 20:59:25 weewx-pi weewx[2252]: ...done.
Apr 27 20:59:25 weewx-pi systemd[1]: Started LSB: weewx weather system.
Apr 27 20:59:25 weewx-pi weewx[2278] INFO user.gw1000: field map is {'co2':
'co2', 'co2_24h_avg': 'co2_24h_avg', 'dateTime': 'datetime', 'daymaxwind':
'daymaxwind', 'dayRain': 'rainday', 'dewpoint': 'dewpoint', 'extraHumid1':
'humid1', 'extraHumid2': 'humid2', 'extraHumid3': 'humid3', 'extraHumid4':
'humid4', 'extraHumid5': 'humid5', 'extraHumid6': 'humid6', 'extraHumid7':
'humid7', 'extraHumid8': 'humid8', 'extraHumid17': 'humid17', 'extraTemp1':
'temp1', 'extraTemp2': 'temp2', 'extraTemp3': 'temp3', 'extraTemp4':
'temp4', 'extraTemp5': 'temp5', 'extraTemp6': 'temp6', 'extraTemp7':
'temp7', 'extraTemp8': 'temp8', 'extraTemp9': 'temp9', 'extraTemp10':
'temp10', 'extraTemp11': 'temp11', 'extraTemp12': 'temp12', 'extraTemp13':
'temp13', 'extraTemp14': 'temp14', 'extraTemp15': 'temp15', 'extraTemp16':
'temp16', 'extraTemp17': 'temp17', 'heatindex': 'heatindex', 'hourRain':
'rainhour', 'inHumidity': 'inhumid', 'inTemp': 'intemp', 'leafWet1':
'leafwet1', 'leafWet2': 'leafwet2', 'leafWet3': 'leafwet3', 'leafWet4':
'leafwet4', 'leafWet5': 'leafwet5', 'leafWet6': 'leafwet6', 'leafWet7':
'leafwet7', 'leafWet8': 'leafwet8', 'leak1': 'leak1', 'leak2': 'leak2',
'leak3': 'leak3', 'leak4': 'leak4', 'lightning_distance': 'lightningdist',
'lightning_last_det_time': 'lightningdettime', 'lightning_strike_count':
'lightning_strike_count', 'lightningcount': 'lightningcount', 'luminosity':
'light', 'monthRain': 'rainmonth', 'outHumidity': 'outhumid', 'outTemp':
'outtemp', 'pm2_5': 'pm251', 'pm2_51_24h_avg': 'pm251_24h_avg', 'pm2_52':
'pm252', 'pm2_52_24h_avg': 'pm252_24h_avg', 'pm2_53': 'pm253',
'pm2_53_24h_avg': 'pm253_24h_avg', 'pm2_54': 'pm254', 'pm2_54_24h_avg':
'pm254_24h_avg', 'pm2_55': 'pm255', 'pm2_55_24h_avg': 'pm255_24h_avg',
'pm10': 'pm10', 'pm10_24h_avg': 'pm10_24h_avg', 'pressure': 'absbarometer',
'rain': 'rain', 'rainRate': 'rainrate', 'relbarometer': 'relbarometer',
'soilMoist1': 'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3':
'soilmoist3', 'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5',
'soilMoist6': 'soilmoist6', 'soilMoist7': 'soilmoist7', 'soilMoist8':
'soilmoist8', 'soilMoist9': 'soilmoist9', 'soilMoist10': 'soilmoist10',
'soilMoist11': 'soilmoist11', 'soilMoist12': 'soilmoist12', 'soilMoist13':
'soilmoist13', 'soilMoist14': 'soilmoist14', 'soilMoist15': 'soilmoist15',
'soilMoist16': 'soilmoist16', 'soilTemp1': 'soiltemp1', 'soilTemp2':
'soiltemp2', 'soilTemp3': 'soiltemp3', 'soilTemp4': 'soiltemp4',
'soilTemp5': 'soiltemp5', 'soilTemp6': 'soiltemp6', 'soilTemp7':
'soiltemp7', 'soilTemp8': 'soiltemp8', 'soilTemp9': 'soiltemp9',
'soilTemp10': 'soiltemp10', 'soilTemp11': 'soiltemp11', 'soilTemp12':
'soiltemp12', 'soilTemp13': 'soiltemp13', 'soilTemp14': 'soiltemp14',
'soilTemp15': 'soiltemp15', 'soilTemp16': 'soiltemp16', 'stormRain':
'rainevent', 'totalRain': 'raintotals', 'UV': 'uvi', 'uvradiation': 'uv',
'weekRain': 'rainweek', 'wh25_batt': 'wh25_batt', 'wh25_sig': 'wh25_sig',
'wh26_batt': 'wh26_batt', 'wh26_sig': 'wh26_sig', 'wh31_ch1_batt':
'wh31_ch1_batt', 'wh31_ch1_sig': 'wh31_ch1_sig', 'wh31_ch2_batt':
'wh31_ch2_batt', 'wh31_ch2_sig': 'wh31_ch2_sig', 'wh31_ch3_batt':
'wh31_ch3_batt', 'wh31_ch3_sig': 'wh31_ch3_sig', 'wh31_ch4_batt':
'wh31_ch4_batt', 'wh31_ch4_sig': 'wh31_ch4_sig', 'wh31_ch5_batt':
'wh31_ch5_batt', 'wh31_ch5_sig': 'wh31_ch5_sig', 'wh31_ch6_batt':
'wh31_ch6_batt', 'wh31_ch6_sig': 'wh31_ch6_sig', 'wh31_ch7_batt':
'wh31_ch7_batt', 'wh31_ch7_sig': 'wh31_ch7_sig', 'wh31_ch8_batt':
'wh31_ch8_batt', 'wh31_ch8_sig': 'wh31_ch8_sig', 'wh35_ch1_batt':
'wh35_ch1_batt', 'wh35_ch1_sig': 'wh35_ch1_sig', 'wh35_ch2_batt':
'wh35_ch2_batt', 'wh35_ch2_sig': 'wh35_ch2_sig', 'wh35_ch3_batt':
'wh35_ch3_batt', 'wh35_ch3_sig': 'wh35_ch3_sig', 'wh35_ch4_batt':
'wh35_ch4_batt', 'wh35_ch4_sig': 'wh35_ch4_sig', 'wh35_ch5_batt':
'wh35_ch5_batt', 'wh35_ch5_sig': 'wh35_ch5_sig', 'wh35_ch6_batt':
'wh35_ch6_batt', 'wh35_ch6_sig': 'wh35_ch6_sig', 'wh35_ch7_batt':
'wh35_ch7_batt', 'wh35_ch7_sig': 'wh35_ch7_sig', 'wh35_ch8_batt':
'wh35_ch8_batt', 'wh35_ch8_sig': 'wh35_ch8_sig', 'wh40_batt': 'wh40_batt',
'wh40_sig': 'wh40_sig', 'wh41_ch1_batt': 'wh41_ch1_batt', 'wh41_ch1_sig':
'wh41_ch1_sig', 'wh41_ch2_batt': 'wh41_ch2_batt', 'wh41_ch2_sig':
'wh41_ch2_sig', 'wh41_ch3_batt': 'wh41_ch3_batt', 'wh41_ch3_sig':
'wh41_ch3_sig', 'wh41_ch4_batt': 'wh41_ch4_batt', 'wh41_ch4_sig':
'wh41_ch4_sig', 'wh45_batt': 'wh45_batt', 'wh45_sig': 'wh45_sig',
'wh51_ch1_batt': 'wh51_ch1_batt', 'wh51_ch1_sig': 'wh51_ch1_sig',
'wh51_ch2_batt': 'wh51_ch2_batt', 'wh51_ch2_sig': 'wh51_ch2_sig',
'wh51_ch3_batt': 'wh51_ch3_batt', 'wh51_ch3_sig': 'wh51_ch3_sig',
'wh51_ch4_batt': 'wh51_ch4_batt', 'wh51_ch4_sig': 'wh51_ch4_sig',
'wh51_ch5_batt': 'wh51_ch5_batt', 'wh51_ch5_sig': 'wh51_ch5_sig',
'wh51_ch6_batt': 'wh51_ch6_batt', 'wh51_ch6_sig': 'wh51_ch6_sig',
'wh51_ch7_batt': 'wh51_ch7_batt', 'wh51_ch7_sig': 'wh51_ch7_sig',
'wh51_ch8_batt': 'wh51_ch8_batt', 'wh51_ch8_sig': 'wh51_ch8_sig',
'wh51_ch9_batt': 'wh51_ch9_batt', 'wh51_ch9_sig': 'wh51_ch9_sig',
'wh51_ch10_batt': 'wh51_ch10_batt', 'wh51_ch10_sig': 'wh51_ch10_sig',
'wh51_ch11_batt': 'wh51_ch11_batt', 'wh51_ch11_sig': 'wh51_ch11_sig',
'wh51_ch12_batt': 'wh51_ch12_batt', 'wh51_ch12_sig': 'wh51_ch12_sig',
'wh51_ch13_batt': 'wh51_ch13_batt', 'wh51_ch13_sig': 'wh51_ch13_sig',
'wh51_ch14_batt': 'wh51_ch14_batt', 'wh51_ch14_sig': 'wh51_ch14_sig',
'wh51_ch15_batt': 'wh51_ch15_batt', 'wh51_ch15_sig': 'wh51_ch15_sig',
'wh51_ch16_batt': 'wh51_ch16_batt', 'wh51_ch16_sig': 'wh51_ch16_sig',
'wh55_ch1_batt': 'wh55_ch1_batt', 'wh55_ch1_sig': 'wh55_ch1_sig',
'wh55_ch2_batt': 'wh55_ch2_batt', 'wh55_ch2_sig': 'wh55_ch2_sig',
'wh55_ch3_batt': 'wh55_ch3_batt', 'wh55_ch3_sig': 'wh55_ch3_sig',
'wh55_ch4_batt': 'wh55_ch4_batt', 'wh55_ch4_sig': 'wh55_ch4_sig',
'wh57_batt': 'wh57_batt', 'wh57_sig': 'wh57_sig', 'wh65_batt': 'wh65_batt',
'wh65_sig': 'wh65_sig', 'wh68_batt': 'wh68_batt', 'wh68_sig': 'wh68_sig',
'windchill': 'windchill', 'windDir': 'winddir', 'windGust': 'gustspeed',
'windSpeed': 'windspeed', 'ws80_batt': 'ws80_batt', 'ws80_sig': 'ws80_sig',
'yearRain': 'rainyear'}
Apr 27 20:59:25 weewx-pi weewx[2278] INFO user.gw1000: driver version is
0.3.1
Apr 27 20:59:25 weewx-pi weewx[2278] INFO user.gw1000: GW1000 address is
192.168.1.7:45000
Apr 27 20:59:25 weewx-pi weewx[2278] INFO user.gw1000: poll interval is 20
seconds
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG user.gw1000: max tries is 3,
retry wait time is 10 seconds
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG user.gw1000: broadcast address
is b'255.255.255.255':46000, socket timeout is 2 seconds
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Loading service
weewx.engine.StdTimeSynch
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Finished loading
service weewx.engine.StdTimeSynch
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Loading service
weewx.engine.StdConvert
Apr 27 20:59:25 weewx-pi weewx[2278] INFO weewx.engine: StdConvert target
unit is 0x1
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Finished loading
service weewx.engine.StdConvert
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Loading service
weewx.engine.StdCalibrate
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Finished loading
service weewx.engine.StdCalibrate
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Loading service
weewx.engine.StdQC
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Finished loading
service weewx.engine.StdQC
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.engine: Loading service
weewx.wxservices.StdWXCalculate
Apr 27 20:59:25 weewx-pi weewx[2278] INFO weewx.wxservices: StdWXCalculate
will use data binding wx_binding
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
Traceback (most recent call last):
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: **** File
"/home/weewx/bin/user/gw1000.py", line 2827, in run
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
self.client.collect_sensor_data()
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: **** File
"/home/weewx/bin/user/gw1000.py", line 2282, in collect_sensor_data
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
queue_data = self.get_live_sensor_data()
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: **** File
"/home/weewx/bin/user/gw1000.py", line 2329, in get_live_sensor_data
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
self.update_sensor_id_data()
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: **** File
"/home/weewx/bin/user/gw1000.py", line 2344, in update_sensor_id_data
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
self.sensors_obj.set_sensor_id_data(sensor_id_data)
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: **** File
"/home/weewx/bin/user/gw1000.py", line 4108, in set_sensor_id_data
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
batt_fn = Gw1000Collector.sensor_ids[data[index:index + 1]]['batt_fn']
Apr 27 20:59:25 weewx-pi weewx[2278] CRITICAL user.gw1000: ****
KeyError: b'0'
Apr 27 20:59:25 weewx-pi weewx[2278] DEBUG weewx.manager: Daily summary
version is 4.0
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/8f67626e-8850-427c-b22a-616252e8b99cn%40googlegroups.com.