Weewx failed to start or run again.
Feb 9 12:57:01 raspberrypi systemd[1]: Started WeeWX.
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Initializing
weewxd version 5.0.0
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Command line:
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Using Python
3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Located at
/usr/bin/python3
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Platform
Linux-6.1.21-v8+-aarch64-with-glibc2.31
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Locale:
'en_US.UTF-8'
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Entry path:
/usr/share/weewx/weewxd.py
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: WEEWX_ROOT: /
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Configuration
file: /etc/weewx/weewx.conf
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: User module:
/etc/weewx/bin/user
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Debug: 0
Feb 9 12:57:02 raspberrypi weewxd[12139]: INFO weewx.engine: Loading
station type Vantage (weewx.drivers.vantage)
Feb 9 12:57:02 raspberrypi weewxd[12139]: ERROR weewx.engine: Import of
driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No
such file or directory: '/dev/ttyUSB0' (<class
'serial.serialutil.SerialException'>)
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
Traceback (most recent call last):
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322,
in open
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY |
os.O_NONBLOCK)
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
During handling of the above exception, another exception occurred:
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
Traceback (most recent call last):
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
self.console = loader_function(config_dict, self)
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
return VantageService(engine, config_dict)
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
Vantage.__init__(self, **config_dict[DRIVER_NAME])
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
self.port.openPort()
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in openPort
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
self.serial_port = serial.Serial(self.port, self.baudrate,
timeout=self.timeout)
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in
__init__
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
self.open()
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325,
in open
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
raise SerialException(msg.errno, "could not open port {}:
{}".format(self._port, msg))
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine: ****
serial.serialutil.SerialException: [Errno 2] could not open port
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL __main__: Unable to
load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such
file or directory: '/dev/ttyUSB0'
Feb 9 12:57:02 raspberrypi weewxd[12139]: CRITICAL __main__: ****
Exiting...
Feb 9 12:57:02 raspberrypi systemd[1]: weewx.service: Main process exited,
code=exited, status=4/NOPERMISSION
Feb 9 12:57:02 raspberrypi systemd[1]: weewx.service: Failed with result
'exit-code'.
However prior to that, this error was seen
Feb 8 14:45:56 raspberrypi kernel: [497794.276168] cp210x ttyUSB0:
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb 8 14:46:02 raspberrypi kernel: [497800.099892] cp210x ttyUSB0:
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb 8 14:46:06 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage: LOOP
batch try #1; error: Expected to read 99 chars; got 0 instead
Feb 8 14:46:33 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage:
Unable to wake up Vantage console
Feb 8 14:46:33 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage: LOOP
batch try #2; error: Unable to wake up Vantage console
Feb 8 14:46:59 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage:
Unable to wake up Vantage console
Feb 8 14:46:59 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage: LOOP
batch try #3; error: Unable to wake up Vantage console
Feb 8 14:46:59 raspberrypi weewxd[5015]: ERROR weewx.drivers.vantage: LOOP
max batch errors (3) exceeded.
Feb 8 14:46:59 raspberrypi weewxd[5015]: INFO weewx.engine: Main loop
exiting. Shutting engine down.
Feb 8 14:46:59 raspberrypi weewxd[5015]: INFO weewx.engine: Shutting down
StdReport thread
Feb 8 14:46:59 raspberrypi weewxd[5015]: CRITICAL __main__: Caught
WeeWxIOError: LOOP max batch errors (3) exceeded.
Feb 8 14:46:59 raspberrypi weewxd[5015]: CRITICAL __main__: ****
Waiting 60.0 seconds then retrying...
On Monday, February 5, 2024 at 5:37:30 PM UTC-6 Joe wrote:
> I replaced the USB cable, and it works now.
>
> I dont have the ferrite cores on it yet though. Trying it without them.
>
>
>
>
> On Monday, February 5, 2024 at 7:04:52 AM UTC-6 Tom Keffer wrote:
>
>> Try removing modemmanager:
>>
>> *sudo apt purge modemmanager*
>>
>>
>>
>> On Mon, Feb 5, 2024 at 3:53 AM Joe <[email protected]> wrote:
>>
>>>
>>> Even tried a new port # on the PI computer. It sees the davis but hates
>>> it
>>>
>>>
>>> Feb 5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__: ****
>>> Exiting...
>>> Feb 5 05:48:15 raspberrypi systemd[1]: weewx.service: Main process
>>> exited, code=exited, status=4/NOPERMISSION
>>> Feb 5 05:48:15 raspberrypi systemd[1]: weewx.service: Failed with
>>> result 'exit-code'.
>>> Feb 5 05:48:47 raspberrypi kernel: [206364.060056] usb 1-1.3: USB
>>> disconnect, device number 32
>>> Feb 5 05:48:47 raspberrypi kernel: [206364.060992] cp210x ttyUSB0:
>>> cp210x converter now disconnected from ttyUSB0
>>> Feb 5 05:48:47 raspberrypi kernel: [206364.061124] cp210x 1-1.3:1.0:
>>> device disconnected
>>> Feb 5 05:48:51 raspberrypi kernel: [206368.742960] usb 1-1.2: new
>>> full-speed USB device number 33 using xhci_hcd
>>> Feb 5 05:48:52 raspberrypi kernel: [206368.823208] usb 1-1.2: device
>>> descriptor read/64, error -32
>>> Feb 5 05:48:52 raspberrypi kernel: [206369.011191] usb 1-1.2: device
>>> descriptor read/64, error -32
>>> Feb 5 05:48:52 raspberrypi kernel: [206369.198959] usb 1-1.2: new
>>> full-speed USB device number 34 using xhci_hcd
>>> Feb 5 05:48:52 raspberrypi kernel: [206369.279207] usb 1-1.2: device
>>> descriptor read/64, error -32
>>> Feb 5 05:48:52 raspberrypi kernel: [206369.467193] usb 1-1.2: device
>>> descriptor read/64, error -32
>>> Feb 5 05:48:52 raspberrypi kernel: [206369.575606] usb 1-1-port2:
>>> attempt power cycle
>>> Feb 5 05:48:53 raspberrypi kernel: [206370.178963] usb 1-1.2: new
>>> full-speed USB device number 35 using xhci_hcd
>>> Feb 5 05:48:53 raspberrypi kernel: [206370.179245] usb 1-1.2: Device
>>> not responding to setup address.
>>> Feb 5 05:48:53 raspberrypi kernel: [206370.387214] usb 1-1.2: Device
>>> not responding to setup address.
>>> Feb 5 05:48:53 raspberrypi kernel: [206370.594992] usb 1-1.2: device
>>> not accepting address 35, error -71
>>> Feb 5 05:49:14 raspberrypi kernel: [206391.719029] usb 1-1.2: new
>>> full-speed USB device number 37 using xhci_hcd
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.824466] usb 1-1.2: New USB
>>> device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.824500] usb 1-1.2: New USB
>>> device strings: Mfr=1, Product=2, SerialNumber=3
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.824518] usb 1-1.2: Product:
>>> CP2102 USB to UART Bridge Controller
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.824532] usb 1-1.2:
>>> Manufacturer: Silicon Labs
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.824545] usb 1-1.2:
>>> SerialNumber: 0001
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.830290] cp210x 1-1.2:1.0:
>>> cp210x converter detected
>>> Feb 5 05:49:15 raspberrypi kernel: [206391.836351] usb 1-1.2: cp210x
>>> converter now attached to ttyUSB0
>>> Feb 5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37:
>>> "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2"
>>> Feb 5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP
>>> device
>>> Feb 5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37:
>>> "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2"
>>> Feb 5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP
>>> device
>>> Feb 5 05:49:17 raspberrypi ModemManager[453]: <info> [base-manager]
>>> couldn't check support for device
>>> '/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2':
>>>
>>> not supported by any plugin
>>> Feb 5 05:50:33 raspberrypi systemd[1]: Started WeeWX.
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Initializing
>>> weewxd version 5.0.0
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Command line:
>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Using Python
>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Located at
>>> /usr/bin/python3
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Platform
>>> Linux-6.1.21-v8+-aarch64-with-glibc2.31
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Locale:
>>> 'en_US.UTF-8'
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Entry path:
>>> /usr/share/weewx/weewxd.py
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: WEEWX_ROOT: /
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Configuration
>>> file: /etc/weewx/weewx.conf
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: User module:
>>> /etc/weewx/bin/user
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Debug: 0
>>> Feb 5 05:50:34 raspberrypi weewxd[4471]: INFO weewx.engine: Loading
>>> station type Vantage (weewx.drivers.vantage)
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.195927] cp210x ttyUSB0:
>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.196586] cp210x ttyUSB0:
>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.268421] usb 1-1.2: USB
>>> disconnect, device number 37
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.268765] cp210x ttyUSB0:
>>> failed set request 0x7 status: -19
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.268797] cp210x ttyUSB0:
>>> failed set request 0x12 status: -19
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.268814] cp210x ttyUSB0:
>>> failed set request 0x0 status: -19
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.269465] cp210x ttyUSB0:
>>> cp210x converter now disconnected from ttyUSB0
>>> Feb 5 05:50:34 raspberrypi kernel: [206471.269578] cp210x 1-1.2:1.0:
>>> device disconnected
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: ERROR weewx.drivers.vantage:
>>> Unable to wake up Vantage console
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: ERROR weewx.engine: Import of
>>> driver failed: Unable to wake up Vantage console (<class
>>> 'weewx.WakeupError'>)
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** Traceback (most recent call last):
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** self.console = loader_function(config_dict, self)
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** return VantageService(engine, config_dict)
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in
>>> __init__
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 539, in
>>> __init__
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** self._setup()
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 1440, in
>>> _setup
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** self.port.wakeup_console(max_tries=self.max_tries)
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 113, in
>>> wakeup_console
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** raise weewx.WakeupError("Unable to wake up Vantage console")
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL weewx.engine:
>>> **** weewx.WakeupError: Unable to wake up Vantage console
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL __main__: Unable to
>>> load driver: Unable to wake up Vantage console
>>> Feb 5 05:50:39 raspberrypi weewxd[4471]: CRITICAL __main__: ****
>>> Exiting...
>>> Feb 5 05:50:39 raspberrypi systemd[1]: weewx.service: Main process
>>> exited, code=exited, status=4/NOPERMISSION
>>> Feb 5 05:50:39 raspberrypi systemd[1]: weewx.service: Failed with
>>> result 'exit-code'.
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.559257] usb 1-1.2: new
>>> full-speed USB device number 38 using xhci_hcd
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.664702] usb 1-1.2: New USB
>>> device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.664736] usb 1-1.2: New USB
>>> device strings: Mfr=1, Product=2, SerialNumber=3
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.664754] usb 1-1.2: Product:
>>> CP2102 USB to UART Bridge Controller
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.664769] usb 1-1.2:
>>> Manufacturer: Silicon Labs
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.664782] usb 1-1.2:
>>> SerialNumber: 0001
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.670692] cp210x 1-1.2:1.0:
>>> cp210x converter detected
>>> Feb 5 05:51:15 raspberrypi kernel: [206512.676544] usb 1-1.2: cp210x
>>> converter now attached to ttyUSB0
>>> Feb 5 05:51:15 raspberrypi mtp-probe: checking bus 1, device 38:
>>> "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2"
>>> Feb 5 05:51:15 raspberrypi mtp-probe: bus: 1, device: 38 was not an MTP
>>> device
>>> Feb 5 05:51:16 raspberrypi mtp-probe: checking bus 1, device 38:
>>> "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2"
>>> Feb 5 05:51:16 raspberrypi mtp-probe: bus: 1, device: 38 was not an MTP
>>> device
>>> Feb 5 05:51:18 raspberrypi ModemManager[453]: <info> [base-manager]
>>> couldn't check support for device
>>> '/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2':
>>>
>>> not supported by any plugin
>>> On Saturday, February 3, 2024 at 2:37:15 PM UTC-6 Peter Fletcher wrote:
>>>
>>>> It is very unlikely to be the Pi power supply if the Pi itself is not
>>>> flagging up power problems.
>>>>
>>>> On Friday, February 2, 2024 at 9:23:04 PM UTC-5 Joe wrote:
>>>>
>>>>> Its a standard PI4. No external USB devices are connected except for
>>>>> the Vantage data logger.
>>>>> There are coils on both ends of the cable, too. I'm going to try to
>>>>> find another power supply though.
>>>>>
>>>>> On Friday, February 2, 2024 at 7:53:40 PM UTC-6 Tom Keffer wrote:
>>>>>
>>>>>> Is this a serial logger with a serial-to-USB converter? Or, a USB
>>>>>> logger? If the former, try another converter.
>>>>>>
>>>>>> A couple of ferrite coils might help. See the wiki article on
>>>>>> troubleshooting
>>>>>> Davis stations
>>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station>
>>>>>> .
>>>>>>
>>>>>> It's also possible that the power supply of the RPi is failing and
>>>>>> can't deliver enough power. Try another power supply, or a powered USB
>>>>>> hub.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 2, 2024 at 5:36 PM Joe <[email protected]> wrote:
>>>>>>
>>>>>>> So this has starting being a problem again. Its not really related
>>>>>>> to version 5. But it is still happening.
>>>>>>>
>>>>>>> This is a PI4 using the wifi option and a decent power connection
>>>>>>> and USB cord .
>>>>>>>
>>>>>>> It seems to be a USB detection / conversion problem.
>>>>>>>
>>>>>>> I've tried restarting the vantage a few times, and the PI computer
>>>>>>> pull the USB plug, and it restarts the USB device, attempts to begin
>>>>>>> pulling data and gets an error.
>>>>>>>
>>>>>>> Very frustrating after working for such a long time.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Feb 2 19:30:56 raspberrypi weewxd[920]: INFO __main__: Starting up
>>>>>>> weewx version 5.0.0
>>>>>>> Feb 2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Clock
>>>>>>> error is -197.26 seconds (positive is fast)
>>>>>>> Feb 2 19:30:57 raspberrypi weewxd[920]: INFO weewx.drivers.vantage:
>>>>>>> Clock set to 2024-02-02 19:30:58 CST (1706923858)
>>>>>>> Feb 2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Using
>>>>>>> binding 'wx_binding' to database 'weewx.sdb'
>>>>>>> Feb 2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager:
>>>>>>> Starting backfill of daily summaries
>>>>>>> Feb 2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Daily
>>>>>>> summaries up to date
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.892512] cp210x ttyUSB0:
>>>>>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.892962] cp210x ttyUSB0:
>>>>>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.983918] usb 1-1.3: USB
>>>>>>> disconnect, device number 7
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.984264] cp210x ttyUSB0:
>>>>>>> failed set request 0x7 status: -19
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.984298] cp210x ttyUSB0:
>>>>>>> failed set request 0x12 status: -19
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.984316] cp210x ttyUSB0:
>>>>>>> failed set request 0x0 status: -19
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.985025] cp210x ttyUSB0:
>>>>>>> cp210x converter now disconnected from ttyUSB0
>>>>>>> Feb 2 19:30:59 raspberrypi kernel: [ 1426.985139] cp210x 1-1.3:1.0:
>>>>>>> device disconnected
>>>>>>> Feb 2 19:30:59 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: SerialException on read.
>>>>>>> Feb 2 19:30:59 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: **** device reports readiness to read but
>>>>>>> returned no data (device disconnected or multiple access on port?)
>>>>>>> Feb 2 19:30:59 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: **** Is there a competing process running??
>>>>>>> Feb 2 19:31:03 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: Unable to wake up Vantage console
>>>>>>> Feb 2 19:31:03 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: DMPAFT try #1; error: Unable to wake up Vantage
>>>>>>> console
>>>>>>> Feb 2 19:31:08 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: Unable to wake up Vantage console
>>>>>>> Feb 2 19:31:08 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: DMPAFT try #2; error: Unable to wake up Vantage
>>>>>>> console
>>>>>>> Feb 2 19:31:13 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: Unable to wake up Vantage console
>>>>>>> Feb 2 19:31:13 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: DMPAFT try #3; error: Unable to wake up Vantage
>>>>>>> console
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: Unable to wake up Vantage console
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: DMPAFT try #4; error: Unable to wake up Vantage
>>>>>>> console
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: DMPAFT max tries (4) exceeded.
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: INFO weewx.engine: Main
>>>>>>> loop exiting. Shutting engine down.
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: SerialException on write.
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: ERROR
>>>>>>> weewx.drivers.vantage: **** write failed: [Errno 5] Input/output
>>>>>>> error
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: Caught
>>>>>>> WeeWxIOError: Max tries exceeded while getting archive data.
>>>>>>> Feb 2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: ****
>>>>>>> Waiting 60.0 seconds then retrying...
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: INFO __main__: retrying...
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: INFO weewx.engine: Loading
>>>>>>> station type Vantage (weewx.drivers.vantage)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: ERROR weewx.engine: Import
>>>>>>> of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2]
>>>>>>> No
>>>>>>> such file or directory: '/dev/ttyUSB0' (<class
>>>>>>> 'serial.serialutil.SerialException'>)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** Traceback (most recent call last):
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/lib/python3/dist-packages/serial/serialposix.py",
>>>>>>> line
>>>>>>> 322, in open
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY |
>>>>>>> os.O_NONBLOCK)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** FileNotFoundError: [Errno 2] No such file or directory:
>>>>>>> '/dev/ttyUSB0'
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> ****
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** During handling of the above exception, another exception
>>>>>>> occurred:
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> ****
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** Traceback (most recent call last):
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/share/weewx/weewx/engine.py", line 115, in
>>>>>>> setupStation
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** self.console = loader_function(config_dict, self)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in
>>>>>>> loader
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** return VantageService(engine, config_dict)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in
>>>>>>> __init__
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in
>>>>>>> __init__
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** self.port.openPort()
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in
>>>>>>> openPort
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** self.serial_port = serial.Serial(self.port, self.baudrate,
>>>>>>> timeout=self.timeout)
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/lib/python3/dist-packages/serial/serialutil.py",
>>>>>>> line
>>>>>>> 244, in __init__
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** self.open()
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** File "/usr/lib/python3/dist-packages/serial/serialposix.py",
>>>>>>> line
>>>>>>> 325, in open
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** raise SerialException(msg.errno, "could not open port {}:
>>>>>>> {}".format(self._port, msg))
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:
>>>>>>> **** serial.serialutil.SerialException: [Errno 2] could not open port
>>>>>>> /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL __main__: Unable
>>>>>>> to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2]
>>>>>>> No
>>>>>>> such file or directory: '/dev/ttyUSB0'
>>>>>>> Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL __main__: ****
>>>>>>> Exiting...
>>>>>>> Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Main process
>>>>>>> exited, code=exited, status=4/NOPERMISSION
>>>>>>> Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Failed with
>>>>>>> result 'exit-code'.
>>>>>>> Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Consumed
>>>>>>> 1.013s CPU time.
>>>>>>>
>>>>>>> --
>>>>>>> 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/d891413b-664b-48fa-9f6e-ed66acaff4dbn%40googlegroups.com
>>>>>>>
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/d891413b-664b-48fa-9f6e-ed66acaff4dbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>> 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/9275c76b-8c34-437c-87ff-ba2fb6a53d50n%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/9275c76b-8c34-437c-87ff-ba2fb6a53d50n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
--
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/66980305-b3ec-448a-a7ad-f0496bc32011n%40googlegroups.com.