2017-08-30 20:59:01 |
graingert |
bug |
|
|
added bug |
2018-01-04 09:36:05 |
Launchpad Janitor |
qreator (Ubuntu): status |
New |
Confirmed |
|
2022-09-14 16:08:41 |
Jeremy Bícha |
qreator (Ubuntu): importance |
Undecided |
High |
|
2022-09-14 16:08:44 |
Jeremy Bícha |
qreator (Ubuntu): status |
Confirmed |
Triaged |
|
2022-09-14 16:08:48 |
Jeremy Bícha |
qreator (Ubuntu): status |
Triaged |
Fix Committed |
|
2022-09-14 16:08:53 |
Jeremy Bícha |
nominated for series |
|
Ubuntu Jammy |
|
2022-09-14 16:08:53 |
Jeremy Bícha |
bug task added |
|
qreator (Ubuntu Jammy) |
|
2022-09-14 16:08:57 |
Jeremy Bícha |
qreator (Ubuntu Jammy): importance |
Undecided |
High |
|
2022-09-14 16:09:00 |
Jeremy Bícha |
qreator (Ubuntu Jammy): status |
New |
In Progress |
|
2022-09-14 16:12:06 |
Jeremy Bícha |
description |
/usr/share/qreator/qreator_lib/Builder.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure thatfoodSurprise: the right version gets loaded.
from gi.repository import GObject, Gtk # pylint: disable=E0611
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:18: PyGIWarning: GtkChamplain was imported without specifying a version first. Use gi.require_version('GtkChamplain', '0.12') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GtkChamplain, Clutter, Champlain
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:20: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GtkClutter
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NetworkManager was imported without specifying a version first. Use gi.require_version('NetworkManager', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NMClient was imported without specifying a version first. Use gi.require_version('NMClient', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
No handlers could be found for logger "qreator_lib"
Traceback (most recent call last):
File "/usr/bin/qreator", line 46, in <module>
qreator.main()
File "/usr/share/qreator/qreator/__init__.py", line 73, in main
window = QreatorWindow.QreatorWindow()
File "/usr/share/qreator/qreator_lib/Window.py", line 48, in __new__
new_object.finish_initializing(builder)
File "/usr/share/qreator/qreator/QreatorWindow.py", line 79, in finish_initializing
self.init_qr_types()
File "/usr/share/qreator/qreator/QreatorWindow.py", line 135, in init_qr_types
self.qr_types = [d(self.update_qr_code) for d in QRCodeType.dataformats]
File "/usr/share/qreator/qreator/qrcodes/QRCodeType.py", line 71, in __init__
self.create_widget() # pylint: disable=E1101
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocation.py", line 29, in create_widget
self.widget = QRCodeLocationGtk(self.qr_code_update_func)
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 50, in __init__
latitude, longitude = get_current_location()
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 93, in get_current_location
'qreator', Geoclue.AccuracyLevel.EXACT)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000 (9)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: qreator 16.06.1-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 30 21:55:57 2017
InstallationDate: Installed on 2017-07-27 (34 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170727)
PackageArchitecture: all
SourcePackage: qreator
UpgradeStatus: No upgrade log present (probably fresh install) |
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-introspection imports. Without this patch, the app tries to load the latest gir bindings for GTK installed which is GTK4 but the app only works with GTK3.
Original Bug Report
-------------------
/usr/share/qreator/qreator_lib/Builder.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure thatfoodSurprise: the right version gets loaded.
from gi.repository import GObject, Gtk # pylint: disable=E0611
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:18: PyGIWarning: GtkChamplain was imported without specifying a version first. Use gi.require_version('GtkChamplain', '0.12') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GtkChamplain, Clutter, Champlain
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:20: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GtkClutter
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NetworkManager was imported without specifying a version first. Use gi.require_version('NetworkManager', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NMClient was imported without specifying a version first. Use gi.require_version('NMClient', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
No handlers could be found for logger "qreator_lib"
Traceback (most recent call last):
File "/usr/bin/qreator", line 46, in <module>
qreator.main()
File "/usr/share/qreator/qreator/__init__.py", line 73, in main
window = QreatorWindow.QreatorWindow()
File "/usr/share/qreator/qreator_lib/Window.py", line 48, in __new__
new_object.finish_initializing(builder)
File "/usr/share/qreator/qreator/QreatorWindow.py", line 79, in finish_initializing
self.init_qr_types()
File "/usr/share/qreator/qreator/QreatorWindow.py", line 135, in init_qr_types
self.qr_types = [d(self.update_qr_code) for d in QRCodeType.dataformats]
File "/usr/share/qreator/qreator/qrcodes/QRCodeType.py", line 71, in __init__
self.create_widget() # pylint: disable=E1101
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocation.py", line 29, in create_widget
self.widget = QRCodeLocationGtk(self.qr_code_update_func)
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 50, in __init__
latitude, longitude = get_current_location()
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 93, in get_current_location
'qreator', Geoclue.AccuracyLevel.EXACT)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000 (9)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: qreator 16.06.1-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 30 21:55:57 2017
InstallationDate: Installed on 2017-07-27 (34 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170727)
PackageArchitecture: all
SourcePackage: qreator
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2022-09-14 16:18:08 |
Jeremy Bícha |
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-introspection imports. Without this patch, the app tries to load the latest gir bindings for GTK installed which is GTK4 but the app only works with GTK3.
Original Bug Report
-------------------
/usr/share/qreator/qreator_lib/Builder.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure thatfoodSurprise: the right version gets loaded.
from gi.repository import GObject, Gtk # pylint: disable=E0611
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:18: PyGIWarning: GtkChamplain was imported without specifying a version first. Use gi.require_version('GtkChamplain', '0.12') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GtkChamplain, Clutter, Champlain
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:20: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GtkClutter
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NetworkManager was imported without specifying a version first. Use gi.require_version('NetworkManager', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NMClient was imported without specifying a version first. Use gi.require_version('NMClient', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
No handlers could be found for logger "qreator_lib"
Traceback (most recent call last):
File "/usr/bin/qreator", line 46, in <module>
qreator.main()
File "/usr/share/qreator/qreator/__init__.py", line 73, in main
window = QreatorWindow.QreatorWindow()
File "/usr/share/qreator/qreator_lib/Window.py", line 48, in __new__
new_object.finish_initializing(builder)
File "/usr/share/qreator/qreator/QreatorWindow.py", line 79, in finish_initializing
self.init_qr_types()
File "/usr/share/qreator/qreator/QreatorWindow.py", line 135, in init_qr_types
self.qr_types = [d(self.update_qr_code) for d in QRCodeType.dataformats]
File "/usr/share/qreator/qreator/qrcodes/QRCodeType.py", line 71, in __init__
self.create_widget() # pylint: disable=E1101
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocation.py", line 29, in create_widget
self.widget = QRCodeLocationGtk(self.qr_code_update_func)
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 50, in __init__
latitude, longitude = get_current_location()
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 93, in get_current_location
'qreator', Geoclue.AccuracyLevel.EXACT)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000 (9)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: qreator 16.06.1-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 30 21:55:57 2017
InstallationDate: Installed on 2017-07-27 (34 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170727)
PackageArchitecture: all
SourcePackage: qreator
UpgradeStatus: No upgrade log present (probably fresh install) |
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-introspection imports. Without this patch, the app tries to load the latest gir bindings for GTK installed which is GTK4 but the app only works with GTK3.
More Info
-------------------
$ qreator
/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 142, 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 144, in load_module
raise ImportError(e)
ImportError: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded |
|
2022-09-15 00:19:30 |
Jeremy Bícha |
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-introspection imports. Without this patch, the app tries to load the latest gir bindings for GTK installed which is GTK4 but the app only works with GTK3.
More Info
-------------------
$ qreator
/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 142, 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 144, in load_module
raise ImportError(e)
ImportError: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded |
/usr/share/qreator/qreator_lib/Builder.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure thatfoodSurprise: the right version gets loaded.
from gi.repository import GObject, Gtk # pylint: disable=E0611
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:18: PyGIWarning: GtkChamplain was imported without specifying a version first. Use gi.require_version('GtkChamplain', '0.12') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GtkChamplain, Clutter, Champlain
/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:20: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GtkClutter
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NetworkManager was imported without specifying a version first. Use gi.require_version('NetworkManager', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
/usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NMClient was imported without specifying a version first. Use gi.require_version('NMClient', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
No handlers could be found for logger "qreator_lib"
Traceback (most recent call last):
File "/usr/bin/qreator", line 46, in <module>
qreator.main()
File "/usr/share/qreator/qreator/__init__.py", line 73, in main
window = QreatorWindow.QreatorWindow()
File "/usr/share/qreator/qreator_lib/Window.py", line 48, in __new__
new_object.finish_initializing(builder)
File "/usr/share/qreator/qreator/QreatorWindow.py", line 79, in finish_initializing
self.init_qr_types()
File "/usr/share/qreator/qreator/QreatorWindow.py", line 135, in init_qr_types
self.qr_types = [d(self.update_qr_code) for d in QRCodeType.dataformats]
File "/usr/share/qreator/qreator/qrcodes/QRCodeType.py", line 71, in __init__
self.create_widget() # pylint: disable=E1101
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocation.py", line 29, in create_widget
self.widget = QRCodeLocationGtk(self.qr_code_update_func)
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 50, in __init__
latitude, longitude = get_current_location()
File "/usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py", line 93, in get_current_location
'qreator', Geoclue.AccuracyLevel.EXACT)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000 (9)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: qreator 16.06.1-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 30 21:55:57 2017
InstallationDate: Installed on 2017-07-27 (34 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170727)
PackageArchitecture: all
SourcePackage: qreator
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2022-09-15 00:19:36 |
Jeremy Bícha |
qreator (Ubuntu): status |
Fix Committed |
Confirmed |
|
2022-09-15 00:19:39 |
Jeremy Bícha |
qreator (Ubuntu): importance |
High |
Undecided |
|
2022-09-15 00:19:42 |
Jeremy Bícha |
bug task deleted |
qreator (Ubuntu Jammy) |
|
|