Problems with a programme called CyberChair
peter at engcorp.com
Fri Oct 10 18:46:27 CEST 2003
The Doctor wrote:
> In the mean time, I adjusted the #!
> to include the more stable version and added -d -v at the end.
> I got:
> Your server is not allowed to access this script. import struct # dynamically loaded from /usr/local/lib/python2.1/lib-dynload/struct.so import fcntl # dynamically loaded from /usr/local/lib/python2.1/lib-dynload/fcntl.so # /usr/local/lib/python2.1/plat-freebsd4/FCNTL.pyc matches /usr/local/lib/python2.1/plat-freebsd4/FCNTL.py import FCNTL # precompiled from /usr/local/lib/python2.1/plat-freebsd4/FCNTL.pyc import submit_save # from /usr/local/www/data/naiso/cgi-bin/submit_save.py # can't create /usr/local/www/data/naiso/cgi-bin/submit_save.pyc import submit_phase1 # from /usr/local/www/data/naiso/cgi-bin/submit_phase1.py # can't create /usr/local/www/data/naiso/cgi-bin/submit_phase1.pyc
> What should I do next?
I suggest finding where the error message is coming from. What
evidence is there that this is a Python issue, and not an error
message from the operating system?
Once you find the line in the script which produces that error message,
you should be able to look backwards to find the conditions which
would cause it to be printed.
More information about the Python-list