6 Apr
2005
6 Apr
'05
4:45 a.m.
Hello, If you look above I had problems with zope creating temp files, as I am using Mac OS X and Webdav to Zope mounted on the same machine. There is some race condition on locks in mach kernel, and sometimes zope dies, as open system call never returns. I had two choices, one to fix Darwin kernel, and one to make TempFile use StringIO, which worked wonderfully. You can override make_file of FieldStorage to return StringIO(), or cStringIO(). Now there are no problems with locked out files, for me. laters, pavel