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

Fix Py3 utf-8 encode error #582

Merged
merged 1 commit into from Dec 15, 2017
Merged

Fix Py3 utf-8 encode error #582

merged 1 commit into from Dec 15, 2017

Conversation

Zen-CODE
Copy link
Member

When running buildozer using Python 3.5, I get

File "/home/richard/Repos/buildozer/buildozer/targets/android.py", line 974, in cmd_logcat
    show_output=True)
  File "/home/richard/Repos/buildozer/buildozer/__init__.py", line 314, in cmd
    stdout.write(chunk.decode('utf-8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 12525: invalid start byte

This PR seems to fix it :-)

@tito tito merged commit 7a41562 into master Dec 15, 2017
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 this pull request may close these issues.

None yet

2 participants