Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluepy crash occourrences #14

Open
mauringo opened this issue Nov 29, 2019 · 0 comments
Open

Bluepy crash occourrences #14

mauringo opened this issue Nov 29, 2019 · 0 comments

Comments

@mauringo
Copy link

while using your code the script crashes (usually after 10-14H) leaving this error.

Exception ignored in: <function _BackendConnection.__del__ at 0x7575bd68> Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/base.py", line 55, in __del__ self._cleanup() File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/base.py", line 59, in _cleanup self._backend.disconnect() File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/bluepy.py", line 26, in _func_wrapper return func(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/bluepy.py", line 63, in disconnect self._peripheral.disconnect() File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 453, in disconnect self._writeCmd("disc\n") File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 305, in _writeCmd self._helper.stdin.flush() BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <function BluetoothInterface.__del__ at 0x7575bbb8> Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/base.py", line 17, in __del__ self._backend.disconnect() File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/bluepy.py", line 26, in _func_wrapper return func(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/btlewrap/bluepy.py", line 63, in disconnect self._peripheral.disconnect() File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 453, in disconnect self._writeCmd("disc\n") File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 305, in _writeCmd self._helper.stdin.flush() BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <function Peripheral.__del__ at 0x7563be88> Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 630, in __del__ self.disconnect() File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 453, in disconnect self._writeCmd("disc\n") File "/home/pi/.local/lib/python3.7/site-packages/bluepy/btle.py", line 305, in _writeCmd self._helper.stdin.flush() BrokenPipeError: [Errno 32] Broken pipe

@mauringo mauringo changed the title Bluepy crash occourrances Bluepy crash occourrences Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant