* Meld: Leaky inputs? (from gi.repository import Gtk): Meld requires GTK+ 3.20 or higher.
@ 2019-01-16 9:52 Pierre Neidhardt
0 siblings, 0 replies; only message in thread
From: Pierre Neidhardt @ 2019-01-16 9:52 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Hi Guix,
I've just pushed the Meld package, but now I'm noticing something
strange: while it works well in a ./pre-inst-env environment, it fails
to start on my out-of-date profile. Error message:
--8<---------------cut here---------------start------------->8---
Meld requires GTK+ 3.20 or higher.
--8<---------------cut here---------------end--------------->8---
The "meld" executable contains this snippet:
--8<---------------cut here---------------start------------->8---
gtk_requirement = (3, 20)
# ...
# gtk+ and related imports
try:
# FIXME: Extra clause for gi
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
version = (Gtk.get_major_version(), Gtk.get_minor_version())
assert version >= gtk_requirement
except (ImportError, AssertionError, ValueError) as e:
missing_reqs("GTK+", gtk_requirement, e)
--8<---------------cut here---------------end--------------->8---
Somehow it seems that gi does not load the right GTK version, but I'm
not sure how that's possible at all.
Can anyone reproduce and understand what's happening?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-16 9:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16 9:52 Meld: Leaky inputs? (from gi.repository import Gtk): Meld requires GTK+ 3.20 or higher Pierre Neidhardt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.