Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionErrors when starting blueman #2086

Open
1 task done
bulgariamitko opened this issue Jun 2, 2023 · 6 comments
Open
1 task done

AssertionErrors when starting blueman #2086

bulgariamitko opened this issue Jun 2, 2023 · 6 comments
Labels

Comments

@bulgariamitko
Copy link

bulgariamitko commented Jun 2, 2023

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

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

@cschramm cschramm added the bug label Jun 2, 2023
@infirit
Copy link
Contributor

infirit commented Jun 2, 2023

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
Copy link
Contributor

infirit commented Jun 2, 2023

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

@bulgariamitko
Copy link
Author

@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?

@graue70
Copy link

graue70 commented Jan 29, 2024

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'

@cschramm
Copy link
Member

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

@graue70
Copy link

graue70 commented Feb 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants