blueman icon indicating copy to clipboard operation
blueman copied to clipboard

blueman-manager crashed with AssertionError in device_remove_event()

Open mschaaf opened this issue 7 months ago • 2 comments

Crash on disabling the bluetooth device.

ExecutablePath: /usr/bin/blueman-manager
ExecutableTimestamp: 1739327663
InterpreterPath: /usr/bin/python3.13
Package: blueman 2.4.4~1-0syncable1
PackageArchitecture: amd64
ProcCmdline: /usr/bin/python3 /usr/bin/blueman-manager
SourcePackage: blueman
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py", line 118, in __on_manager_signal
     self.device_remove_event(path)
     ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
   File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 322, in device_remove_event
     assert tree_iter is not None
            ^^^^^^^^^^^^^^^^^^^^^
 AssertionError
Architecture: amd64
DistroRelease: Ubuntu 25.04

steps to reproduce

  • enable bluetooth device on computer
  • connect a bluetooth device, e.g. headset
  • put the computer into hibernation
  • turn it on again
    • the device is no longer connected
  • run bluetoothctl power off
    • I have a background job running that disables bluetooth via this command if no device is connected, but you should be able to call it manually

mschaaf avatar May 06 '25 07:05 mschaaf

Can you describe the steps that led to this more so we can try to reproduce this? For example, blueman doesn't have a disable button, so what did you do to disable a device.

infirit avatar May 13 '25 15:05 infirit

@infirit I put the steps to reproduce in the description.

mschaaf avatar May 13 '25 18:05 mschaaf