1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #130 resolved

Latest version of RhodeCode and VCS - importerror

petemill
created an issue

Attempting to get an instance set up running the latest version from source both of RhodeCode and VCS using the following commands:

pip install --upgrade -e hg+https://rhodecode.org/rhodecode#egg=RhodeCode

pip install --upgrade -e hg+https://rhodecode.org/vcs#egg=vcs

I then edit the requires.txt in the RhodeCode egg to change VCS to version 0.2

When running "paster serve production.ini" I get the following error: {{{

!

Traceback (most recent call last): File "/usr/local/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')() File "/usr/local/lib/python2.6/dist-packages/paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/usr/local/lib/python2.6/dist-packages/paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/usr/local/lib/python2.6/dist-packages/paste/script/command.py", line 218, in run result = self.command() File "/usr/local/lib/python2.6/dist-packages/paste/script/serve.py", line 276, in command relative_to=base, global_conf=vars) File "/usr/local/lib/python2.6/dist-packages/paste/script/serve.py", line 313, in loadapp kw) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 203, in loadapp return loadobj(APP, uri, name=name, kw) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 223, in loadobj global_conf=global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadcontext global_conf=global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 270, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 401, in get_context section) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 423, in _context_from_use object_type, name=use, global_conf=global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 353, in get_context global_conf=global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadcontext global_conf=global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 277, in _loadegg return loader.get_context(object_type, name, global_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 553, in get_context object_type, name=name) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 579, in find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1954, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/var/www/rhodecode/src/rhodecode/rhodecode/config/middleware.py", line 4, in <module> from routes.middleware import RoutesMiddleware File "/usr/local/lib/python2.6/dist-packages/routes/middleware.py", line 5, in <module> from webob import Request File "/usr/local/lib/python2.6/dist-packages/webob/init.py", line 3, in <module> from webob.request import * File "/usr/local/lib/python2.6/dist-packages/webob/request.py", line 9, in <module> from webob.acceptparse import accept_property, Accept, MIMEAccept, NilAccept, MIMENilAccept, NoAccept File "/usr/local/lib/python2.6/dist-packages/webob/acceptparse.py", line 13, in <module> from webob.util import rfc_reference ImportError: cannot import name rfc_reference

}}}

Have I done something wrong here?

Thanks,

Pete

Comments (1)

  1. Log in to comment