Gary - I wanted to pass along some logs from a gw1000 driver abort 
yesterday.

I had my home network down for a bit yesterday to do some firmware updates 
on my Ubiquiti USG, Switch and AcLite access point and weewx aborted rather 
quickly.

The external, wired, and wifi networks were indeed down for some minutes so 
missing some readings was expected, but I was hopeful that the driver would 
recover gracefully after things were back up,  however weewx totally 
aborted and the process was gone.

Just passing along the logs in case you wanted to take a look.  Thanks.



Dec 26 16:26:16 pi3jr weewx[18939] ERROR user.gw1000: Failed to obtain 
response to command 'CMD_GW1000_LIVEDATA' after 3 attempts
Dec 26 16:26:16 pi3jr weewx[18939] ERROR user.gw1000: Unable to obtain live 
sensor data
Dec 26 16:26:16 pi3jr weewx[18939] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Dec 26 16:26:16 pi3jr weewx[18939] INFO weewx.engine: Shutting down 
StdReport thread
Dec 26 16:26:36 pi3jr weewx[18939] ERROR weewx.engine: Unable to shut down 
StdReport thread
Dec 26 16:26:43 pi3jr weewx[18939] ERROR user.gw1000: Failed to obtain 
response to command 'CMD_GW1000_LIVEDATA' after 3 attempts
Dec 26 16:26:43 pi3jr weewx[18939] ERROR user.gw1000: Unable to obtain live 
sensor data
Dec 26 16:26:44 pi3jr weewx[18939] INFO user.gw1000: Gw1000Collector thread 
has been terminated
Dec 26 16:26:44 pi3jr weewx[18939] CRITICAL __main__: Caught WeeWxIOError: 
Failed to obtain response to command 'CMD_GW1000_LIVEDATA' after 3 attempts
Dec 26 16:26:44 pi3jr weewx[18939] CRITICAL __main__:     ****  Waiting 60 
seconds then retrying...
Dec 26 16:27:44 pi3jr weewx[18939] INFO __main__: retrying...
Dec 26 16:27:44 pi3jr weewx[18939] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Dec 26 16:27:44 pi3jr weewx[18939] INFO __main__: Debug is 0
Dec 26 16:27:44 pi3jr weewx[18939] INFO weewx.engine: Loading station type 
GW1000 (user.gw1000)
Dec 26 16:28:08 pi3jr weewx[18939] ERROR user.gw1000: Failed to obtain 
response to command 'CMD_READ_STATION_MAC' after 3 attempts
Dec 26 16:28:08 pi3jr weewx[18939] ERROR weewx.engine: Import of driver 
failed: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 
attempts (<class 'user.gw1000.GW1000IOError'>)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     **** 
 Traceback (most recent call last):
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 109, in setupStation
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 self.console = loader_function(config_dict, self)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 1293, in loader
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 return Gw1000Driver(**config_dict[DRIVER_NAME])
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 1568, in __init__
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 super(Gw1000Driver, self).__init__(**stn_dict)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 767, in __init__
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 debug_wind=self.debug_wind)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 1870, in __init__
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 lost_contact_log_period=lost_contact_log_period)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 2276, in __init__
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 self.mac = self.get_mac_address()
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 2407, in get_mac_address
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 return self.send_cmd_with_retries('CMD_READ_STATION_MAC')
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****    File 
"/usr/share/weewx/user/gw1000.py", line 2532, in send_cmd_with_retries
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     ****     
 raise GW1000IOError(_msg)
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL weewx.engine:     **** 
 user.gw1000.GW1000IOError: Failed to obtain response to command 
'CMD_READ_STATION_MAC' after 3 attempts
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL __main__: Unable to load 
driver: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 
attempts
Dec 26 16:28:08 pi3jr weewx[18939] CRITICAL __main__:     ****  Exiting...

-- 
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/46f7f72a-8348-4228-ba77-2e994366c7aen%40googlegroups.com.

Reply via email to