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/fb9786bd-617d-8844-83eb-4f2208d0515c%40gmail.com.
OpenPGP_0x55BE65AD1B41D696.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
