On Tuesday, 18 August 2020 13:49:39 UTC+10, Graham Eddy wrote:
>
> unable to reproduce error - driver too reliable!
>
> sending the debug==3 logs anyway (direct to gary rather than clog up the 
> forum) in case they prove useful later.
> three logs, one with GW1000 disconnected a bit more than 30 secs, another 
> with just a few secs disconnection and another much longer (about 15 mins) 
> - with suffix .txt (sorry about previous .log).
> at that debug level there is a lot of noise from my Alarms service…
>

Thanks, replied separately re the logs. 


> i must have hit a corner case on my first test.
> i don’t know weewx guts well enough but OSError exception (rather than 
> IOError) coming from StdPrint sounds very strange, maybe a resource 
> exhaustion
>

I still can't quite get my head around exactly what happened, in some 
regards it looked like the driver (run as a service in this case) was sent 
a command to shutdown. I have found some faulty logic in the lost contact 
handling in the driver that I believe could cause such a shutdown if the 
GW1000 was lost. I need to work through that logic again and I need to look 
at where the OSError was coming from. But that will have to wait a few days.
 

>
> Q: “Is there anything noteworthy about your GW1000/WeeWX machine network 
> connections? Does the log cover two disconnections of the GW1000?"
> A: single disconnect, while moving GW1000 to its permanent position ready 
> for cutover. no unusual config - both server (RPi 4) and GW1000 on wifi 
> only, no service interruptions during tests, no weird interface-bending apps
>

Just a single disconnect, interesting that that OSError was recurring, I 
first thought you had two disconnections. Makes me think there was 
something else going on but it stills seems to have been triggered by the 
GW1000 disconnection. 

Gary

-- 
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/26053ae7-d6b0-40fe-82c8-2c539967441ao%40googlegroups.com.

Reply via email to