Skip to content

2to3 issue #13

@gthieleb

Description

@gthieleb
$ pythoscope --template nose common/planning.py	
ERROR: Oops, it seems that an internal Pythoscope error occurred. Please file a bug report at https://bugs.launchpad.net/pythoscope

Traceback (most recent call last):
  File "/home/user/envs/install/bin/pythoscope", line 9, in <module>
    load_entry_point('pythoscope==0.4.3', 'console_scripts', 'pythoscope')()
  File "/home/user/envs/install/local/lib/python2.7/site-packages/pythoscope/__init__.py", line 190, in main
    generate_tests(args, force, template)
  File "/home/user/envs/install/local/lib/python2.7/site-packages/pythoscope/__init__.py", line 117, in generate_tests
    project = Project.from_directory(find_project_directory(modules[0]))
  File "/home/user/envs/install/local/lib/python2.7/site-packages/pythoscope/store.py", line 69, in from_directory
    project = load_pickle_from(get_pickle_path(project_path))
  File "/home/user/envs/install/local/lib/python2.7/site-packages/pythoscope/util.py", line 365, in load_pickle_from
    obj = cPickle.load(fd)
TypeError: ('__init__() takes exactly 5 arguments (2 given)', <class 'lib2to3.pgen2.parse.ParseError'>, ("bad input: type=1, value='def', context=('\\n', (90, 0))",))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions