rootkiwi / an2linuxserver

Sync Android notifications encrypted to a Linux desktop
Other
402 stars 43 forks source link

Error when trying to use Bluetooth #12

Closed thvasilo closed 7 years ago

thvasilo commented 7 years ago

I get the following error when I try to start the program with Bluetooth enabled:

Traceback (most recent call last): File "/home/tvas/.local/lib/python3.5/site-packages/bluetooth/bluez.py", line 240, in advertise_service protocols) _bluetooth.error: (2, 'No such file or directory') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "an2linuxserver.py", line 779, in bluetooth_server = ThreadingBluetoothServer() File "an2linuxserver.py", line 279, in init profiles=[SERIAL_PORT_PROFILE]) File "/home/tvas/.local/lib/python3.5/site-packages/bluetooth/bluez.py", line 242, in advertise_service raise BluetoothError (str (e)) bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')

I've tried various solutions regarding bluez from SO and others but couldn't get it to work.

thvasilo commented 7 years ago

Fixed by using updated README from this fork: https://github.com/mfossen/an2linuxserver/commits/master