Bug 1668128

Summary: [abrt] blueman: __init__(): ManagerStats.py:21:__init__:AttributeError: 'NoneType' object has no attribute 'get_object_path'
Product: [Fedora] Fedora Reporter: Matthias Andree <matthias.andree>
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: baldelli.simone, cody22597, elennaro, fedora, nushio, seliga.honza, v.rumjantsev
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a30654e4d25ecf3550e1c5fffa344b754225b7e2
Whiteboard: abrt_hash:dc1eaeb0f590f32c229d711230f889de467a91a4;VARIANT_ID=workstation;
Fixed In Version: blueman-2.1-1.fc30 blueman-2.1-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-18 18:13:41 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

Description Matthias Andree 2019-01-22 01:25:41 UTC
Description of problem:
I was trying to switch on Bluetooth.

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

Additional info:
reporter:       libreport-2.9.7
cmdline:        /usr/bin/python3 /usr/bin/blueman-manager
crash_function: __init__
exception_type: AttributeError
executable:     /usr/bin/blueman-manager
interpreter:    python3-3.7.2-1.fc29.x86_64
kernel:         4.19.15-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
ManagerStats.py:21:__init__:AttributeError: 'NoneType' object has no attribute 'get_object_path'

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/blueman/main/Manager.py", line 138, in on_dbus_name_appeared
    self.Stats = ManagerStats(self)
  File "/usr/lib/python3.7/site-packages/blueman/gui/manager/ManagerStats.py", line 21, in __init__
    self.hci = adapter_path_to_name(blueman.List.Adapter.get_object_path())
AttributeError: 'NoneType' object has no attribute 'get_object_path'

Local variables in innermost frame:
self: <blueman.gui.manager.ManagerStats.ManagerStats object at 0x7f87d0a8c2b0>
blueman: <Manager.Blueman object at 0x7f87d4a0da20 (blueman+main+Manager+Blueman at 0x55871eddc290)>

Comment 1 Matthias Andree 2019-01-22 01:25:44 UTC
Created attachment 1522295 [details]
File: backtrace

Comment 2 Matthias Andree 2019-01-22 01:25:45 UTC
Created attachment 1522296 [details]
File: cgroup

Comment 3 Matthias Andree 2019-01-22 01:25:46 UTC
Created attachment 1522297 [details]
File: cpuinfo

Comment 4 Matthias Andree 2019-01-22 01:25:47 UTC
Created attachment 1522298 [details]
File: environ

Comment 5 Matthias Andree 2019-01-22 01:25:48 UTC
Created attachment 1522299 [details]
File: mountinfo

Comment 6 Matthias Andree 2019-01-22 01:25:49 UTC
Created attachment 1522300 [details]
File: namespaces

Comment 7 Matthias Andree 2019-01-22 01:25:50 UTC
Created attachment 1522301 [details]
File: open_fds

Comment 8 Simone Baldelli 2019-02-12 10:28:45 UTC
*** Bug 1676449 has been marked as a duplicate of this bug. ***

Comment 9 Cody Morterud 2019-02-21 00:49:47 UTC
Similar problem has been detected:

I attempted to start Bluetooth Manager after sudo restarting bluetooth.service using systemctl.

reporter:       libreport-2.9.7
cmdline:        /usr/bin/python3 /usr/bin/blueman-manager
crash_function: __init__
exception_type: AttributeError
executable:     /usr/bin/blueman-manager
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.20.4-200.fc29.x86_64
package:        1:blueman-2.1-0.14.alpha3.fc29
reason:         ManagerStats.py:21:__init__:AttributeError: 'NoneType' object has no attribute 'get_object_path'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 10 seliga.honza@gmail.com 2019-03-05 13:29:39 UTC
*** Bug 1685554 has been marked as a duplicate of this bug. ***

Comment 11 elennaro@mail.ru 2019-03-31 12:51:49 UTC
*** Bug 1694436 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2019-06-08 18:00:39 UTC
FEDORA-2019-8c57291079 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8c57291079

Comment 13 Fedora Update System 2019-06-08 18:01:45 UTC
FEDORA-2019-0829cd8aca has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0829cd8aca

Comment 14 Fedora Update System 2019-06-09 01:35:54 UTC
blueman-2.1-0.17.beta1.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-8c57291079

Comment 15 Fedora Update System 2019-06-09 06:12:44 UTC
blueman-2.1-0.16.beta1.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-0829cd8aca

Comment 16 Fedora Update System 2019-06-10 05:54:18 UTC
FEDORA-2019-e615964e0e has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e615964e0e

Comment 17 Fedora Update System 2019-06-10 05:55:02 UTC
FEDORA-2019-716095d88b has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-716095d88b

Comment 18 Fedora Update System 2019-06-11 01:18:18 UTC
blueman-2.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-e615964e0e

Comment 19 Fedora Update System 2019-06-11 01:45:20 UTC
blueman-2.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-716095d88b

Comment 20 Fedora Update System 2019-06-18 18:13:41 UTC
blueman-2.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 21 Fedora Update System 2019-06-18 21:18:55 UTC
blueman-2.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.