Git Product home page Git Product logo

Comments (3)

alexanderhiam avatar alexanderhiam commented on July 30, 2024

Should be fixed now, try:

# git pull
# python setup.py install

from pybbio.

Sanerix avatar Sanerix commented on July 30, 2024

Greetings Alexander

I did receive the new .dts and new pwm.py files, however I still see the same error during the setup and also during the test:

Installing PyBBIO...
Old PyBBIO device tree overlay directory found, overwriting...
Generating and compiling GPIO overlays...
Traceback (most recent call last):
File "tools/install-bb-overlays.py", line 119, in
generateOverlays()
File "tools/install-bb-overlays.py", line 83, in generateOverlays
with open('%s/%s-%s.dts' % (firmware_source_path, overlay_name, version), 'wb') as f:
IOError: [Errno 20] Not a directory: '/lib/firmware/PyBBIO-src/PyBBIO-gpio0_9-00A0.dts'
running install
....

And than during the example execution:
root@beaglebone:~/python/PyBBIO/examples# python blink.py
Traceback (most recent call last):
File "blink.py", line 27, in
run(setup, loop)
File "/usr/lib/python2.7/site-packages/PyBBIO-0.8-py2.7-linux-armv7l.egg/bbio/bbio.py", line 77, in run
bbio_init()
File "/usr/lib/python2.7/site-packages/PyBBIO-0.8-py2.7-linux-armv7l.egg/bbio/bbio.py", line 37, in bbio_init
platform_init()
File "/usr/lib/python2.7/site-packages/PyBBIO-0.8-py2.7-linux-armv7l.egg/bbio/platform/api.py", line 12, in platform_init
analog_init()
File "/usr/lib/python2.7/site-packages/PyBBIO-0.8-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/adc.py", line 16, in analog_init
cape_manager.load(ADC_ENABLE_DTS_OVERLAY, auto_unload=False)
File "/usr/lib/python2.7/site-packages/PyBBIO-0.8-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/cape_manager.py", line 22, in load
f.write(overlay)
IOError: [Errno 2] No such file or directory

from pybbio.

Sanerix avatar Sanerix commented on July 30, 2024

Just solved the compilation problem by deleting /lib/firmware/PyBBIO-src and running the setup again.

Thank you!

from pybbio.

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.