Comments (4)
Unfortunately we can't reproduce this behavior. Given that your gatttool
also fails I would assume that the error source might be the same.
from nuimo-linux-python.
pi@raspberrypi:~/nuimo-linux-python $ sudo PYTHONPATH=. python examples/test.py
INFO:nuimo:hci0, started Nuimo discovery
started discovery
INFO:nuimo:hci0, discovered Bluetooth device D8:3F:75:D5:45:0E, {'appearance': 384, 'flags': 6, 'name': 'Nuimo', 'uuids': [6159, 6154]}
INFO:nuimo:hci0, NuimoController(D8:3F:75:D5:45:0E)
added Nuimo: NuimoController(D8:3F:75:D5:45:0E)
finished discovery
INFO:nuimo:D8:3F:75:D5:45:0E: connecting
*** Error in `python': double free or corruption (fasttop): 0x759016a8 ***
pi@raspberrypi:~/nuimo-linux-python $ python --version
Python 2.7.9
I saw similar errors and the problem that it often failed to connect. A workaround which worked well for me is to remove the nuimo.pyc
file before each run (doesn't work always).
from nuimo-linux-python.
I have the same issue on RPI3 with python2
Sometimes, directly after starting it (probably when the connection is attempted)
*** Error in
python': double free or corruption (fasttop): 0x75901710 ***`
Removing the pyc-file did not help it..
I also saw this once (same as mentioned above):
RuntimeError: Could not update HCI connection: Connection timed out
from nuimo-linux-python.
I'm closing this issue in favor of the new Nuimo SDK that will be based on BlueZ's D-Bus API
from nuimo-linux-python.
Related Issues (20)
- suggested changes before initial release HOT 1
- Raspberry Pi 1 fails due to discover_characteristics HOT 3
- linux sdk not working on ubuntu 16.04 HOT 5
- Disconnect Nuimo controller if service and characteristic initialization failed after a successful connect
- Bluetooth MAC is AA:AA:AA:AA:AA:AA after bluez upgrade HOT 5
- Matrix displays are not respecting duration HOT 7
- nuimoctl broken after update to 0.24 HOT 2
- Update examples HOT 3
- Exception thrown from `connect_failed` HOT 2
- dbus.connection: Unable to set arguments HOT 4
- connect failed: No such property 'ServicesResolved' HOT 4
- Add option to completely deactivate FLY events
- Compatibility question
- LED Matrix not working HOT 8
- LED matrix does not update with BlueZ 5.50
- Wrong command in readme HOT 1
- Error installing pygattlib on Raspberry 1 HOT 2
- I want to have a delegate method that is called when Nuimo disconnects HOT 1
- TypeError: list indices must be integers, not str HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuimo-linux-python.