suggestion failure on some indices

Bug #293906 reported by Robert Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr search plugin
Fix Released
Undecided
Robert Collins

Bug Description

 affects bzr-search

loggerhead/trunk$ bzr search -s a
bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 848, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 797, in run_bzr
    ret = run(*run_argv)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/robertc/.bazaar/plugins/search/commands.py", line 68, in
run
    terms = index.suggest(query)
  File "/home/robertc/.bazaar/plugins/search/index.py", line 611, in
suggest
    for node in suggest_index.iter_entries_starts_with(suggest_term):
  File "/home/robertc/.bazaar/plugins/search/index.py", line 1254, in
iter_entries_starts_with
    parsed_range = self._parsed_key_map[lower_index]
IndexError: list index out of range

(The same data is loggerhead's trunk).
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

Broken index to reproduce (use 'bzr search -s a')

Changed in bzr-search:
assignee: nobody → lifeless
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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