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

Danny Yoo dyoo at hashcollision.org
Sun Jun 1 19:44:13 CEST 2014


Hi Shal,

You may want to report a bug on Python's bug tracker.  What you're
seeing is unusual enough to warrant sending a bug report upstream.
Visit:

    http://bugs.python.org/

and send a report.  In the report, please include all the information
you've shown us here, and hopefully someone there can respond promptly
to the problem.

---

To others on this list: what's happening is all in the standard
library.  cgi imports mimetools, which imports tempfile.  tempfile
tries to allocate a lock at import time.  The error we're seeing is a
very low-level one: tempfile should never fail like this.


More information about the Tutor mailing list