Which permission I have set wrong?
In addition I see in my apache errorlog: malformed header from script.
Bad header=<!DOCTYPE HTML ......
A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.
/usr/local/tmda/contrib/cgi/tmda-cgi.py
<file:///usr/local/tmda/contrib/cgi/tmda-cgi.py>
119 #cgi.print_form(PVars)
120
121 # This is the end my friend.
122 if __name__ == '__main__':
123 main()
*main* = <function main>
/usr/local/tmda/contrib/cgi/tmda-cgi.py
<file:///usr/local/tmda/contrib/cgi/tmda-cgi.py> in *main*()
88 PVars["Headers"] = "short"
89 PVars["InProcess"] = {}
90 PVars.Save()
91
92 import CgiUtil
/global/ *PVars* = <Session.Session instance>, PVars.*Save* = <bound
method Session.Save of <Session.Session instance at 0x81781fc>>
? <file://?> in *Save*(self=<Session.Session instance>)
*IOError*: [Errno 13] Permission denied: '/tmp/TMDASess.hhNR1UAa'
__doc__ = 'I/O operation failed.'
__getitem__ = <bound method IOError.__getitem__ of
<exceptions.IOError instance at 0x817af14>>
__init__ = <bound method IOError.__init__ of <exceptions.IOError
instance at 0x817af14>>
__module__ = 'exceptions'
__str__ = <bound method IOError.__str__ of <exceptions.IOError
instance at 0x817af14>>
args = (13, 'Permission denied')
errno = 13
filename = '/tmp/TMDASess.hhNR1UAa'
strerror = 'Permission denied'
--
Ronald Wiplinger (CEO of ELMIT)
http://www.elmit.com +886 (0) 915 653-452
- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
PS: Spam prevention!
Our system is protected with a spam prevention program.
If you send us an e-mail, our system will send you a confirmation mesage back.
Just reply to this confirmation message please. After receiving this
confirmation message, our system will send the holded message (one) and all
future messages (after the received confirmation message) to me without asking you again.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
- Re: TMDA-CGI .67 - A problem occured in a Python script. ... Ronald Wiplinger
- Re: TMDA-CGI .67 - A problem occured in a Python scr... Gre7g Luterman
