Skip to content

commit 6871344d causes gi.repository.GLib.Error

With python 3.9, the patch written on #33 (closed) is needed, but even after applying it, current git head ( 2bd56fb0 ) causes gi.repository.GLib.Error with python 3.9 (?) when

  • launch catfish
  • enter some text to search on search text column

then catfish shows gi.repository.GLib.Error like:

[tasaka1@localhost catfish]$ PYTHONPATH=$(pwd)/catfish:$(pwd)/catfish_lib:$(pwd) python3 ./bin/catfish 
/home/tasaka1/rpmbuild/fedora-specific/catfish/master/GIT/catfish/catfish/CatfishSearchEngine.py:550: Warning: g_file_test: assertion 'filename != NULL' failed
  log = Zeitgeist.Log.get_default()
Traceback (most recent call last):
  File "/home/tasaka1/rpmbuild/fedora-specific/catfish/master/GIT/catfish/catfish/CatfishSearchEngine.py", line 530, in result_callback
    events = log.find_events_finish(result)
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable (2)
Traceback (most recent call last):
  File "/home/tasaka1/rpmbuild/fedora-specific/catfish/master/GIT/catfish/catfish/CatfishSearchEngine.py", line 530, in result_callback
    events = log.find_events_finish(result)
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable (2)
Traceback (most recent call last):
  File "/home/tasaka1/rpmbuild/fedora-specific/catfish/master/GIT/catfish/catfish/CatfishSearchEngine.py", line 530, in result_callback
    events = log.find_events_finish(result)
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable (2)

Reverting 6871344d seems okay. Also, 1.4.13 does not have this issue (although 1.4.13 also needs #33 (closed) for python 3.9)