I just updated to 4.9.1 and am having similar problems..."unable to wake up Vantage console". I have a VP1 and I've rebooted the Pi and unplugged and replugged the serial-to-USB interface.
At reboot when Weewx first tries to start, it gets the unable to wakeup error. If I do a sudo /etc/init.d/weewx stop and then sudo /etc/init.d/weewx start, it starts OK. But I have yet to see it process an archive interval correctly. It's getting an unable to wakeup error every time.
FWIW, I was watching the syslog with tail -f and the try errors all spilled out at once, like it wasn't pausing between retries.
My setup up until now has been very stable. I'll go for months without any errors.
At update, I chose to keep my current weewx.conf, and I haven't made any changes. The only somewhat unexpected difference between my weewx.conf and
weewx.conf-4.9.1 is that the socket timeout parameter is not in 4.9.1. But that seems unrelated, and it's still in my weewx.conf anyway.
Walt
At initial startup:
Oct 28 08:20:56 raspberrypi weewx[907] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 28 08:20:56 raspberrypi weewx[894]: Starting weewx weather system: weewx.
Oct 28 08:20:56 raspberrypi systemd[1]: Started LSB: weewx weather system.
Oct 28 08:20:56 raspberrypi weewx[907] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Oct 28 08:20:56 raspberrypi weewx[907] ERROR weewx.engine: Import of driver failed: Unable to wake up Vantage console (<class 'weewx.WakeupError'>)
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** Traceback (most recent call last):
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** self.console = loader_function(config_dict, self)
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** return VantageService(engine, config_dict)
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in __init__
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** Vantage.__init__(self, **config_dict[DRIVER_NAME])
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in __init__
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** self._setup()
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in _setup
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** self.port.wakeup_console(max_tries=self.max_tries)
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in wakeup_console
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** raise weewx.WakeupError("Unable to wake up Vantage console")
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine: **** weewx.WakeupError: Unable to wake up Vantage console
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL __main__: Unable to load driver: Unable to wake up Vantage console
Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL __main__: **** Exiting...
Oct 28 08:20:56 raspberrypi kernel: [ 151.179492] pl2303 ttyUSB0: pl2303_read_int_callback - usb_submit_urb failed with result -1
At archive interval:
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: DMPAFT try #1; error: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: DMPAFT try #2; error: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: DMPAFT try #3; error: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: DMPAFT try #4; error: Unable to wake up Vantage console
Oct 28 08:45:16 raspberrypi weewx[1022] ERROR weewx.drivers.vantage: DMPAFT max tries (4) exceeded.
Oct 28 08:45:16 raspberrypi weewx[1022] INFO weewx.engine: Main loop exiting. Shutting engine down.
Oct 28 08:45:16 raspberrypi weewx[1022] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting archive data.
Oct 28 08:45:16 raspberrypi weewx[1022] CRITICAL __main__: **** Waiting 60 seconds then retrying...
Oct 28 08:46:17 raspberrypi weewx[1022] INFO __main__: retrying...