Did you ever get a resolution on this? I've been fighting it for some time 
now with my Google-fu pretty much leading me back here.

On Sunday, December 13, 2020 at 10:04:32 AM UTC-5 [email protected] 
wrote:

> pip3 was missing some file.  I ripped out pypthon3 and reinstalled 
> everything.  Then pip3 installed 
>
> pip3 install pypcap
>
> I think was also missing libpcap-dev and should have been installed by 
> dependency .  So basically wound up in some DLL hell.
>
> Seemed to resolve something as the diagnostic test runs with this output:
>
> PYTHONPATH=/usr/share/weewx python3.7 
> /usr/share/weewx/user/interceptor.py  --device=wu-client --mode=sniff 
> --iface=wlan0 --filter="src 10.3.141.99 and dst port 80"
> Exception in thread ServerThread:
>
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.7/threading.py", line 865, in run
>     self._target(*self._args, **self._kwargs)
>   File "/usr/share/weewx/user/interceptor.py", line 434, in run_server
>     self._server.run()
>   File "/usr/share/weewx/user/interceptor.py", line 490, in run
>     self.decode_ip_packet(0, pkt, ts)
>   File "/usr/share/weewx/user/interceptor.py", line 517, in 
> decode_ip_packet
>     (_timestamp, _pktlen, _fmt_bytes(data)))
>   File "/usr/share/weewx/user/interceptor.py", line 337, in _fmt_bytes
>     return ' '.join(['%02x' % ord(x) for x in data])
>   File "/usr/share/weewx/user/interceptor.py", line 337, in <listcomp>
>     return ' '.join(['%02x' % ord(x) for x in data])
> TypeError: ord() expected string of length 1, but int found
>
> Hopefully this output will be helpful.
>
> Thanks,
>
> Chris KQ6UP
> On 12/12/20 6:38 PM, gjr80 wrote:
>
> pip3 install pypcap
>
>

-- 
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/2488578e-2ffb-4f77-a8b1-fd4ef7c6368dn%40googlegroups.com.

Reply via email to