Various PyGIWarning on gtk3 version of Terminator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Radiotray |
New
|
Undecided
|
Unassigned | ||
Terminator |
Fix Released
|
Low
|
Stephen Boddy |
Bug Description
I'm on Arch and was trying the gtk3 version via the terminator-gtk3-bzr package.
I get the following warnings on startup. If I patch the code as suggested, I get no more warnings.
/usr/bin/
from gi.repository import Gtk, Gdk
/usr/lib/
from gi.repository import GConf
Here's the C versions of those libraries:
local/gtk3 3.18.2-1
local/gconf 3.2.6-3
It's unclear to me whether it's looking for the Python or C versions of these.
Related branches
Changed in terminator: | |
status: | New → In Progress |
Changed in terminator: | |
status: | Fix Committed → Fix Released |
These warnings must be something added to later version of the Python GI implementation. I'll add the appropriate lines.
FYI, the libraries are one and the same for C and Python. What changes with GI (versus the old pygtk) is that specific bindings do not have to be created for Python. The library has a .gir file (i.e. /usr/share/ gir-1.0/ Gtk-3.0. gir) that describes the library classes and methods. The Python GI uses this to interface with the library. this is much improved over pygtk, because as I recall one guy was struggling to keep them up to date.