|
Pedro Miguel Frazao Fernandes Ferreira
pfrazao at ualg.pt
Thu May 23 17:41:30 EST 2002
Hi All,
First:
Is there any mod_python version known to work with python2.2 ?
Second:
mod_python 2.7.6 compiled ok with python2.2 on a debian (woody) distribution.
Problem is that it fails on the application when handling a form with submited
files:
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/mod_python/apache.py", line 193, in
Dispatch
result = object(req)
File "/usr/lib/python2.2/site-packages/mod_python/publisher.py", line 104,
in handler
val = File(field)
File "/usr/lib/python2.2/site-packages/mod_python/publisher.py", line 308,
in __init__
for m in field.file.__methods__:
AttributeError: 'file' object has no attribute '__methods__'
Anyone knows a solution ? If yes will it be safe to use 2.7.6 compiled with
python2.2 ?
Thanks for any help.
--
----------------------------------------------------------------------
Pedro Miguel Frazao Fernandes Ferreira
Universidade do Algarve
Faculdade de Ciencias e Tecnologia
Campus de Gambelas
8000-117 Faro
Portugal
Tel./Fax: (+351) 289 800950 / 289 819403
http://w3.ualg.pt/~pfrazao
|