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

Python AttributeError: 'str' object has no attribute 'decode' in fskdemodgui.py #8

Open
ianb888 opened this issue Aug 19, 2023 · 1 comment

Comments

@ianb888
Copy link

ianb888 commented Aug 19, 2023

On line 174 of fskdemodgui.py is the following:

in_line = sys.stdin.readline().decode('ascii')

This line causes an exception, "AttributeError: 'str' object has no attribute 'decode'"

Changing this to in_line = sys.stdin.readline() works, but I am not sure what the ramifications are elsewhere in the code.

@darksidelemm
Copy link
Member

Ahh fskdemodgui is something I haven't use in quite a while, i've moved on to the web-interface version of Wenet. (Refer the Docker install guide)

It's possible there's some non python-3 compatible code in there that I need to look at.

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

2 participants