Bug 2196303

Summary: [abrt] blueman: device_remove_event(): DeviceList.py:175:device_remove_event:AssertionError
Product: [Fedora] Fedora Reporter: Mark <marksprague61>
Component: bluemanAssignee: Artur Frenszek-Iwicki <fedora>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: fedora, fedora, marksprague61, mikael79
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7c62408030e19e07f296ce17685d9589c6e81e5
Whiteboard: abrt_hash:42a0d36e21d2800a8b3834c8877bc2ae2b3d0b64;VARIANT_ID=cinnamon;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Mark 2023-05-08 17:30:06 UTC
Version-Release number of selected component:
blueman-1:2.3.5-2.fc38

Additional info:
reporter:       libreport-2.17.9
kernel:         6.2.14-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/blueman-manager
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/blueman-manager.service
uid:            1000
reason:         DeviceList.py:175:device_remove_event:AssertionError
executable:     /usr/bin/blueman-manager
type:           Python3
package:        blueman-1:2.3.5-2.fc38
runlevel:       N 5
exception_type: AssertionError
crash_function: device_remove_event
interpreter:    python3-3.11.3-1.fc38.x86_64

Truncated backtrace:
DeviceList.py:175:device_remove_event:AssertionError

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/gui/manager/ManagerDeviceList.py", line 518, in on_finished
    callback()
  File "/usr/lib/python3.11/site-packages/blueman/gui/manager/ManagerDeviceList.py", line 308, in <lambda>
    self._prepare_fader(row_fader, lambda: self.__fader_finished(device))
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/blueman/gui/manager/ManagerDeviceList.py", line 312, in __fader_finished
    super().device_remove_event(device)
  File "/usr/lib/python3.11/site-packages/blueman/gui/DeviceList.py", line 175, in device_remove_event
    assert tree_iter is not None
           ^^^^^^^^^^^^^^^^^^^^^
AssertionError

Local variables in innermost frame:
self: <ManagerDeviceList.ManagerDeviceList object at 0x7fdee91965c0 (blueman+gui+manager+ManagerDeviceList+ManagerDeviceList at 0x55c28a4a3e40)>
device: <Device.Device object at 0x7fdeecf83600 (blueman+bluez+Device+Device at 0x55c28a536cc0)>
tree_iter: None

Potential duplicate: bug 2122593

Comment 1 Mark 2023-05-08 17:30:09 UTC
Created attachment 1963276 [details]
File: os_info

Comment 2 Mark 2023-05-08 17:30:10 UTC
Created attachment 1963277 [details]
File: environ

Comment 3 Mark 2023-05-08 17:30:12 UTC
Created attachment 1963278 [details]
File: mountinfo

Comment 4 Mark 2023-05-08 17:30:14 UTC
Created attachment 1963279 [details]
File: open_fds

Comment 5 Mark 2023-05-08 17:30:15 UTC
Created attachment 1963280 [details]
File: namespaces

Comment 6 Mark 2023-05-08 17:30:16 UTC
Created attachment 1963281 [details]
File: backtrace

Comment 7 Mark 2023-05-08 17:30:18 UTC
Created attachment 1963282 [details]
File: cpuinfo

Comment 8 rajumb502 2023-07-19 06:52:07 UTC
occurred after system suspend though I had disconnected the BT headset manually before suspending


reporter:       libreport-2.17.11
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/blueman-manager.service
package:        blueman-1:2.3.5-3.fc38
type:           Python3
uid:            1000
kernel:         6.3.12-200.fc38.x86_64
exception_type: AssertionError
interpreter:    python3-3.11.4-1.fc38.x86_64
reason:         DeviceList.py:175:device_remove_event:AssertionError
executable:     /usr/bin/blueman-manager
runlevel:       N 5
cmdline:        /usr/bin/python3 -sPE /usr/bin/blueman-manager
crash_function: device_remove_event
comment:        occurred after system suspend though I had disconnected the BT headset manually before suspending

Comment 9 Jesús 2023-08-15 09:21:10 UTC
cada vez que reproduzco música,
para solucionarlo, desconecto el dongle bluetooth y vuelvo a conectar.
cuando esto no funciona, reinicio el sistema. 
a veces necesito reiniciar varias veces y se resuelve solo el problema.


reporter:       libreport-2.17.11
kernel:         6.4.7-200.fc38.x86_64
cmdline:        /usr/bin/python3 -sPE /usr/bin/blueman-manager
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/blueman-manager.service
uid:            1000
reason:         DeviceList.py:175:device_remove_event:AssertionError
executable:     /usr/bin/blueman-manager
type:           Python3
package:        blueman-1:2.3.5-3.fc38
runlevel:       N 5
exception_type: AssertionError
crash_function: device_remove_event
interpreter:    python3-3.11.4-1.fc38.x86_64