qreator crashes with Geolocation disabled error

Bug #1751935 reported by Paul
This bug report is a duplicate of:  Bug #1714092: crashes on launch. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qreator (Ubuntu)
New
Undecided
Unassigned

Bug Description

Is geolocation possible on a computer? And why does qreator require it?

Here's the error output:

/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 that 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.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Feb 27 10:17:44 2018
InstallationDate: Installed on 2016-12-02 (450 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageArchitecture: all
SourcePackage: qreator
UpgradeStatus: Upgraded to artful on 2017-10-12 (137 days ago)

Revision history for this message
Paul (i41bktob-launchpad-net) wrote :
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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