I am guessing the problem is that the WMR200 driver is not always releasing
the USB interface, despite saying it has.

One thing you can try is run weewxd with the loop_on_init flag. This will
cause it to keep trying. See the section *General
<http://www.weewx.com/docs/usersguide.htm#General>* in the User's Guide.

On Thu, May 7, 2020 at 4:30 AM Clo Di <[email protected]> wrote:

> Hello! I have been using Weewx for many years with raspbian on a
> raspberry with a WMR200 station.
> This week, I installed the new system (buster - 10.3) and the new version
> of weewx.
> I also used a new base SQLite.
> Weewx launch correctly for a  few hours. But there "regurlarly" an error.
> The unique solution is to stop and start weewx.
>
> Someone have an idea what is the source of the problem?
>
> $ sudo systemctl status weewx
> weewx.service - LSB: weewx weather system
>    Loaded: loaded (/etc/init.d/weewx; generated)
>    Active: active (running) since Tue 2020-05-05 23:10:17 CEST; 1 day 13h
> ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 5624 ExecStart=/etc/init.d/weewx start (code=exited,
> status=0/SUCCESS)
>    Memory: 29.5M
>    CGroup: /system.slice/weewx.service
>            └─5640 python3 /usr/share/weewx/weewxd --daemon
> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****      self.console = loader_function(config_dict, self)
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****    File "/usr/share/weewx/weewx/drivers/wmr200.py", line 58, in loader
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****      return WMR200(**config_dict[DRIVER_NAME])
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****    File "/usr/share/weewx/weewx/drivers/wmr200.py", line 1466, in
> __init__
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****      self.usb_device.open_device()
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****    File "/usr/share/weewx/weewx/drivers/wmr200.py", line 196, in
> open_device
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****      raise weewx.WakeupError(exception)
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL weewx.engine:
> ****  weewx.WakeupError: [Errno 16] Resource busy
> mai 07 06:41:05 domo python3[5640]: weewx[5640] CRITICAL __main__: Unable
> to load driver: [Errno 16] Resource busy
> mai 07 06:41:05 domo python3[5640]: weewx[5640] 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/b6aa4404-a1ef-476f-bbb0-e2a87fbfaff4%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b6aa4404-a1ef-476f-bbb0-e2a87fbfaff4%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/CAPq0zEB2UbyXt62K7adZQDbErbK2uEMRvSv2%2BQjYqLZ1kWu_pA%40mail.gmail.com.

Reply via email to