I've recently setup python to work with lighttpd via CGI (see here). But the minute I go to include RPi.GPIO, the script stops executing (I'm assuming because no HTML gets output), but there is no error output into the error log (
import RPi.GPIO as GPIO print "<html>" print "\t<head>" print "\t\t<title>GPIO</title>" print "\t</head>" print "\t<body>" print "\t\t<p>" print "\t\t\tGPIO #17 status: " print "\t\t</p>" print "\t</body>" print "</html>"
Why is the script not executing? Is it because of permissions? Surely, including the library shouldn't require any special permissions? Why isn't there any error output either in the script or in the error log?