1. Marcin Kuzminski
  2. RhodeCode

Issues

Issue #431 invalid

Crash with HG 2.1.2 and largefiles extension

David Harrigan
created an issue

Hi,

Using 1.3.4 and hg 2.1.2.

When booting up rhodecode, it doesn't start - failing with the following stack:

Anything I can do to help, please let me know.

{{{

!python

Cannot retrieve rhodecode's revision. Original error was: No scm found at given path /usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/lib/../.. 2012-04-27 09:30:34.239 INFO [rhodecode.model] initializing db for Engine(sqlite:////var/www/rhodecode-venv/rhodecode.db) 2012-04-27 09:30:34.264 INFO [rhodecode.model.scm] scanning for repositories in /mnt/stuff/mercurial-server/repos/projects Traceback (most recent call last): File "/usr/local/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')() File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run result = self.command() File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/serve.py", line 284, in command relative_to=base, global_conf=vars) File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.5-py2.7.egg/paste/script/serve.py", line 321, in loadapp kw) File "/usr/local/lib/python2.7/dist-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, kw) File "/usr/local/lib/python2.7/dist-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 272, in loadobj return context.create() File "/usr/local/lib/python2.7/dist-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 710, in create return self.object_type.invoke(self) File "/usr/local/lib/python2.7/dist-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py", line 146, in invoke return fix_call(context.object, context.global_conf, context.local_conf) File "/usr/local/lib/python2.7/dist-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/util.py", line 56, in fix_call val = callable(*args, kw) File "/usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/config/middleware.py", line 40, in make_app config = load_environment(global_conf, app_conf) File "/usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/config/environment.py", line 86, in load_environment repo2db_mapper(ScmModel().repo_scan(repos_path)) File "/usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/model/scm.py", line 202, in repo_scan repos[name] = klass(safe_str(path[1]), baseui=baseui) File "/usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/lib/vcs/backends/hg/repository.py", line 55, in init self._repo = self._get_repo(create, src_url, update_after_clone) File "/usr/local/lib/python2.7/dist-packages/RhodeCode-1.3.4-py2.7.egg/rhodecode/lib/vcs/backends/hg/repository.py", line 320, in _get_repo return localrepository(self.baseui, self.path, create=create) File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 52, in init extensions.loadall(self.ui) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 104, in loadall uisetup(ui) File "/usr/local/lib/python2.7/dist-packages/hgext/largefiles/uisetup.py", line 70, in uisetup overrides.overridecheckunknownfile) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 186, in wrapfunction origfn = getattr(container, funcname) AttributeError: 'module' object has no attribute '_checkunknownfile'

}}}