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
After following the instructions, and copying the example, I am receiving this error:
gpio-admin: could not flush data to /sys/class/gpio/export: Device or resource busy
Traceback (most recent call last):
File "gpio.py", line 4, in
with pins.pin(1, direction=In) as pin:
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 45, in enter
self.open()
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 101, in open
gpio_admin("export", self.soc_pin_number, self._pull)
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 16, in gpio_admin
subprocess.check_call(["gpio-admin", subcommand, str(pin)])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gpio-admin', 'export', '18']' returned non-zero exit status 4
The text was updated successfully, but these errors were encountered:
After following the instructions, and copying the example, I am receiving this error:
gpio-admin: could not flush data to /sys/class/gpio/export: Device or resource busy
Traceback (most recent call last):
File "gpio.py", line 4, in
with pins.pin(1, direction=In) as pin:
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 45, in enter
self.open()
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 101, in open
gpio_admin("export", self.soc_pin_number, self._pull)
File "/home/pi/gpio/quick2wire-python-api/quick2wire/gpio.py", line 16, in gpio_admin
subprocess.check_call(["gpio-admin", subcommand, str(pin)])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gpio-admin', 'export', '18']' returned non-zero exit status 4
The text was updated successfully, but these errors were encountered: