Open GoogleCodeExporter opened 9 years ago
If GPIO is undefined your initial setup may have been incomplete, i.e. the
compilation of the native C module for GPIO may have failed.
Redo setup and check if everything went through correct.
Original comment by andreas....@googlemail.com
on 9 Feb 2015 at 1:48
I have same issue, redo setup multiple times and it does not work.
Raspberry PI 2 is fresh Raspian installed and second thing done is install
WebIOPi.
Original comment by lukasz...@gmail.com
on 11 Feb 2015 at 9:37
I believe it's the GPIO library not compatible with Pi2 yet. Hopefully they
will release new update soon. Finger cross!
Original comment by junquan....@gmail.com
on 11 Feb 2015 at 9:50
Hi, complete Rpi newby here, but getting the exact same error - all routes seem
to lead to an incompatibility with the new Pi?
Original comment by tallguy...@gmail.com
on 14 Feb 2015 at 12:17
[deleted comment]
To add, I updated to RPi.GPIO 0.5.10 and still get the same issue. The error
materializes in the verbose logging when I click any of the buttons / pins on
the GPIO-Header page.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.2/socketserver.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.2/socketserver.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.2/socketserver.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.2/socketserver.py", line 648, in __init__
self.handle()
File "/usr/lib/python3.2/http/server.py", line 396, in handle
self.handle_one_request()
File "/usr/lib/python3.2/http/server.py", line 384, in handle_one_request
method()
File "/usr/local/lib/python3.2/dist-packages/WebIOPi-0.7.1-py3.2-linux-armv7l.egg/webiopi/protocols/http.py", line 267, in do_GET
self.processRequest()
File "/usr/local/lib/python3.2/dist-packages/WebIOPi-0.7.1-py3.2-linux-armv7l.egg/webiopi/protocols/http.py", line 258, in processRequest
except (GPIO.InvalidDirectionException, GPIO.InvalidChannelException, GPIO.SetupException) as e:
NameError: global name 'GPIO' is not defined
Original comment by tallguy...@gmail.com
on 14 Feb 2015 at 12:19
I got same error on Pi2. Please help!
Original comment by emy...@gmail.com
on 19 Apr 2015 at 6:08
Original issue reported on code.google.com by
junquan....@gmail.com
on 7 Feb 2015 at 4:39