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

Attached to Project: Community Packages
Opened by Andre Herbst (moormaster) - Sunday, 13 June 2021, 17:37 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/zeitgeist-explorer/iss ues/1
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...