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

Python3 bytes => string output issue #1

Open
thisisparker opened this issue Apr 30, 2017 · 1 comment
Open

Python3 bytes => string output issue #1

thisisparker opened this issue Apr 30, 2017 · 1 comment

Comments

@thisisparker
Copy link

If you run this in Python3, you might run into a an issue during file output where it says "output must be a string, not bytes." It's easy to fix that by just removing the ".encode('utf-8')" part on line 119 of gutengrep.py, but based on some of the other functions here that might screw up the way it gets shown in the terminal on Windows.

In any case, I know this software is a few years old and if it works for you it's probably not worth changing. Filing this issue in case other people run into the problem, though.

@hugovk
Copy link
Owner

hugovk commented Apr 30, 2017

Thanks for the report! I originally wrote this for Python 2.7, but am happy for PRs for Python 3.

Don't worry about Windows, I can adjust that later if needed.

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