[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock
New submission from Shal: The following error is with using python 2.7.3 on HP-UX 11.11 Very occasionally get following error. The error occurs once every 20 - 30 days. OS HP-UX 11.11 applicationCode.py is invoked via a cgi wrapper by apache httpd . ### ERROR LISTNG # sem_init: Device busy Traceback (most recent call last): File "applicationCode.py", line 4, in import cgi File "local/lib/python2.7/cgi.py", line 51, in import mimetools File "local/lib/python2.7/SECURITY WARNING!! import tempfile File "local/lib/python2.7/tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocate lock # END OF ERROR LISTING ## applicationCode.py has line of form = cgi.FieldStorage() -- components: Extension Modules files: tempfile.py messages: 220873 nosy: pythonbug1shal priority: normal severity: normal status: open title: tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file35675/tempfile.py ___ Python tracker <http://bugs.python.org/issue21796> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock
Changes by Shal : Added file: http://bugs.python.org/file35676/cgi.py ___ Python tracker <http://bugs.python.org/issue21796> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock
Changes by Shal : Added file: http://bugs.python.org/file35677/cgi.py ___ Python tracker <http://bugs.python.org/issue21796> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock
Changes by Shal : Removed file: http://bugs.python.org/file35677/cgi.py ___ Python tracker <http://bugs.python.org/issue21796> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21796] tempfile.py", line 83, in once_lock = _allocate_lock() thread.error: can't allocat lock
Changes by Shal : Added file: http://bugs.python.org/file35678/mimetools.py ___ Python tracker <http://bugs.python.org/issue21796> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com