No files ever displayed

Asked by Aibara Iduas on 2011-02-11

Of late Synapse (verison 0.2.2.1 on Ubuntu 10.10) does not show files that have been logged via Zeitgeist. It shows my applications just fine, but if I search for a previously opened/edited file of any sort, I must use the locate function. Even then, if I then switch to another categorty (e.g. from "All" to "Images") I must then do the search again. If I open the file via Synapse, edit it, etc., then the next time I open Synapse I need to use locate again. The files all do appear in the Activity Journal. Finally, not sure if this matters, no thumbnails are ever displayed for any images or movies.

I did uninstall and reinstall Synapse and all the Zeitgeist packages - which actually made everything work as it should, but only once - the second time I called up Synapse, it was broken again.

Not sure if this is an issue with Synapse, Zeitgeist, or something I messed up. No clue!
Any help would be appreciated, thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Synapse Edit question
Assignee:
No assignee Edit question
Solved by:
Michal Hruby
Solved:
2011-02-12
Last query:
2011-02-12
Last reply:
2011-02-12
Michal Hruby (mhr3) said : #1

Please start synapse from the terminal and pastebin the output.

Aibara Iduas (aibaraiduas) said : #2

Here you go. I started synapse and searched for a single name (sara - which is contained in many files, mostly images). Oddly 2 text documents showed up, along with applications which contain some of the letters of the name.

------------
aibara@Pauline:~$ synapse
** (synapse:2377): DEBUG: synapse-main.vala:189: Binding activation to <Control>space
(synapse:2377): GtkHotkey-DEBUG: Listener Type: GtkHotkeyX11Listener
** (synapse:2377): DEBUG: ui-cairo-gtk-base.vala:188: Screen is composited.
** (synapse:2377): DEBUG: gnome-session-plugin.vala:172: org.gnome.SessionManager is available
** (synapse:2377): DEBUG: gnome-screensaver-plugin.vala:97: org.gnome.ScreenSaver is available
SynapseHybridSearchPlugin:: Scanning /home/aibara/289Dos
SynapseHybridSearchPlugin:: Scanning /home/aibara/Desktop
SynapseHybridSearchPlugin:: Scanning /home/aibara/Docs/TA
SynapseHybridSearchPlugin:: Scanning /home/aibara/Docs/Notes
SynapseHybridSearchPlugin keeps in cache now 165 file names

** (synapse:2377): 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: Db block overwritten - are there multiple writers?
 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%20Db%20block%20overwritten%20-%20are%20there%20multiple%20writers%3F%0A
** (synapse:2377): DEBUG: zeitgeist-plugin.vala:580: ZG search took 27 ms

** (synapse:2377): 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: Db block overwritten - are there multiple writers?
 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%20Db%20block%20overwritten%20-%20are%20there%20multiple%20writers%3F%0A
** (synapse:2377): DEBUG: zeitgeist-plugin.vala:580: ZG search took 30 ms
SynapseHybridSearchPlugin found 27 extra uris (ZG returned 0)

** (synapse:2377): 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: Db block overwritten - are there multiple writers?
 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%20Db%20block%20overwritten%20-%20are%20there%20multiple%20writers%3F%0A
** (synapse:2377): DEBUG: zeitgeist-plugin.vala:580: ZG search took 28 ms
SynapseHybridSearchPlugin found 3 extra uris (ZG returned 0)

** (synapse:2377): 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: Db block overwritten - are there multiple writers?
 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%20Db%20block%20overwritten%20-%20are%20there%20multiple%20writers%3F%0A
** (synapse:2377): DEBUG: zeitgeist-plugin.vala:580: ZG search took 37 ms
SynapseHybridSearchPlugin found 2 extra uris (ZG returned 0)

Best Michal Hruby (mhr3) said : #3

Please see the linked bug.

Aibara Iduas (aibaraiduas) said : #4

That worked - thanks a lot!

Aibara Iduas (aibaraiduas) said : #5

Thanks Michal Hruby, that solved my question.