qreator fails to start because of incorrect gtk import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qreator (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
Impact
------
The qreator app won't run in a default Ubuntu 22.04 LTS install
Test Case
---------
From Ubuntu 22.04 LTS, install qreator
Run qreator
What Could Go Wrong
-------------------
This just adds a patch to add the require_version lines to the gobject-
More Info
-------------------
$ qreator
/usr/share/
from gi.repository import GObject, Gtk # pylint: disable=E0611
Traceback (most recent call last):
File "/usr/lib/
introspecti
File "/usr/lib/
module = IntrospectionMo
File "/usr/lib/
repository.
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/
__import_
File "/usr/share/
from .QRCodeLocationGtk import QRCodeLocationGtk
File "/usr/share/
from gi.repository import (
File "/usr/lib/
raise ImportError(e)
ImportError: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
Changed in qreator (Ubuntu Jammy): | |
importance: | Undecided → High |
status: | New → In Progress |
This bug was fixed in the package qreator - 16.06.1-7.1
---------------
qreator (16.06.1-7.1) unstable; urgency=medium
* Non-maintainer upload introspection imports
* Add patch to add versions to gobject-
(Closes: #994695) (LP: #1989630)
* Add minimal debian/gbp.conf
* Restore changes reverted because of Debian 11 Freeze:
- Reexport patches using gbp-pq
- Port to debhelper compat 13
- Update Standards-Version to 4.5.0
-- Jeremy Bicha <email address hidden> Wed, 14 Sep 2022 12:06:03 -0400