| Polo InitX 
    initxpolo at gmail.com Thu Feb 19 05:18:54 EST 2009 
 Hi all
    I'm newbie to mod_python and I follow the mod_python document step by
step,
but I can't finished the tutorial in part 3.1 "A Quick Start with the
Publisher Handler" .
My firefox return the lots of Traceback messages with error: (13,
'Permission denied') in last line.
I put the form.py file in /home/www/py directory with +x permissions
Why would got Permission denied problem?
Best regards
Following is the erros messages in apache error log file
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher: Traceback (most recent call last):, referer:
http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File
"/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n    result = object(req), referer: http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File
"/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line 213, in
handler\n    published = publish_object(req, object), referer:
http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File
"/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line 412, in
publish_object\n    return publish_object(req,util.apply_fs_data(object,
req.form, req=req)), referer: http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File
"/usr/lib64/python2.4/site-packages/mod_python/util.py", line 439, in
apply_fs_data\n    return object(**args), referer: http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File "/home/www/py/form.py", line 29, in email\n
conn = smtplib.SMTP(SMTP_SERVER), referer: http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File "/usr/lib64/python2.4/smtplib.py", line 244, in
__init__\n    (code, msg) = self.connect(host, port), referer:
http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher:   File "/usr/lib64/python2.4/smtplib.py", line 306, in
connect\n    raise socket.error, msg, referer: http://www.51nnyy.com/
[Thu Feb 19 18:07:28 2009] [error] [client 192.168.0.72] PythonHandler
mod_python.publisher: error: (13, 'Permission denied'), referer:
http://www.51nnyy.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090219/10ce8dfa/attachment.html
 |