Blueman-applet cannot restart bluetooth adapters

Bug #1699885 reported by Omadas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
blueman (Ubuntu)
New
Undecided
Unassigned

Bug Description

After turning bluetooth off (unexpectedly hangs, bug report already present), blueman cannot restart bluetooth adapters. Opening in terminal blueman-applet and trying again, but this produced no helpful errors, so i started blueman-adapters since this can only be opened when bluetooth adapters are started, this produced more helpful output:
pi@raspberrypi:~ $ blueman-adapters

** (blueman-adapters:3659): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
blueman-adapters version 1.99.alpha1 starting
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
org.bluez owner changed to :1.7
Traceback (most recent call last):
  File "/usr/bin/blueman-adapters", line 232, in <module>
    BluemanAdapters(adapter_name)
  File "/usr/bin/blueman-adapters", line 42, in __init__
    check_bluetooth_status(_("Bluetooth needs to be turned on for the adapter manager to work"), lambda: exit())
  File "/usr/lib/python2.7/dist-packages/blueman/Functions.py", line 97, in check_bluetooth_status
    applet.SetBluetoothStatus(True, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.IOError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "<string>", line 2, in SetBluetoothStatus
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py", line 192, in SetBluetoothStatus
    self.RequestPowerState(status)
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py", line 133, in RequestPowerState
    self.UpdatePowerState()
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py", line 180, in UpdatePowerState
    dprint("off", off, "\nfoff", foff, "\non", on, "\ncurrent state", self.current_state, "\nnew state", new_state)
  File "/usr/lib/python2.7/dist-packages/blueman/Functions.py", line 64, in dprint
    print s
IOError: [Errno 5] Input/output error

If i run ¨$ sudo /etc/init.d/bluetooth start¨ you will notice there exists no problem with the bluetooth service:
pi@raspberrypi:~ $ sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.

I have tried stopping and starting the service both before and after invoking blueman-applet or bluman-adapters. The result is always the same, bluetooth service reports ¨ok", blueman-applet plays ¨Turn Bluetooth On¨,and no bluetooth devices work. In fact, attempting to use a bluetooth device still causes the following error:
Failed to connect to device -
GDBus.Error:org.bluez.Error.NotReady:
Resource Not Ready. Try to connect again.

Changed in blueman:
status: Unknown → New
Changed in blueman:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.