Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Monday, 14 June 2021, 18:04 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
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

Loading...