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
Space problems with Python 2.7 #9
Comments
Thanks for the report, it works correctly for me with python-3.6.7 both pyhidapi and usb.core |
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" Python 2.7 Seems that I am facing also with caching problems. Is not forwarding always the new text. |
pyhidapi sees not so relible. I added a patch today to make it better. You may also want to try to disable loading of pyhidapi. Either by uninstalling or by misspelling it in the script, then it will fall back to usb.core. I wonder why python 2.7 works for you at all. I believe one of the latest patches killed the compatibility. This also needs fixing. |
Tested without pyhidapi or usb.core has same result. Installed Python 3.6 solved it. |
Using pyhidapi with python-2.7 explodes for me like this:
Where data[n] is a plain integer, oh well, it wants a char. that is bad. |
the original issue was caused by python-2.7 interpreting our charmap as ascii-bytes. We have to prefix the strings here with u"" to make them python-2.7 compatible. |
Hey,
Just want to inform you that the output of the text "Hello World" is "HelloäWorld".
The text was updated successfully, but these errors were encountered: