Thanks a lot! I know what to do now. On Saturday, July 4, 2020 at 11:41:38 PM UTC+2, gjr80 wrote: > > The line you highlighted is a consequence of the error rather than the > cause. When WeeWX reloads the driver WeeWX essentially does a soft restart, > it shuts everything down beforehand. > > Here is you error: > > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: Caught OSError: > timed out > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** Traceback > (most recent call last): > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** File > "/home/weewx/bin/weewxd", line 154, in main > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** > engine.run() > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 188, in run > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** for > packet in self.console.genLoopPackets(): > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** File > "/home/weewx/bin/user/weatherlinkliveudp.py", line 414, in genLoopPackets > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** data, > wherefrom = comsocket.recvfrom(2048) > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** > socket.timeout: timed out > Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: **** Waiting 10 > seconds then retrying... > Jul 4 18:43:00 celsius weewx[900] INFO __main__: retrying... > > If you don’t want a driver reload you need to alter weatherlinkliveudp.py > to tolerate a socket.timeout error. This is a common requirement when you > have a driver (or for that matter a service) that relies on an external > system; your driver/service needs to be able to handle the case where the > external service does not respond. > > Gary
-- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/21e9ca10-634e-4e33-9edd-b587a3a2e85eo%40googlegroups.com.