blueman icon indicating copy to clipboard operation
blueman copied to clipboard

AssertionErrors when starting blueman

Open bulgariamitko opened this issue 2 years ago • 6 comments

blueman: 2.3.5 BlueZ: 5.66 Distribution: Ubuntu 23.04 Desktop environment: ubuntu:GNOME

My issue: https://gist.github.com/bulgariamitko/471f4646aba26fe8e6ff52a35f286383

bulgariamitko avatar Jun 02 '23 14:06 bulgariamitko

ugh, why is it making it a dbus method call 😞 . If you want to just get it working quickly remove this line @bulgariamitko https://github.com/blueman-project/blueman/blob/2-3-stable/blueman/gui/manager/ManagerDeviceList.py#L138

@cschramm you want to push out a release with a fix for this? It's not going to be an issue in main afaics.

infirit avatar Jun 02 '23 16:06 infirit

Wait, does blueman work even with these errors @bulgariamitko ?

infirit avatar Jun 02 '23 17:06 infirit

@infirit that is a good question. I don't know, but maybe the issue is on my end as sometimes and I do not know why my bluetooth just stop working and when I then try to start blueman-manager I get this issue, it is opening and then it ask me to enable bluetooth I do that and then I do not see anything, no devices. To fix this issue I have to turn-off my laptop and then unplug the power source from my com, wait for 10 secs plug it again and then it is working. Restarting will not fix my issue. So, like I said I do not know if this is a blueman issue, but maybe for cases like mine there need to be try/catch code?

bulgariamitko avatar Jun 02 '23 17:06 bulgariamitko

I think I have the same issue on an old Linux Mint 21 laptop also with 2.3.5.

In my case, bluetooth does NOT work. Blueman GUI shows the list of paired devices for a few seconds, then the list disappears for a few seconds and this cycles endlessly. Sometimes the icon in the tray disappears and re-appears. I think the whole program breaks pretty much completely.

Re-installing bluez and blueman did not help.

Last week, everything worked fine.

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 518, in on_finished callback() File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 308, in self._prepare_fader(row_fader, lambda: self.__fader_finished(device)) File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 312, in __fader_finished super().device_remove_event(device) File "/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py", line 175, in device_remove_event assert tree_iter is not None AssertionError Traceback (most recent call last): File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 518, in on_finished callback() File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 308, in self._prepare_fader(row_fader, lambda: self.__fader_finished(device)) File "/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 312, in __fader_finished super().device_remove_event(device) File "/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py", line 175, in device_remove_event assert tree_iter is not None AssertionError Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook with os.fdopen(os.open(pr_filename, FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/crash/_usr_bin_blueman-manager.1000.crash'

graue70 avatar Jan 29 '24 18:01 graue70

Look like #1993 to me. The cause would be multiple competing faders, e.g. due to multiple calls to clear, wherever those come from. :shrug:

cschramm avatar Jan 30 '24 08:01 cschramm

@cschramm When can I expect a release that includes the fix? The fix has been in main for more than a year...

graue70 avatar Feb 05 '24 00:02 graue70