Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decode error #9

Closed
cmp-cc opened this issue Oct 28, 2022 · 0 comments · Fixed by #11
Closed

decode error #9

cmp-cc opened this issue Oct 28, 2022 · 0 comments · Fixed by #11

Comments

@cmp-cc
Copy link
Contributor

cmp-cc commented Oct 28, 2022

Python version 3.8.8
D:\Software-Repository\use\Wireshark>py ./rvi_capture.py - | wireshark -k -i -

capturing to ...
** (wireshark:6808) 15:58:52.396921 [Capture MESSAGE] -- Capture Start ...
** (wireshark:6808) 15:58:52.630311 [Capture MESSAGE] -- Capture started
** (wireshark:6808) 15:58:52.630729 [Capture MESSAGE] -- File: "C:\Users\ADMINI~1\AppData\Local\Temp\wireshark_-C53SU1.pcapng"
2627 packets captured.
Traceback (most recent call last):
File "./rvi_capture.py", line 382, in
main()
File "./rvi_capture.py", line 372, in main
packet_dumper.run(packet_callback)
File "./rvi_capture.py", line 274, in run
for pkt in self.pkt_iter:
File "./rvi_capture.py", line 207, in iter
yield ctp(chunk)
File "./rvi_capture.py", line 227, in _chunk_to_packet
comm = comm.rstrip(b'\0').decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
** (wireshark:6808) 15:59:20.850844 [Capture MESSAGE] -- Capture stopped.

This was referenced Oct 28, 2022
@gh2o gh2o closed this as completed in #11 Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant