crashes on launch

Bug #1714092 reported by graingert
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qreator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug 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)

Revision history for this message
graingert (tagrain) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qreator (Ubuntu):
status: New → Confirmed
Revision history for this message
Nizar Kerkeni (nizarus) wrote :

I confirm that this bug is also affecting me on Ubuntu 17.10 - x86_64

Revision history for this message
Paul (i41bktob-launchpad-net) wrote :

Workaround: change line 50 of /usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py from

        latitude, longitude = get_current_location()

to

        latitude, longitude = 0, 0

Obviously this won't survive apt updates, but the package seems to have been abandoned so it's not likely to receive updates anyway.

Revision history for this message
gene_wood (gene.wood) wrote :

This bug also occurs on Ubuntu 18.04 and is worked around by the change described in Comment #4

Jeremy Bícha (jbicha)
Changed in qreator (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
status: Triaged → Fix Committed
Changed in qreator (Ubuntu Jammy):
importance: Undecided → High
status: New → In Progress
description: updated
Revision history for this message
Jeremy Bícha (jbicha) wrote :

The geolocation part of this bug is being tracked at https://launchpad.net/bugs/1751935

description: updated
Jeremy Bícha (jbicha)
description: updated
Changed in qreator (Ubuntu):
status: Fix Committed → Confirmed
importance: High → Undecided
no longer affects: qreator (Ubuntu Jammy)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.