| Marco Lopes 
    mpmlopes at clix.pt Fri May 2 17:52:48 EST 2003 
 I'm trying to use mod_python 3.0.3 with apache 2.0.45, and i was trying 
to use apache.parse_qsl to parse que contents of the POST, but i'm 
getting this error message:
Mod_python error: "PythonHandler template"
Traceback (most recent call last):
   File "/usr/lib/python2.2/site-packages/mod_python/apache.py", line 
320, in HandlerDispatch
     module = import_module(module_name, config)
   File "/usr/lib/python2.2/site-packages/mod_python/apache.py", line 
499, in import_module
     module = imp.load_module(mname, f, p, d)
   File "/usr/local/apache2/htdocs/python/template.py", line 4, in ?
     parse_qsl = apache.parse_qsl
AttributeError: 'module' object has no attribute 'parse_qsl'
I looked trough the documentation and the didn't find any reference to 
the function beeing deprecated so i think i'm doing something wrong, the 
code i'm using and that is causing the error is:
from mod_python import apache
 
parse_qsl = apache.parse_qsl
Can anyone give me a clue of what am i doing wrong?
 |