pythoscope fails at first run

Bug #1018840 reported by Antonio Messina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pythoscope
New
Undecided
Unassigned

Bug Description

I'm trying pythoscope, and I am following the tutorial at http://pythoscope.org/tutorial.

After doing pythoscope --init if I try to use pythoscope on a file I get the following backtrace:

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/amessina/.virtualenvs/pythoscope/bin/pythoscope", line 9, in <module>
    load_entry_point('pythoscope==0.4.3', 'console_scripts', 'pythoscope')()
  File "/home/amessina/.virtualenvs/pythoscope/local/lib/python2.7/site-packages/pythoscope/__init__.py", line 190, in main
    generate_tests(args, force, template)
  File "/home/amessina/.virtualenvs/pythoscope/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/amessina/.virtualenvs/pythoscope/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/amessina/.virtualenvs/pythoscope/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=22, value='=', context=(' ', (538, 35))",))

pythoscope version: 0.4.3
Linux distribution: Debian testing
I'm using virtualenv, I've installed pythoscope via ``pip``
Software I'm trying to run pythoscope on: http://gc3pie.googlecode.com/svn/trunk/

Command history:

  cd /tmp/
  virtualenv pythoscope
  . pythoscope/bin/activate
  pip install pythoscope
  svn co http://gc3pie.googlecode.com/svn/trunk gc3pie
  cd gc3pie/gc3pie
  pythoscope --init
  pythoscope gc3utils/frontend.py

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.