Giter Site home page Giter Site logo

Comments (4)

larsblumberg avatar larsblumberg commented on July 29, 2024

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.

fliiiix avatar fliiiix commented on July 29, 2024
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.

jo-me avatar jo-me commented on July 29, 2024

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.

larsblumberg avatar larsblumberg commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.