You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./an2linuxserver.py
[2017-03-30 14:47:23] Server certificate fingerprint: 7F 38 1C D0 93 14 6F 75 AD A2 E0 4C 6C E0 A7 E3 9F 21 30 AA
Traceback (most recent call last):
File "/home/myusername/.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 836, in
bluetooth_server = ThreadingBluetoothServer()
File "./an2linuxserver.py", line 282, in init
profiles=[SERIAL_PORT_PROFILE])
File "/home/myusername/.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 think the problem is between python 2.7, 3.0 and 3.5
I installed using pip:
pip3 install pybluez --user
I tried running the script with python 2.7, 3 and 3.5
The text was updated successfully, but these errors were encountered:
Using Xubuntu 16.04 server fails to start:
./an2linuxserver.py
[2017-03-30 14:47:23] Server certificate fingerprint: 7F 38 1C D0 93 14 6F 75 AD A2 E0 4C 6C E0 A7 E3 9F 21 30 AA
Traceback (most recent call last):
File "/home/myusername/.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 836, in
bluetooth_server = ThreadingBluetoothServer()
File "./an2linuxserver.py", line 282, in init
profiles=[SERIAL_PORT_PROFILE])
File "/home/myusername/.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 think the problem is between python 2.7, 3.0 and 3.5
I installed using pip:
pip3 install pybluez --user
I tried running the script with python 2.7, 3 and 3.5
The text was updated successfully, but these errors were encountered: