How to upload files using mod_python?
Anthony Tuininga
anthony at computronix.com
Thu Sep 12 12:06:59 EDT 2002
You may wish to report this to the mod_python developers, as __methods__
was removed in Python 2.2, right?
On Thu, 2002-09-12 at 09:37, Andres Meza wrote:
> Greetings.
>
> I have created a python CGI script that can upload files sucessfully.
> Now, I want to create a mod_python script with the same feature using
> the "publisher" handler and I get this error:
>
>
> [Thu Sep 12 08:53:41 2002] [error] PythonHandler mod_python.publisher:
> Traceback (most recent call last):
> [Thu Sep 12 08:53:41 2002] [error] PythonHandler mod_python.publisher:
> File
> "/home/mrnet/rpm/tmp/mod_python-root/usr/lib/python2.2/site-packages/mod
> _python/apache.py", line 193, in Dispatch
> [Thu Sep 12 08:53:41 2002] [error] PythonHandler mod_python.publisher:
> File
> "/home/mrnet/rpm/tmp/mod_python-root/usr/lib/python2.2/site-packages/mod
> _python/publisher.py", line 104, in handler
> [Thu Sep 12 08:53:41 2002] [error] PythonHandler mod_python.publisher:
> File
> "/home/mrnet/rpm/tmp/mod_python-root/usr/lib/python2.2/site-packages/mod
> _python/publisher.py", line 308, in __init__
> [Thu Sep 12 08:53:41 2002] [error] PythonHandler mod_python.publisher:
> AttributeError: 'file' object has no attribute '__methods__'
>
> Anyone have an idea about why I get this error?
>
> Thanks for your time,
>
> --
>
> Andrés Meza
>
> Technical Manager
>
> __Nuevos Medios - NM S.A.____________________
>
> e-mail: andres.meza at nuevosmedios.ws
>
> day time phone: (+572)6827794 ext.102
>
> url: www.nuevosmedios.ws
--
Anthony Tuininga
anthony at computronix.com
Computronix
Distinctive Software. Real People.
Suite 200, 10216 - 124 Street NW
Edmonton, AB, Canada T5N 4A3
Phone: (780) 454-3700
Fax: (780) 454-3838
http://www.computronix.com
More information about the Python-list
mailing list