1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #449 resolved

revision does not exist while force-indexing private project

carlokok
created an issue

While indexing my (private) git project from the cmdline I get this error: Revision 'OxygeneSmartEditingTypeDeclarationsOptio' does not exist for this repository. "OxygeneSmartEditingTypeDeclarationsOptio" only exists as a (part of a) file name.

Full callstack below: {{{ $ paster make-index production.ini -f Cannot retrieve rhodecode's revision. Original error was: No scm found at given path /home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/../.. 2012-05-15 17:10:09.073 INFO [rhodecode.model] initializing db for Engine(sqlite:////home/ck/rhodecode.db) 2012-05-15 17:10:09.115 INFO [rhodecode.model.scm] scanning for repositories in /home/ck/repos Traceback (most recent call last): File "/usr/bin/paster", line 18, in <module> command.run() File "/home/ck/.local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/home/ck/.local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/utils.py", line 647, in run return super(BasePasterCommand, self).run(args[1:]) File "/home/ck/.local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run result = self.command() File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/indexers/init.py", line 107, in command .run(full_index=self.options.full_index) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/indexers/daemon.py", line 235, in run self.build_index() File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/indexers/daemon.py", line 163, in build_index i, iwc = self.add_doc(writer, idx_path, repo, repo_name) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/indexers/daemon.py", line 143, in add_doc modtime=self.get_node_mtime(node), File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/indexers/daemon.py", line 111, in get_node_mtime return mktime(node.last_changeset.date.timetuple()) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/utils/lazy.py", line 26, in get result = obj.dict[self.name] = self._func(obj) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/nodes.py", line 311, in last_changeset return self.changeset.get_file_changeset(self.path) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/backends/git/changeset.py", line 232, in get_file_changeset return node.history[0] File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/utils/lazy.py", line 26, in get result = obj.dict[self.name] = self._func(obj) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/nodes.py", line 381, in history return self.changeset.get_file_history(self.path) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/backends/git/changeset.py", line 248, in get_file_history return [self.repository.get_changeset(id) for id in ids] File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/backends/git/repository.py", line 337, in get_changeset revision = self._get_revision(revision) File "/home/ck/.local/lib/python2.7/site-packages/RhodeCode-1.3.5-py2.7.egg/rhodecode/lib/vcs/backends/git/repository.py", line 191, in _get_revision "for this repository %s" % (revision, self)) rhodecode.lib.vcs.exceptions.ChangesetDoesNotExistError: Revision 'OxygeneSmartEditingTypeDeclarationsOptio' does not exist for this repository <GitRepository at /home/ck/repos/Oxygene/oxygene> }}}

Comments (2)

  1. Log in to comment