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

UnicodeDecodeError #57

Open
maximousblk opened this issue Mar 21, 2020 · 2 comments
Open

UnicodeDecodeError #57

maximousblk opened this issue Mar 21, 2020 · 2 comments

Comments

@maximousblk
Copy link

error

that is the error i'm getting. I installed it using pip and that's it. Is there anything else required?

@JoseDeFreitas
Copy link

Hello. I'm facing the same issue (just after running howmanypeoplearearound) but instead at position 6272 (Windows 10. Installed it through pip).

@Ruslannnn
Copy link

Hi, In my cp1521 I have same error, but with 0x98. It is because there is no 0x98 char in cp1251.
In oui.py I tried to change line 23
with open(to_file, 'wb') as oui_file:
to
with open(to_file, 'wb',encoding='utf-8') as oui_file:
but it doesn't help me too.

So I just commented line 20 in oui.py
#uri = 'http://standards-oui.ieee.org/oui/oui.txt'
but still have a problem.

Next step I found by Processmonitor a file oui.txt downloaded to my c:\windows\system32\oui.txt, converted it to ANSI by notepad++, and now I dont see this error =)

I had another problem - I am a windows user, and can't use tshark, so I can't run this program and test if my "solution" is a real solution of this problem =) I will test it later with some linux. Sorry if it is a wrong answer - I am a newbie in Python =)

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

No branches or pull requests

3 participants