Weewx 4.9.1 usb.core.USBError: [Errno 32] Pipe error

132 views
Skip to first unread message

Claudio178

unread,
Nov 1, 2022, 3:48:42 AM11/1/22
to weewx-user
Hi,
I just upgraded from Version 4.8.0 to 4.9.1 and can not run weewx anymore because I am getting following error code:

weewx[20874] ERROR weewx.drivers.ws28xx:   File "/usr/lib/python3/dist-packages/usb/legacy.py", line 211, in controlMsg
weewx[20874] ERROR weewx.drivers.ws28xx:     timeout = timeout)
weewx[20874] ERROR weewx.drivers.ws28xx:   File "/usr/lib/python3/dist-packages/usb/core.py", line 1043, in ctrl_transfer
weewx[20874] ERROR weewx.drivers.ws28xx:     self.__get_timeout(timeout))
weewx[20874] ERROR weewx.drivers.ws28xx:   File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
weewx[20874] ERROR weewx.drivers.ws28xx:     timeout))
weewx[20874] ERROR weewx.drivers.ws28xx:   File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 595, in _check
weewx[20874] ERROR weewx.drivers.ws28xx:     raise USBError(_strerror(ret), ret, _libusb_errno[ret])
weewx[20874] ERROR weewx.drivers.ws28xx: usb.core.USBError: [Errno 32] Pipe error
weewx[20874] INFO weewx.drivers.ws28xx: Scanned 23 records: current=593 latest=651 remaining=58

does anyone else facing this error or know a solution for that?

Thx ;)

Tom Keffer

unread,
Nov 1, 2022, 6:33:09 AM11/1/22
to weewx...@googlegroups.com
The ws28xx driver has been unchanged since v4.6.0 and even that change had nothing to do with its functionality. 

Is it possible that the version of pyusb changed? Or, a different usb kernel module is being loaded? 

Try power cycling, then set debug=1, then restart weewxd. Post the log from restart through the first report cycle.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/16683d1f-56a5-4883-97c3-8063b6ab1a53n%40googlegroups.com.

michael.k...@gmx.at

unread,
Nov 18, 2022, 4:52:57 PM11/18/22
to weewx-user
I've upgraded to 4.9.1 and cannot reproduce the issue. Since I know Claudio178 personally, I know we have a very similar setup and we are running weewx with ws28xx on a raspberrypi4. However, his station is a newer revision. We'll check it out the next few days.

Claudio178

unread,
Nov 20, 2022, 5:52:45 AM11/20/22
to weewx-user
After a while I´ve done another apt update/upgrade of my os and then retried to upgrade weewx, seems to work now. What exactly happened before, I do not know, but this thread can be closed as my problem is solved.
Thx, to you all.
Reply all
Reply to author
Forward
0 new messages