application crashes when call 'pythoscope'

Bug #1199926 reported by Ruslan Khozinov on 2013-07-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

INFO: Inspecting module
ERROR: Oops, it seems that an internal Pythoscope error occurred. Please file a bug report at

Traceback (most recent call last):
  File "/usr/local/bin/pythoscope", line 9, in <module>
    load_entry_point('pythoscope==0.4.3', 'console_scripts', 'pythoscope')()
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/", line 184, in main
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/", line 112, in init_project
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/inspector/", line 55, in inspect_project_statically
    return add_and_update_modules(project) + \
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/inspector/", line 37, in add_and_update_modules
    static.inspect_module(project, modpath)
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/inspector/", line 130, in inspect_module
    return inspect_code(project, path, read_file_contents(path))
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/inspector/", line 135, in inspect_code
    tree = parse(code)
  File "/usr/local/lib/python2.7/dist-packages/pythoscope/", line 82, in parse
    result = drv.parse_string(code, True)
  File "/usr/lib/python2.7/lib2to3/pgen2/", line 106, in parse_string
    return self.parse_tokens(tokens, debug)
  File "/usr/lib/python2.7/lib2to3/pgen2/", line 60, in parse_tokens
    prefix += value
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 14: ordinal not in range(128)

Michal Kwiatkowski (ruby) wrote :

Thank you for reporting this.

This bug seems related:

Unfortunately, I don't have time to work on Pythoscope nowadays, so I can't tell when I'll be able to look at this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers