Bug 1723908

Summary: [abrt] blueman: __call__(): Gio.py:295:__call__:gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Method "QueryPlugins" with signature "" on interface "org.blueman.Applet" doesn't exist
Product: [Fedora] Fedora Reporter: Eric Harney <eharney>
Component: bluemanAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: fedora, nushio, spetreolle
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/72e6d6dda40008ffdaff24400ccf6c51420eecd6
Whiteboard: abrt_hash:d67b3f2eff295adcbc48272f344076e28255d92d;VARIANT_ID=workstation;
Fixed In Version: blueman-2.1.1-1.fc30 blueman-2.1.1-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-17 01:06:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
blueman-applet debug none

Description Eric Harney 2019-06-25 17:26:57 UTC
Description of problem:
Clicked on bluetooth systray menu to try to add a new bluetooth device.

Version-Release number of selected component:
1:blueman-2.1-1.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/blueman-assistant
crash_function: __call__
exception_type: gi.repository.GLib.GError
executable:     /usr/bin/blueman-assistant
interpreter:    python3-3.7.3-3.fc29.x86_64
kernel:         5.0.10-200.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
Gio.py:295:__call__:gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Method "QueryPlugins" with signature "" on interface "org.blueman.Applet" doesn't exist
 (41)

Traceback (most recent call last):
  File "/usr/bin/blueman-assistant", line 270, in <module>
    Assistant(args)
  File "/usr/bin/blueman-assistant", line 52, in __init__
    check_bluetooth_status(_("Bluetooth needs to be turned on for the Bluetooth assistant to work"), lambda: exit())
  File "/usr/lib/python3.7/site-packages/blueman/Functions.py", line 71, in check_bluetooth_status
    if "PowerManager" not in applet.QueryPlugins():
  File "/usr/lib64/python3.7/site-packages/gi/overrides/Gio.py", line 295, in __call__
    None)
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Method "QueryPlugins" with signature "" on interface "org.blueman.Applet" doesn't exist
 (41)

Local variables in innermost frame:
self: <gi.overrides.Gio._DBusProxyMethodCall object at 0x7f67ac1cdfd0>
args: ()
kwargs: {}
signature: '()'
arg_variant: GLib.Variant('()', ())

Comment 1 Eric Harney 2019-06-25 17:26:59 UTC
Created attachment 1584386 [details]
File: backtrace

Comment 2 Eric Harney 2019-06-25 17:27:00 UTC
Created attachment 1584387 [details]
File: cgroup

Comment 3 Eric Harney 2019-06-25 17:27:01 UTC
Created attachment 1584388 [details]
File: cpuinfo

Comment 4 Eric Harney 2019-06-25 17:27:02 UTC
Created attachment 1584389 [details]
File: environ

Comment 5 Eric Harney 2019-06-25 17:27:03 UTC
Created attachment 1584390 [details]
File: mountinfo

Comment 6 Eric Harney 2019-06-25 17:27:05 UTC
Created attachment 1584391 [details]
File: namespaces

Comment 7 Eric Harney 2019-06-25 17:27:06 UTC
Created attachment 1584392 [details]
File: open_fds

Comment 8 Artur Frenszek-Iwicki 2019-06-29 21:35:24 UTC
Hi and thanks for reporting the bug.

Can you check which version of python3-gobject is installed on your system? The latest version in Fedora is 3.30.4. There have been some minor issues with blueman when running with an older version of python3-gobject; updating that package may solve this issue.

Also, if you can reproduce the bug, please do the following:
1. Open the terminal
2. Close any running instances of blueman-applet: "pkill blueman-applet"
3. Run blueman in debug mode: "blueman-applet --loglevel debug"
4. Trigger the bug
5. Copy any output from blueman-applet and post it here.

Thanks in advance!

Comment 9 Eric Harney 2019-07-01 13:25:37 UTC
$ rpm -qi python3-gobject
Name        : python3-gobject
Version     : 3.30.4
Release     : 1.fc29
Architecture: x86_64
Install Date: Tue 04 Dec 2018 05:52:25 AM EST

This version has been installed since before the crash.

Attached is some debug log output from a reproduction attempt -- I think it may be a different error.

Comment 10 Eric Harney 2019-07-01 13:26:03 UTC
Created attachment 1586301 [details]
blueman-applet debug

Comment 11 Artur Frenszek-Iwicki 2019-07-01 13:45:04 UTC
Thanks for the debug output. I have reported the issue upstream and will try working together to fix it.

If you have a GitHub account, you can participate in the upstream bug report at the following URL: https://github.com/blueman-project/blueman/issues/1062

Comment 12 Fedora Update System 2019-07-08 07:25:10 UTC
FEDORA-2019-7b1d56b656 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7b1d56b656

Comment 13 Fedora Update System 2019-07-08 07:25:42 UTC
FEDORA-2019-044354081d has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-044354081d

Comment 14 Fedora Update System 2019-07-09 01:21:50 UTC
blueman-2.1.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7b1d56b656

Comment 15 Fedora Update System 2019-07-09 03:19:42 UTC
blueman-2.1.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-044354081d

Comment 16 Fedora Update System 2019-07-17 01:06:10 UTC
blueman-2.1.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-07-17 03:00:04 UTC
blueman-2.1.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.