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
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Running script RPIO/source/scripts/rpio with option --sysinfo results in an error:
pi@raspberrypi:~/RPIO/RPIO/source/scripts $ rpio --sysinfo
Script not started as root. Running sudo...
Traceback (most recent call last):
File "/usr/local/bin/rpio", line 4, in <module>
__import__('pkg_resources').run_script('RPIO==2.0.0-beta1', 'rpio')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/RPIO-2.0.0_beta1-py2.7-linux-armv7l.egg/EGG-INFO/scripts/rpio", line 353, in <module>
File "/usr/local/lib/python2.7/dist-packages/RPIO-2.0.0_beta1-py2.7-linux-armv7l.egg/EGG-INFO/scripts/rpio", line 346, in main
File "build/bdist.linux-armv7l/egg/RPIO/__init__.py", line 186, in sysinfo
KeyError: 'a22082'
This apparently results from not including the recent hardware versions in the checking code.
This should be updated to recognize the RPi3.
Also, it would be helpful to print a formatted message if run on unrecognized hardware.
I plan to submit a PR for this.
i had to fork and patch this lately so i could use it on my pi zero w, i updated the list with all the currently known versions of the pi, you can give it a try here: https://github.com/JamesGKent/RPIO/tree/v2
Thanks, James.
I have just made a fork on GH (Thad-BC/RPIO) to fix this and other problems
for new modules. Although I already made changes on my system, I'll look
at yours to see if there is anything to add.
Thad
Running script RPIO/source/scripts/rpio with option --sysinfo results in an error:
This apparently results from not including the recent hardware versions in the checking code.
This should be updated to recognize the RPi3.
Also, it would be helpful to print a formatted message if run on unrecognized hardware.
I plan to submit a PR for this.
Environment:
RPIO version: v2 (2016.06.02: 07c776f)
Hardware: RPi 3, BCM2709, rev. a22082
OS: Raspbian GNU/Linux 8
Python: 2.7.9
The text was updated successfully, but these errors were encountered: