Package: qreator
Version: 16.06.1-7
Severity: normal
Dear Maintainer,
There seems to be some weird behaviour while there might be some GTK
transition.
When launching qreator, I get :
/usr/share/qreator/qreator_lib/Builder.py:21: 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 GObject, Gtk # pylint: disable=E0611
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 137, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 257, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 109, in __init__
repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/qreator", line 45, in <module>
import qreator
File "/usr/share/qreator/qreator/__init__.py", line 38, in <module>
__import__(name, fromlist=[])
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocation.py", line 19, in <module>
from .QRCodeLocationGtk import QRCodeLocationGtk
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 20, in <module>
from gi.repository import (
File "/usr/lib/python3/dist-packages/gi/importer.py", line 139, in load_module
raise ImportError(e)
ImportError: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
Hope this helps,
-- System Information:
Debian Release: bookworm/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qreator depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.38.0-2
ii geoclue-2.0 2.5.7-3
ii gir1.2-champlain-0.12 0.12.20-1+b1
ii gir1.2-clutter-1.0 1.26.4+dfsg-2
ii gir1.2-gdkpixbuf-2.0 2.42.6+dfsg-2
ii gir1.2-geoclue-2.0 2.5.7-3
ii gir1.2-glib-2.0 1.68.0-2
ii gir1.2-gtk-3.0 3.24.30-3
ii gir1.2-gtkchamplain-0.12 0.12.20-1+b1
ii gir1.2-gtkclutter-1.0 1.8.4-4+b1
ii gir1.2-nm-1.0 1.30.6-1
ii python3 3.9.2-3
ii python3-cairo 1.16.2-4+b2
ii python3-dbus 1.2.18-2
ii python3-gi 3.40.1-2
ii python3-gi-cairo 3.40.1-2
ii python3-pil 8.1.2+dfsg-0.3
ii python3-qrencode 1.2-5+b4
ii python3-requests 2.25.1+dfsg-2
ii python3-vobject 0.9.6.1-0.2
ii python3-xdg 0.27-2
qreator recommends no packages.
qreator suggests no packages.
-- no debconf information
--
Olivier BERGER
https://www-public.imtbs-tsp.eu/~berger_o/ - OpenPGP 2048R/0xF9EAE3A65819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)