Stack trace:
Stack trace:
File "/home/john/.virtualenvs/treads/bin/pythoscope", line 11, in <module>
sys.exit(main())
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/__init__.py", line 190, in main
generate_tests(args, force, template)
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/__init__.py", line 118, in generate_tests
inspect_project(project)
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/inspector/__init__.py", line 12, in inspect_project
updates = inspect_project_statically(project)
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/inspector/__init__.py", line 55, in inspect_project_statically
return add_and_update_modules(project) + \
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/inspector/__init__.py", line 37, in add_and_update_modules
static.inspect_module(project, modpath)
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/inspector/static.py", line 130, in inspect_module
return inspect_code(project, path, read_file_contents(path))
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/inspector/static.py", line 135, in inspect_code
tree = parse(code)
File "/home/john/.virtualenvs/treads/local/lib/python2.7/site-packages/pythoscope/astbuilder.py", line 82, in parse
result = drv.parse_string(code, True)
File "/usr/lib/python2.7/lib2to3/pgen2/driver.py", line 106, in parse_string
return self.parse_tokens(tokens, debug)
File "/usr/lib/python2.7/lib2to3/pgen2/driver.py", line 60, in parse_tokens
prefix += value
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12: ordinal not in range(128)
Hi Derek, thank you for reporting this!
Have you tried using the pythoscope version in trunk? See the first comment in https:/ /bugs.launchpad .net/pythoscope /+bug/922540