Best guess is it didn't really stop and the weatherflowudp driver tried to 
bind to the network when another process was already listening to that 
port.   Sometimes things can get a little confused when you do a lot of 
restarts.   Try stopping weewx 'twice' and then starting it.  It should 
work.

On Thursday, September 2, 2021 at 5:31:51 AM UTC-7 rons...@gmail.com wrote:

> I get this error when I restart weewx.  any ideas?
>
> Sep  2 08:28:40 raspberrypi weewx[1293] INFO __main__: Terminating weewx 
> version 4.5.1
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****  
> Traceback (most recent call last):
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****    File 
> "/usr/share/weewx/weewxd", line 157, in main
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****      
> engine.run()
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 208, in run
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****      for 
> packet in self.console.genLoopPackets():
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****    File 
> "/usr/share/weewx/user/weatherflowudp.py", line 574, in genLoopPackets
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****      for 
> udp_packet in self.gen_udp_packets():
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****    File 
> "/usr/share/weewx/user/weatherflowudp.py", line 595, in gen_udp_packets
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****      m0, 
> host_info = sock.recvfrom(1024)
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****    File 
> "/usr/share/weewx/weewxd", line 260, in sigTERMhandler
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****      
> raise Terminate
> Sep  2 08:28:40 raspberrypi weewx[1293] DEBUG __main__:     ****  Terminate
> Sep  2 08:28:40 raspberrypi weewx[25300]: Stopping weewx weather system: 
> weewx.
>
>

-- 
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/b3c6d325-ee26-46fe-b8a7-42d3e6d02918n%40googlegroups.com.

Reply via email to