Description
Hello devs,
I had an issue with the current bluetooth script when pairing a ds4 over bluetooth.
my controller died during the pairing after the Yes/No prompt.
the result was this output :
^[[CTraceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-simple-agent", line 118, in pair_reply
dev_connect(dev_path)
File "/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-simple-agent", line 38, in dev_connect
dev.Connect()
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in call
return self._proxy_method(*args, **keywords)
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.bluez.Error.Failed: Host is down
And then the script just hang forever without returning to the menu.
Easy workaround is doing CTRL+C a couple of times to kill the script. But I feel after a timeout (host is down) it should return to the retropie cli menu.
I know c0d3h4x0r is trying to modify the script already in pull #3193
maybe this is something that could be done at the same time if he would be willing to have a look.
Thanks and have a good day !