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
I have installed PyBBIO 0.10 on a beaglebone black with angstrom 2012.12 kernel 3.8.13,
after installation I ran python blink.py it give me message below. what did I do wrong?
root@beaglebone:~/PyBBIO/examples# python blink.py
Traceback (most recent call last):
File "blink.py", line 7, in
from bbio import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/init.py", line 5, in
from .bbio import run, stop
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/bbio.py", line 10, in
from .platform import platform_init, platform_cleanup
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/init.py", line 6, in
from beaglebone import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/init.py", line 9, in
from i2c import I2C1, I2C2, Wire1, Wire2
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 63, in
Wire1 = I2C1 = I2CBus(1)
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 15, in init
super(I2CBus, self).init(bus)
SystemError: NULL result without error in PyObject_Call
Installed /usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg
Processing dependencies for PyBBIO==0.10
Searching for serbus==1.0.4
Best match: serbus 1.0.4
Adding serbus 1.0.4 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Searching for requests==2.8.1
Best match: requests 2.8.1
Adding requests 2.8.1 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Searching for pyserial==2.7
Best match: pyserial 2.7
Adding pyserial 2.7 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Finished processing dependencies for PyBBIO==0.10
The text was updated successfully, but these errors were encountered:
root@beaglebone:~/PyBBIO# cd /usr/local/lib/PyBBIO/examples/
root@beaglebone:/usr/local/lib/PyBBIO/examples# python blink.py
Traceback (most recent call last):
File "blink.py", line 7, in
from bbio import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/init.py", line 5, in
from .bbio import run, stop
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/bbio.py", line 10, in
from .platform import platform_init, platform_cleanup
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/init.py", line 6, in
from beaglebone import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/init.py", line 9, in
from i2c import I2C1, I2C2, Wire1, Wire2
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 63, in
Wire1 = I2C1 = I2CBus(1)
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 15, in init
super(I2CBus, self).init(bus)
SystemError: NULL result without error in PyObject_Call
@sjMoquin That's also an Angstrom image? I'm not technically supporting Angstrom these days since the Debian builds have been the only images maintained and supported by BeagleBoard.org - you shouldn't have any trouble if you update...
That said, it looks like I'm not catching an error in the I2C C extension, which isn't very good... I'll look into it...
Hi, Alex,
I have installed PyBBIO 0.10 on a beaglebone black with angstrom 2012.12 kernel 3.8.13,
after installation I ran python blink.py it give me message below. what did I do wrong?
root@beaglebone:~/PyBBIO/examples# python blink.py
Traceback (most recent call last):
File "blink.py", line 7, in
from bbio import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/init.py", line 5, in
from .bbio import run, stop
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/bbio.py", line 10, in
from .platform import platform_init, platform_cleanup
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/init.py", line 6, in
from beaglebone import *
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/init.py", line 9, in
from i2c import I2C1, I2C2, Wire1, Wire2
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 63, in
Wire1 = I2C1 = I2CBus(1)
File "/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 15, in init
super(I2CBus, self).init(bus)
SystemError: NULL result without error in PyObject_Call
here are the installation log:
root@beaglebone:
/PyBBIO# ls/PyBBIO# python setup.py installCHANGES.md PyBBIO.egg-info build doinstall.sh setup.py
LICENSE.txt README.md code_of_conduct.md examples tests
MANIFEST.in bbio dist setup.cfg tools
root@beaglebone:
Installing PyBBIO...
running install
running bdist_egg
running egg_info
writing requirements to PyBBIO.egg-info/requires.txt
writing PyBBIO.egg-info/PKG-INFO
writing top-level names to PyBBIO.egg-info/top_level.txt
writing dependency_links to PyBBIO.egg-info/dependency_links.txt
reading manifest file 'PyBBIO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PyBBIO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
running build_ext
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/bbio
creating build/bdist.linux-armv7l/egg/bbio/libraries
creating build/bdist.linux-armv7l/egg/bbio/libraries/RotaryEncoder
copying build/lib.linux-armv7l-2.7/bbio/libraries/RotaryEncoder/rotary_encoder.py -> build/bdist.linux-armv7l/egg/bbio/libraries/RotaryEncoder
copying build/lib.linux-armv7l-2.7/bbio/libraries/RotaryEncoder/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/RotaryEncoder
creating build/bdist.linux-armv7l/egg/bbio/libraries/EventIO
copying build/lib.linux-armv7l-2.7/bbio/libraries/EventIO/eventio.py -> build/bdist.linux-armv7l/egg/bbio/libraries/EventIO
copying build/lib.linux-armv7l-2.7/bbio/libraries/EventIO/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/EventIO
creating build/bdist.linux-armv7l/egg/bbio/libraries/LiquidCrystal
copying build/lib.linux-armv7l-2.7/bbio/libraries/LiquidCrystal/LiquidCrystal.py -> build/bdist.linux-armv7l/egg/bbio/libraries/LiquidCrystal
copying build/lib.linux-armv7l-2.7/bbio/libraries/LiquidCrystal/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/LiquidCrystal
creating build/bdist.linux-armv7l/egg/bbio/libraries/SafeProcess
copying build/lib.linux-armv7l-2.7/bbio/libraries/SafeProcess/safe_process.py -> build/bdist.linux-armv7l/egg/bbio/libraries/SafeProcess
copying build/lib.linux-armv7l-2.7/bbio/libraries/SafeProcess/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/SafeProcess
creating build/bdist.linux-armv7l/egg/bbio/libraries/ADT7310
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADT7310/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADT7310
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADT7310/adt7310.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADT7310
creating build/bdist.linux-armv7l/egg/bbio/libraries/HTU21D
copying build/lib.linux-armv7l-2.7/bbio/libraries/HTU21D/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/HTU21D
copying build/lib.linux-armv7l-2.7/bbio/libraries/HTU21D/HTU21D.py -> build/bdist.linux-armv7l/egg/bbio/libraries/HTU21D
creating build/bdist.linux-armv7l/egg/bbio/libraries/BBIOServer
copying build/lib.linux-armv7l-2.7/bbio/libraries/BBIOServer/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/BBIOServer
copying build/lib.linux-armv7l-2.7/bbio/libraries/BBIOServer/bbio_server.py -> build/bdist.linux-armv7l/egg/bbio/libraries/BBIOServer
creating build/bdist.linux-armv7l/egg/bbio/libraries/GridEYE
copying build/lib.linux-armv7l-2.7/bbio/libraries/GridEYE/GridEYE.py -> build/bdist.linux-armv7l/egg/bbio/libraries/GridEYE
copying build/lib.linux-armv7l-2.7/bbio/libraries/GridEYE/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/GridEYE
creating build/bdist.linux-armv7l/egg/bbio/libraries/Servo
copying build/lib.linux-armv7l-2.7/bbio/libraries/Servo/Servo.py -> build/bdist.linux-armv7l/egg/bbio/libraries/Servo
copying build/lib.linux-armv7l-2.7/bbio/libraries/Servo/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/Servo
copying build/lib.linux-armv7l-2.7/bbio/libraries/example.py -> build/bdist.linux-armv7l/egg/bbio/libraries
creating build/bdist.linux-armv7l/egg/bbio/libraries/ADXL345
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADXL345/ADXL345.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADXL345
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADXL345/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADXL345
creating build/bdist.linux-armv7l/egg/bbio/libraries/IoT
copying build/lib.linux-armv7l-2.7/bbio/libraries/IoT/thingspeak.py -> build/bdist.linux-armv7l/egg/bbio/libraries/IoT
copying build/lib.linux-armv7l-2.7/bbio/libraries/IoT/phant.py -> build/bdist.linux-armv7l/egg/bbio/libraries/IoT
copying build/lib.linux-armv7l-2.7/bbio/libraries/IoT/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/IoT
creating build/bdist.linux-armv7l/egg/bbio/libraries/DACx311
copying build/lib.linux-armv7l-2.7/bbio/libraries/DACx311/dacx311.py -> build/bdist.linux-armv7l/egg/bbio/libraries/DACx311
copying build/lib.linux-armv7l-2.7/bbio/libraries/DACx311/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/DACx311
creating build/bdist.linux-armv7l/egg/bbio/libraries/MMA7660
copying build/lib.linux-armv7l-2.7/bbio/libraries/MMA7660/mma7660.py -> build/bdist.linux-armv7l/egg/bbio/libraries/MMA7660
copying build/lib.linux-armv7l-2.7/bbio/libraries/MMA7660/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/MMA7660
creating build/bdist.linux-armv7l/egg/bbio/libraries/BMP183
copying build/lib.linux-armv7l-2.7/bbio/libraries/BMP183/BMP183.py -> build/bdist.linux-armv7l/egg/bbio/libraries/BMP183
copying build/lib.linux-armv7l-2.7/bbio/libraries/BMP183/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/BMP183
copying build/lib.linux-armv7l-2.7/bbio/libraries/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries
creating build/bdist.linux-armv7l/egg/bbio/libraries/WebCam
copying build/lib.linux-armv7l-2.7/bbio/libraries/WebCam/webcam.py -> build/bdist.linux-armv7l/egg/bbio/libraries/WebCam
copying build/lib.linux-armv7l-2.7/bbio/libraries/WebCam/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/WebCam
creating build/bdist.linux-armv7l/egg/bbio/libraries/ADS786x
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADS786x/ads786x.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADS786x
copying build/lib.linux-armv7l-2.7/bbio/libraries/ADS786x/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/ADS786x
creating build/bdist.linux-armv7l/egg/bbio/libraries/MAX31855
copying build/lib.linux-armv7l-2.7/bbio/libraries/MAX31855/init.py -> build/bdist.linux-armv7l/egg/bbio/libraries/MAX31855
copying build/lib.linux-armv7l-2.7/bbio/libraries/MAX31855/max31855.py -> build/bdist.linux-armv7l/egg/bbio/libraries/MAX31855
creating build/bdist.linux-armv7l/egg/bbio/platform
creating build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/serial_port.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/spi.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/api.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/adc.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/gpio.so -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/interrupt.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/cape_manager.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/init.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/i2c.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/config.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/pinmux.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/beaglebone/pwm.py -> build/bdist.linux-armv7l/egg/bbio/platform/beaglebone
copying build/lib.linux-armv7l-2.7/bbio/platform/init.py -> build/bdist.linux-armv7l/egg/bbio/platform
creating build/bdist.linux-armv7l/egg/bbio/platform/util
copying build/lib.linux-armv7l-2.7/bbio/platform/util/init.py -> build/bdist.linux-armv7l/egg/bbio/platform/util
copying build/lib.linux-armv7l-2.7/bbio/platform/util/sysfs.so -> build/bdist.linux-armv7l/egg/bbio/platform/util
copying build/lib.linux-armv7l-2.7/bbio/platform/platform.py -> build/bdist.linux-armv7l/egg/bbio/platform
copying build/lib.linux-armv7l-2.7/bbio/bbio.py -> build/bdist.linux-armv7l/egg/bbio
copying build/lib.linux-armv7l-2.7/bbio/init.py -> build/bdist.linux-armv7l/egg/bbio
copying build/lib.linux-armv7l-2.7/bbio/common.py -> build/bdist.linux-armv7l/egg/bbio
writing byte-compilation script '/tmp/tmpnKMkdL.py'
/usr/bin/python /tmp/tmpnKMkdL.py
removing /tmp/tmpnKMkdL.py
creating stub loader for bbio/platform/util/sysfs.so
creating stub loader for bbio/platform/beaglebone/gpio.so
writing byte-compilation script '/tmp/tmpjflyyn.py'
/usr/bin/python /tmp/tmpjflyyn.py
removing /tmp/tmpjflyyn.py
installing package data to build/bdist.linux-armv7l/egg
running install_data
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying PyBBIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying PyBBIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying PyBBIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying PyBBIO.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying PyBBIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
bbio.bbio: module references file
creating 'dist/PyBBIO-0.10-py2.7-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing PyBBIO-0.10-py2.7-linux-armv7l.egg
removing '/usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg' (and everything under it)
creating /usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg
Extracting PyBBIO-0.10-py2.7-linux-armv7l.egg to /usr/lib/python2.7/site-packages
PyBBIO 0.10 is already the active version in easy-install.pth
Installed /usr/lib/python2.7/site-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg
Processing dependencies for PyBBIO==0.10
Searching for serbus==1.0.4
Best match: serbus 1.0.4
Adding serbus 1.0.4 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Searching for requests==2.8.1
Best match: requests 2.8.1
Adding requests 2.8.1 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Searching for pyserial==2.7
Best match: pyserial 2.7
Adding pyserial 2.7 to easy-install.pth file
Using /usr/lib/python2.7/site-packages
Finished processing dependencies for PyBBIO==0.10
The text was updated successfully, but these errors were encountered: