Mine did it with Python 2, HTPC Intel MB with Fedora on it. I never did notice the USB changing, but it's very possible.
I'd go back and check, but I'm now on a Vantage Vue.. :) On Tuesday, December 15, 2020 at 6:11:45 AM UTC-6 tke...@gmail.com wrote: > Issue #578 <https://github.com/weewx/weewx/issues/578> addresses this > problem with the WMR200. Unfortunately, no fix has been found. > > What kind of computer are you using? A Raspberry Pi? Something else? > > On Tue, Dec 15, 2020 at 2:36 AM mtev...@gmail.com <mtev...@gmail.com> > wrote: > >> Hello. >> I have a problem. Weewx crashes regularly. Here are the log. >> Do you have any ideas ? >> >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.drivers.wmr200: >> open_device() Unable to claim USB interface. Reason: [Errno 16] Resource >> busy >> Dec 15 21:30:42 Nas weewx[495153] ERROR weewx.engine: Import of driver >> failed: [Errno 16] Resource busy (<class 'weewx.WakeupError'>) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> Traceback (most recent call last): >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/share/weewx/weewx/drivers/wmr200.py", line 193, in open_device >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> self.handle.claimInterface(self.interface) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/legacy.py", line 230, in claimInterface >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> util.claim_interface(self.dev, interface) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/util.py", line 205, in claim_interface >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> device._ctx.managed_claim_interface(device, interface) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/core.py", line 102, in wrapper >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> return f(self, *args, **kwargs) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/core.py", line 167, in >> managed_claim_interface >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> self.backend.claim_interface(self.handle, i) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 811, in >> claim_interface >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> _check(self.lib.libusb_claim_interface(dev_handle.handle, intf)) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 595, in >> _check >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> raise USBError(_strerror(ret), ret, _libusb_errno[ret]) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> usb.core.USBError: [Errno 16] Resource busy >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** During >> handling of the above exception, another exception occurred: >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> Traceback (most recent call last): >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/share/weewx/weewx/engine.py", line 109, in setupStation >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> self.console = loader_function(config_dict, self) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/share/weewx/weewx/drivers/wmr200.py", line 58, in loader >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> return WMR200(**config_dict[DRIVER_NAME]) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/share/weewx/weewx/drivers/wmr200.py", line 1468, in __init__ >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> self.usb_device.open_device() >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** File >> "/usr/share/weewx/weewx/drivers/wmr200.py", line 196, in open_device >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> raise weewx.WakeupError(exception) >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL weewx.engine: **** >> weewx.WakeupError: [Errno 16] Resource busy >> Dec 15 21:30:42 Nas weewx[495153] CRITICAL __main__: Unable to load >> driver: [Errno 16] Resource busy >> Dec 15 21:30:42 Nas weewx[495153] 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 weewx-user+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/6112d4f8-8e15-429a-96d1-6ecd7ce5a1ean%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/6112d4f8-8e15-429a-96d1-6ecd7ce5a1ean%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c9ed4810-09c1-469a-8419-58d7e38fd15an%40googlegroups.com.