fails to start due to Gtk Error
Task Info (Flyspray) | |
---|---|
Opened By | Andre Herbst (moormaster) |
Task ID | 71248 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2021-06-13 17:37:33 UTC |
Status | Assigned |
Assignee | Balló György (City-busz) |
Details
Description: When starting zeitgeist-explorer I get the following error message:
AttributeError: 'gi.repository.Gtk' object has no attribute 'VBox'
Additional info:
- package version 0.2-9
- console output after starting
$ zeitgeist-explorer
/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.9/site-packages/zgexplorer/window.py", line 26, in <module>
from zgexplorer.monitorviewer import MonitorViewer
File "/usr/lib/python3.9/site-packages/zgexplorer/monitorviewer.py", line 27, in <module>
from zgexplorer.eventwidgets import EventDetailsViewer, EventsTreeView, EventsViewer
File "/usr/lib/python3.9/site-packages/zgexplorer/eventwidgets.py", line 36, in <module>
class EventsViewer(Gtk.VBox):
File "/usr/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
return getattr(self._introspection_module, name)
File "/usr/lib/python3.9/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'
- this should easily be fixable by including the attached patch into the PKGBUILD
Steps to reproduce:
- start zeitgeist-explorer