Zeitgeist-explorer not working

possibly a python3.11 problem?
so I discovered that package zeitgeist was installed as noticed it taking 30% cpu
so wonder if it’s perfect snooping device for 3rd party or actually useful??
so wonder what app requires it? catfish?

so once investigated the package can view the sqlite database but the specific app to view it is not working

/usr/bin/zeitgeist-explorer:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Traceback (most recent call last):
  File "/usr/bin/zeitgeist-explorer", line 25, in <module>
    from zgexplorer.window import ExplorerMainWindow
  File "/usr/lib/python3.11/site-packages/zgexplorer/window.py", line 26, in <module>
    from zgexplorer.monitorviewer import MonitorViewer
  File "/usr/lib/python3.11/site-packages/zgexplorer/monitorviewer.py", line 27, in <module>
    from zgexplorer.eventwidgets import EventDetailsViewer, EventsTreeView, EventsViewer
  File "/usr/lib/python3.11/site-packages/zgexplorer/eventwidgets.py", line 36, in <module>
    class EventsViewer(Gtk.VBox):
  File "/usr/lib/python3.11/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python3.11/site-packages/gi/module.py", line 126, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'VBox'

the fix from the arch bug log has been applied so it is something else???

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

What fix from what now? :thinking:

There was an Arch bug report opened a couple years ago with no response. :man_shrugging:

FS#71248 - [zeitgeist-explorer] fails to start due to Gtk Error

my mistake, actually the patch is not applied, the bug report had a patch file, just noticed the error message said use 4.0 so applied the patch with 4.0 and still did not work.

+import gi
+gi.require_version(“Gtk”, “3.0”)
from gi.repository import Gtk
import gettext

so after the patch same error except missing the first line error fix suggestion, yeah so how long it has not been working for who knows?

if you try the patch with 3.0 do get a different error…

why is zeitgeist even there?

Ah, right.

That’s only a warning, it does not affect functionality.

FYI, since the bug report has been ignored / forgotten, it will be closed systematically at some point once Arch finishes moving bug reports from Flyspray to GitLab.

Yeah, guess not an arch bug, a zeitgeist-explorer bug, but why zeitgeist at all if user cannot use it?

funnily enough it kind of is a zeitgeist bug… current/later versions of gtk/python/etc. breaking stuff.

I guess if one is fully borg already no worries eh!