You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run interceptor in debug mode: Get the following error.
weewxuser@raspberrypi:/usr/share/weewx $ sudo PYTHONPATH=/usr/share/weewx python user/interceptor.py --device=wu-client --mode=sniff --iface=wlan0 --filter="src 192.168.50.9 and dst port 80" [sudo] password for weewxuser: Exception in thread ServerThread: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "/usr/share/weewx/user/interceptor.py", line 435, in run_server self._server.run() File "/usr/share/weewx/user/interceptor.py", line 491, in run self.decode_ip_packet(0, pkt, ts) File "/usr/share/weewx/user/interceptor.py", line 518, in decode_ip_packet (_timestamp, _pktlen, _fmt_bytes(data))) File "/usr/share/weewx/user/interceptor.py", line 338, in _fmt_bytes return ' '.join(['%02x' % ord(x) for x in data]) File "/usr/share/weewx/user/interceptor.py", line 338, in <listcomp> return ' '.join(['%02x' % ord(x) for x in data]) TypeError: ord() expected string of length 1, but int found
The text was updated successfully, but these errors were encountered:
Attempting to run interceptor in debug mode: Get the following error.
weewxuser@raspberrypi:/usr/share/weewx $ sudo PYTHONPATH=/usr/share/weewx python user/interceptor.py --device=wu-client --mode=sniff --iface=wlan0 --filter="src 192.168.50.9 and dst port 80" [sudo] password for weewxuser: Exception in thread ServerThread: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "/usr/share/weewx/user/interceptor.py", line 435, in run_server self._server.run() File "/usr/share/weewx/user/interceptor.py", line 491, in run self.decode_ip_packet(0, pkt, ts) File "/usr/share/weewx/user/interceptor.py", line 518, in decode_ip_packet (_timestamp, _pktlen, _fmt_bytes(data))) File "/usr/share/weewx/user/interceptor.py", line 338, in _fmt_bytes return ' '.join(['%02x' % ord(x) for x in data]) File "/usr/share/weewx/user/interceptor.py", line 338, in <listcomp> return ' '.join(['%02x' % ord(x) for x in data]) TypeError: ord() expected string of length 1, but int found
The text was updated successfully, but these errors were encountered: