[mod_python] Error: No such file or directory

Vincent Wong vincentwong at ionetbiz.com
Tue Jul 3 21:38:48 EST 2001


Thanks, Daniel.  So far it work after I change a few of [:-1] to [:].  I
wounldn't know if there is any side effect.


----- Original Message -----
From: Hr. Daniel Mikkelsen <daniel at copyleft.no>
To: Matthias Wiehl <matthias at my.gnus.org>
Cc: Vincent Wong <vincentwong at ionetbiz.com>; Mod_python Mailing List
<mod_python at modpython.org>
Sent: Tuesday, July 03, 2001 6:48 PM
Subject: Re: [mod_python] Error: No such file or directory


> >> OSError: [Errno 2] No such file or directory:
'/home/demo/cgi-bin/test.p'
>
> > Have a closer look at the filename.  I think this is a typo.
>
> I don't know if it's the same thing here, but I'm running FreeBSD, and
> mod_python erranously cuts the last character of filename of the handler
> I've given. I had to remove a [:-1] suffix a couple of places in apache.py
> (I think) to get it to work.
>
> I'll post more details if it's interesting to anyone.
>
> -- Daniel Mikkelsen, Copyleft Software AS
>




More information about the Mod_python mailing list