fts extension fails to load

Bug #614315 reported by Michal Hruby on 2010-08-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Extensions
Zeitgeist Framework
Fix Released
Siegfried Gevatter

Bug Description

The FTS extension fails to load if ZG is running and one executes `zeitgeist-daemon --replace`. It fails with this error:

DEBUG:zeitgeist.extension:Loading extension 'SearchEngineExtension'
DEBUG:zeitgeist.fts:Opening full text index: /home/miso/.local/share/zeitgeist/fts.index
ERROR:zeitgeist.extension:Failed loading the 'SearchEngineExtension' extension
Traceback (most recent call last):
  File "/usr/local/share/zeitgeist/_zeitgeist/engine/extension.py", line 247, in load
    obj = extension(self.__engine)
  File "/home/miso/.local/share/zeitgeist/extensions/fts.py", line 90, in __init__
    self._indexer = Indexer(self.engine)
  File "/home/miso/.local/share/zeitgeist/extensions/fts.py", line 132, in __init__
    self._index = xapian.WritableDatabase(INDEX_FILE, xapian.DB_CREATE_OR_OPEN)
  File "/usr/lib/python2.6/dist-packages/xapian.py", line 2886, in __init__
DatabaseLockError: Unable to acquire database write lock on /home/miso/.local/share/zeitgeist/fts.index: already locked

Changed in zeitgeist:
assignee: nobody → Siegfried Gevatter (rainct)
milestone: none → 0.5.1
Michal Hruby (mhr3) on 2010-08-12
Changed in zeitgeist:
status: New → Fix Committed
Changed in zeitgeist-extensions:
status: New → Invalid
Seif Lotfy (seif) on 2010-08-13
Changed in zeitgeist:
importance: Undecided → Medium
Seif Lotfy (seif) on 2010-08-26
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers