Project

General

Profile

Bug #3376

[zeitgeist-explorer]: PyGIWarning: Gtk was imported without specifying a version first

maddox - over 1 year ago - . Updated over 1 year ago.

Status:
forwarded upstream
Priority:
bug
Assignee:
% Done:

0%


Description

Just run the command on shell:

$ 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.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'

History

#1

Updated by bill-auger over 1 year ago

  • Status changed from unconfirmed to confirmed
  • Description updated (diff)
  • Subject changed from /usr/bin/zeitgeist-explorer:22: PyGIWarning: Gtk was imported without specifying a version first to [zeitgeist-explorer': PyGIWarning: Gtk was imported without specifying a version first
#2

Updated by bill-auger over 1 year ago

  • Status changed from confirmed to forwarded upstream

apparently, this has been known upstream since over a year1; but has gotten no attention/progress
although there is a trivial patch offered2, claiming to fix the bug

[1]: https://bugs.archlinux.org/task/71248
[2]: https://bugs.archlinux.org/task/71248?getfile=20408

i suppose that for next step, someone should try that patch

#3

Updated by bill-auger over 1 year ago

  • Assignee set to bill-auger
  • Subject changed from [zeitgeist-explorer': PyGIWarning: Gtk was imported without specifying a version first to [zeitgeist-explorer]: PyGIWarning: Gtk was imported without specifying a version first

there is a patched 'zeitgeist-explorer' in [libre-testing] now - could ppl try it ?

# pacman -U https://repo.parabola.nu/pool/parabola/zeitgeist-explorer-0.2-11.parabola1-any.pkg.tar.zst
#4

Updated by bill-auger over 1 year ago

$ grep zeitgeist blacklist.txt
zeitgeist-explorer:zeitgeist-explorer:parabola:3376:[technical] fix neglected upstream bug (arch #71248)
#5

Updated by bill-auger over 1 year ago

moved to [libre]

#6

Updated by anonymous over 1 year ago

tested, without error

Also available in: Atom PDF