← Back to team overview

zeitgeist team mailing list archive

[Bug 705944] Re: FTS index corruption

 

I'm not sure this is exactly the same bug, just let me know if I should
report a new one, but when I search in synapse using "locate" the
results list shows every file in that folder but not the folder itself
though its name contains the search term. (this is with synapse 0.2.6)

-- 
You received this bug notification because you are a member of Zeitgeist
Extensions, which is the registrant for Zeitgeist Extensions.
https://bugs.launchpad.net/bugs/705944

Title:
  FTS index corruption

Status in Synapse:
  Invalid
Status in Zeitgeist Extensions:
  New

Bug description:
  Hallo,

  since a few days synapse does not show any folders anymore - of course
  I made sure that the directory plugin is enabled. I also disabled it,
  restarted synapse and enabled it again. It still did not work. The
  config.json file seems to be proper, too.

  Starting synapse from commandline, I get the following output each
  time I press any letter:

  ** (synapse:26138): WARNING **: zeitgeist-plugin.vala:574: Zeitgeist search failed: Remote Exception invoking org.gnome.zeitgeist.Index.Search() on /org/gnome/zeitgeist/index/activity at name org.gnome.zeitgeist.Engine: org.freedesktop.DBus.Python.xapian.DatabaseCorruptError: Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
      retval = candidate_method(self, *args, **keywords)
    File "/usr/share/zeitgeist/_zeitgeist/engine/extensions/fts.py", line 123, in Search
      offset, count, result_type)
    File "/usr/share/zeitgeist/_zeitgeist/engine/extensions/fts.py", line 253, in search
      self.QUERY_PARSER_FLAGS)
  DatabaseCorruptError: Data ran out unexpectedly when reading posting list.
   org.freedesktop.DBus.Python.xapian.DatabaseCorruptError Traceback%20%28most%20recent%20call%20last%29%3A%0A%20%20File%20%22%2Fusr%2Flib%2Fpymodules%2Fpython2.6%2Fdbus%2Fservice.py%22%2C%20line%20702%2C%20in%20_message_cb%0A%20%20%20%20retval%20%3D%20candidate_method%28self%2C%20%2Aargs%2C%20%2A%2Akeywords%29%0A%20%20File%20%22%2Fusr%2Fshare%2Fzeitgeist%2F_zeitgeist%2Fengine%2Fextensions%2Ffts.py%22%2C%20line%20123%2C%20in%20Search%0A%20%20%20%20offset%2C%20count%2C%20result_type%29%0A%20%20File%20%22%2Fusr%2Fshare%2Fzeitgeist%2F_zeitgeist%2Fengine%2Fextensions%2Ffts.py%22%2C%20line%20253%2C%20in%20search%0A%20%20%20%20self.QUERY_PARSER_FLAGS%29%0ADatabaseCorruptError%3A%20Data%20ran%20out%20unexpectedly%20when%20reading%20posting%20list.%0A
  ** (synapse:26138): DEBUG: zeitgeist-plugin.vala:580: ZG search took 19 ms
  SynapseHybridSearchPlugin found 0 extra uris (ZG returned 0)

  I've tested synapse 0.2.2.1, 0.2.2.2 from your download section and I
  also tested the recent version from branch. The folders I tried to
  find were ordinary folders within the home-partition (like
  "Documents", "Music", "Desktop", "Videos").

  Sincerely,

  Daniel