Project

General

Profile

Bug #3376

/usr/bin/zeitgeist-explorer:22: PyGIWarning: Gtk was imported without specifying a version first

maddox - 8 days ago - .

Status:
unconfirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

/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.10/site-packages/zgexplorer/window.py", line 26, in <module>
from zgexplorer.monitorviewer import MonitorViewer
File "/usr/lib/python3.10/site-packages/zgexplorer/monitorviewer.py", line 27, in <module>
from zgexplorer.eventwidgets import EventDetailsViewer, EventsTreeView, EventsViewer
File "/usr/lib/python3.10/site-packages/zgexplorer/eventwidgets.py", line 36, in <module>
class EventsViewer(Gtk.VBox):
File "/usr/lib/python3.10/site-packages/gi/overrides/__init__.py", line 32, in getattr
return getattr(self._introspection_module, name)
File "/usr/lib/python3.10/site-packages/gi/module.py", line 123, in getattr
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'VBox'

$

Also available in: Atom PDF