[mod_python] upload binary file

Julio Mendoza jm at eemsystems.cjb.net
Mon Apr 14 08:54:34 EST 2003


Is posible to upload a binary file using mod_python?

Tank you,

JM



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__'
-- 
Julio Mendoza <jm at eemsystems.cjb.net>




More information about the Mod_python mailing list