-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yet Another Problem #77
Comments
instead of Check out https://rvm.io/integration/sudo for a detailed explanation. |
I don't know how to use RvmSudo
|
Well, its pretty simple:
Let me know if your script works after doing the above. It is crucial to run the script via |
That is simpler than I expected but do I have to reinstall ruby? I have it installed already and it took me forever to re update everything.
|
I don't believe so, if you wanted to use the system ruby or whichever you have installed already. In that case, simply try running step 1 and step 3. |
@riolibrary Did you get your project working? |
No 😞 and it gave the same error except with something about a secure pathPlease help, I have been with this project for a couple months now and would like to finish it |
from the few line you posted I can understand that you run with a linux permission issue, which is not specific to PiPiper. Rasbian requires that gpio are accessed by an user with root privileges (which is not really true with jessy based raspian, but for clarity we will stick to that assomption) @riolibrary, could you copy/paste an extensive backtrace showing your bug. |
@riolibrary did you ever get this issue resolved? If so, what was the fix? If not can we try a few things?
Finally, as @elmatou points out, we'll need some more logging to better help you debug. If you can post a full backtrace of your errors it would be immensely helpful. |
After doing Sudo ruby xxxx.rb
/usr/uibl ruibylgews/1.9.1/ (Errno: :EBUSY) e Device or resource busy /sys/class/gpio/export r from piper-2.0.0/u b:65:in export from /usr/lib/ piper-2.e.e/uib/pi piper/bca283 b:34:in pin input. piper.2.0.0/uib/pi piper/pin.rb: sin initialize from /usr/lib/ruby/gems/1.9.1/gems/pi piper 2.0.0/uib/pi piper.rb115:in from /usr/lib/ruby/gems/1.9.1/gems/pi piper-2,0.0/uib/pi piper,rb1151in new block in Watch
Not completely correct.
Sorry😀
The text was updated successfully, but these errors were encountered: