[Tramline-dev] strange bug: posting forms with ONLY file upload field

Bram - Smartelectronix bram at smartelectronix.com
Thu Mar 15 13:45:37 CET 2007


Hi,

Martijn Faassen wrote:
> Did you patch mod_python as instructed in the tramline documentation?
> If you don't remove that flush there, you get really weird behavior. I
> haven't been able to discover what is causing this, unfortunately.

Yes:

[root]# diff apache.py ....../apache.py
192c192
<                 # filter.flush()
---
 >                 filter.flush()


Today I double-checked the date of the pyc files, and noticed:

-rw-r--r--  1 root root   30505 Mar  8 17:40 apache.py
-rw-r--r--  1 root root   22968 Jan 24 14:22 apache.pyc
-rw-r--r--  1 root root   22742 Jan 24 14:22 apache.pyo

But, after deletion and recompilation of the *.pyc and *.pyo, nothing 
changed. (Although adding the hidden field still takes care of the problem.)

Am I correct in assuming I only need to patch the apache.py in the 
current python directory and not in the mod_python install and then 
reinstall mod_python?



  - bram


More information about the Tramline-dev mailing list