Woosh indexer issues

28 views
Skip to first unread message

Maven User

unread,
Mar 3, 2012, 8:41:55 AM3/3/12
to rhod...@googlegroups.com
Hi all -

I've noticed that when a repository or something as simple as a single file or directory within a repository is deleted, a PARTIAL index run results in a corrupted search index which also results in failure of search to find anything.

This has forced my hand to run a -f "full" index every three hours.

Any suggestions?

Here's and example of the 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/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/local/lib/python2.6/dist-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/utils.py", line 579, in run
    return super(BasePasterCommand, self).run(args[1:])
  File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/local/lib/python2.6/dist-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/indexers/__init__.py", line 108, in command
    .run(full_index=self.options.full_index)
  File "/usr/local/lib/python2.6/dist-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/indexers/daemon.py", line 237, in run
    self.update_index()
  File "/usr/local/lib/python2.6/dist-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/indexers/daemon.py", line 200, in update_index
    node = self.get_node(repo, indexed_path)
  File "/usr/local/lib/python2.6/dist-packages/RhodeCode-1.2.3-py2.6.egg/rhodecode/lib/indexers/daemon.py", line 123, in get_node
    node = repo.get_changeset().get_node(n_path)
  File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/backends/hg.py", line 758, in get_node
    % (path, self.short_id))
vcs.exceptions.NodeDoesNotExistError: There is no file nor directory at the given path: 'src/main/resources/META-INF/scripts/all.script' at revision 'cab9359986b1'


Marcin Kuzminski

unread,
Mar 6, 2012, 2:16:54 AM3/6/12
to rhod...@googlegroups.com
Please upgrade to 1.3 series this issue has been fixed there.
Reply all
Reply to author
Forward
0 new messages