Re: [Tutor] cgi.FieldStorage() causing thread.error: can't allocate lock

2014-05-24 Thread Dave Angel
Peter Otten <__pete...@web.de> Wrote in message: > Alan Gauld wrote: > >> >> As it stands it is impossible to tell how tempfile.py relates to >> cgi.FieldStorage() or even if the error is related to that >> at all. > > Here's what the cgi.FieldStorage.make_file() method looks like > > def

Re: [Tutor] cgi.FieldStorage() causing thread.error: can't allocate lock

2014-05-24 Thread Peter Otten
Alan Gauld wrote: > On 23/05/14 12:57, SABARWAL, SHAL wrote: >> Wondering if anyone came across this error in using form = >> cgi.FieldStorage() >> >> import tempfile >> >> File /tempfile.py", line 83, in _once_lock >> = _allocate_lock() >> >> thread.