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

TypeError: must be str, not bytes python 3.4 ubuntu server #104

Closed
cresg820 opened this issue Feb 5, 2015 · 3 comments
Closed

TypeError: must be str, not bytes python 3.4 ubuntu server #104

cresg820 opened this issue Feb 5, 2015 · 3 comments

Comments

@cresg820
Copy link

cresg820 commented Feb 5, 2015

I've installed prospector in a virtualenv with:
pip install prospector

I want to use it with my django project and from django root(where manage.py is) if i run
prospector

i get the following error

File ".....................env/bin/prospector", line 9, in <module>
     load_entry_point('prospector==0.9.6', 'console_scripts', 'prospector')()
File "....................env/lib/python3.4/site-packages/prospector/run.py", line 139, in main
     prospector.print_messages()
File "....................env/lib/python3.4/site-packages/prospector/run.py", line 111, in print_messages
     ).encode('utf-8'))
TypeError: must be str, not bytes
carlio added a commit that referenced this issue Feb 5, 2015
carlio added a commit that referenced this issue Feb 5, 2015
@carlio
Copy link
Contributor

carlio commented Feb 5, 2015

This should be fixed in the 0.9.7 release, thanks for the report! I think the bug is a combination of filesystem encoding and filenames so I am not 100% certain I fixed it.

@cresg820
Copy link
Author

cresg820 commented Feb 5, 2015

@carlio thanks for the immediate response
I've updated and now it works!

@carlio
Copy link
Contributor

carlio commented Feb 5, 2015

Good to hear, thanks!

@carlio carlio closed this as completed Feb 5, 2015
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