Hi, 
I have two related problems.

1. After several hours of work without any issue, Weewx complains:

Sep  2 15:41:01 localhost weewx[2166]: wmr200: Thread-4: I USB polling 
device thread for live data launched
Sep  2 15:41:01 localhost weewx[2166]: wmr200: MainThread: E write_device() 
Unable to send USB control message error sending control message: Broken 
pipe
Sep  2 15:41:01 localhost weewx[2166]: import of driver failed: error 
sending control message: Broken pipe (<class 'weewx.WeeWxIOError'>)
Sep  2 15:41:01 localhost weewx[2166]: engine: Unable to load driver: error 
sending control message: Broken pipe

This is a *USB write error*. *The weather station though continues to be 
seen by the system via lsusb*. *Any idea how to solve this?*

2. Consequently to this error, the *weewx service does not stop correctly*: 
it is in failed mode. So, I use *sudo systemctl reset-failed weewx* to *remove 
the failed status*, and then try to start it (sudo systemctl start weewx).
Before starting, I also check that *the weewx process is no longer running* 
(ps aex doesn't show it any longer indeed).
The problem however is that the* start does not succeed*, and in the logs 
of weewx, *weewx complains that it is "already running"* although it is 
not! Something (a file, a lock ?) is probably still there...

Sep  2 17:13:59 localhost weewx[13857]: Starting weewx weather system: 
weewx already running....

I am running Weewx version *3.8.2* on a *Raspberry Pi 3* with Raspbian. The 
weather station is a *WMR200*.

Thanks for your help

Axelle.



-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to