** Also affects: zeitgeist
   Importance: Undecided
       Status: New

** Changed in: zeitgeist
     Assignee: (unassigned) => Siegfried Gevatter (rainct)

** Changed in: zeitgeist
    Milestone: None => 0.5.1

fts extension fails to load
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New
Status in Zeitgeist Smack-ins: New

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: 
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 
    self._indexer = Indexer(self.engine)
  File "/home/miso/.local/share/zeitgeist/extensions/fts.py", line 132, in 
    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

Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to