Oh, I should probably add, Ubuntu 18.04, python3 


On Thursday, May 7, 2020 at 1:57:23 PM UTC-6, pilotbri wrote:
>
> New install of WeeWX and WeatherflowUDP and I get the following error in 
> the log
>
>
> May  7 13:20:03 bs-medianuc weewx[20711] INFO weewx.engine: Starting main 
> packet loop.
> May  7 13:20:03 bs-medianuc /weewxd: weatherflowudp: MainThread: Listening 
> for UDP broadcasts to IP address <broadcast> on port 50222, with timeout 90 
> and share_socket False...
> May  7 13:20:06 bs-medianuc weewx[20711] INFO weewx.engine: Main loop 
> exiting. Shutting engine down.
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__: Caught 
> unrecoverable exception:
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****  a 
> bytes-like object is required, not 'str'
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****  
> Traceback (most recent call last):
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****    
> File "/home/weewx/bin/weewxd", line 154, in main
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****      
> engine.run()
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****    
> File "/home/weewx/bin/weewx/engine.py", line 188, in run
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****      
> for packet in self.console.genLoopPackets():
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****    
> File "/home/weewx/bin/user/weatherflowudp.py", line 295, in genLoopPackets
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****      
> m0 = m[0].replace(",null",",None")
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****  
> TypeError: a bytes-like object is required, not 'str'
> May  7 13:20:06 bs-medianuc weewx[20711] CRITICAL __main__:     ****  
> Exiting.
>
> any ideas?
>
>
>

-- 
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/b30f4cfa-cc4d-4e0a-86ce-b0d01aa8f09f%40googlegroups.com.

Reply via email to