blueman-project / blueman

Blueman is a GTK+ Bluetooth Manager
GNU General Public License v3.0
1.27k stars 192 forks source link

Error when trying to connect to a device #1920

Closed ccouto closed 2 years ago

ccouto commented 2 years ago

blueman: 2.3.3 BlueZ: 5.65-3 Distribution: arch (updated) Desktop environment: kde-plasma

Got the following error trying to connect to a device. It used to work properly.

Connection Failed: File "/usr/lib/python3.10/site-packages/blueman/main/DbusService.py", line 154, in _handle_method_call method(*(args + (ok, lambda exception: self._return_dbus_error(invocation, exception)))) File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/DBusService.py", line 66, in connect_service self.parent.Plugins.RecentConns.notify(object_path, uuid) File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/RecentConns.py", line 143, in notify self._rebuild() File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/RecentConns.py", line 86, in _rebuild self._item.set_sensitive(True) File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/Menu.py", line 106, in set_sensitive self._menu_plugin.on_menu_changed() File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/Menu.py", line 145, in on_menu_changed self._emit_dbus_signal("MenuChanged", self._get_menu()) File "/usr/lib/python3.10/site-packages/blueman/plugins/applet/Menu.py", line 149, in _get_menu for key in sorted(self.__menuitems.keys()) TypeError: '<' not supported between instances of 'tuple' and 'int'

infirit commented 2 years ago

This is fixed in version 2.3.4

ipaqmaster commented 2 years ago

Also started getting this one recently. TypeError: '<' not supported between instances of 'tuple' and 'int'.Version 2.3.3-1.

Bluetoothctl still usable to initiate connections to my devices.

E: Updating blueman to v2.3.4 resolved this for me. Many thanks.