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

UnicodeDecodeError:'utf-8' codec can't decode byte 0x89 #65

Closed
simminni opened this issue Oct 30, 2014 · 4 comments
Closed

UnicodeDecodeError:'utf-8' codec can't decode byte 0x89 #65

simminni opened this issue Oct 30, 2014 · 4 comments

Comments

@simminni
Copy link

Prospector is throwing exception for python package "django-http-proxy". Version of package is 0.3.2.

Below is the stack trace:

Traceback (most recent call last):
  File "/usr/local/bin/prospector", line 9, in <module>
    load_entry_point('prospector==0.6.4', 'console_scripts', 'prospector')()
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/run.py", line 190, in main
    prospector = Prospector(config, paths[0])
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/run.py", line 34, in __init__
    self._determine_adapters()
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/run.py", line 46, in _determine_adapters
    for name, adaptor in autodetect_libraries(self.path):
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/autodetect.py", line 69, in autodetect_libraries
    adaptor_names = find_from_path(path)
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/autodetect.py", line 35, in find_from_path
    names |= find_from_path(item_path)
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/autodetect.py", line 35, in find_from_path
    names |= find_from_path(item_path)
  File "/usr/local/lib/python3.4/dist-packages/prospector-0.6.4-py3.4.egg/prospector/autodetect.py", line 38, in find_from_path
    names |= find_from_imports(fip.read())
  File "/usr/lib/python3.4/codecs.py", line 313, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 37: invalid start byte

Please let me know if you need any further details to look into this issue..

Could you please look into this ?

@simminni
Copy link
Author

simminni commented Nov 8, 2014

Below is stack trace for library: Pyjamas-Desktop

Traceback (most recent call last):
File "/usr/local/bin/prospector", line 9, in
load_entry_point('prospector==0.5.6', 'console_scripts', 'prospector')()
File "/usr/local/lib/python2.7/dist-packages/prospector/run.py", line 196, in main
messages=not config.summary_only,
File "/usr/local/lib/python2.7/dist-packages/prospector/formatters/text.py", line 95, in render
output += self.render_messages()
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc5 in position 57051: invalid continuation byte

@nikicat
Copy link

nikicat commented Nov 12, 2014

Affects me too

@jquast
Copy link
Contributor

jquast commented Nov 20, 2014

I have a fix for this on its way.

@jquast
Copy link
Contributor

jquast commented Jan 4, 2015

This issue may be closed.

@carlio carlio closed this as completed Jan 4, 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

4 participants