Modify

Opened 19 years ago

Closed 19 years ago

#179 closed defect (worksforme)

Indexing raises fatal error

Reported by: mbertier Owned by: Alec Thomas
Priority: normal Component: RepoSearchPlugin
Severity: blocker Keywords:
Cc: mbertier@… Trac Release:

Description

While performing the first repo search, trac raises this error :

 Trac detected an internal error:

'load'
Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/Search.py", line 158, in process_request
    results += list(source.get_search_results(req, query, filters))
  File "build/bdist.linux-i686/egg/tracreposearch/search.py", line 75, in get_search_results
  File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 72, in wrap
  File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 211, in reindex
  File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 195, in _invalidate_file
  File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 34, in __getitem__
  File "/usr/lib/python2.3/bsddb/__init__.py", line 116, in __getitem__
    return self.db[key]
KeyError: 'load'

Attachments (0)

Change History (2)

comment:1 Changed 19 years ago by Alec Thomas

Hi, have you tried deleting the index completely? This sounds like the index may have become corrupted.

comment:2 Changed 19 years ago by Alec Thomas

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.