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
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
python-dimond (master) ✗ sudo python test.py
[sudo] password for btfz:
Traceback (most recent call last):
File "test.py", line 11, in
network.connect()
File "/home/btfz/Downloads/BLE_PAPER/python-dimond/dimond/init.py", line 113, in connect
self.device = btle.Peripheral(self.mac, addrType=btle.ADDR_TYPE_PUBLIC)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 391, in init
self._connect(deviceAddr, addrType, iface)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 426, in _connect
self._startHelper(iface)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 284, in _startHelper
preexec_fn = preexec_function)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered:
Hello:
I use
python test.py
and get an error:python-dimond (master) ✗ sudo python test.py
[sudo] password for btfz:
Traceback (most recent call last):
File "test.py", line 11, in
network.connect()
File "/home/btfz/Downloads/BLE_PAPER/python-dimond/dimond/init.py", line 113, in connect
self.device = btle.Peripheral(self.mac, addrType=btle.ADDR_TYPE_PUBLIC)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 391, in init
self._connect(deviceAddr, addrType, iface)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 426, in _connect
self._startHelper(iface)
File "/usr/local/lib/python2.7/dist-packages/bluepy-1.3.0-py2.7.egg/bluepy/btle.py", line 284, in _startHelper
preexec_fn = preexec_function)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered: