tempfile.py", line 83, in <module> once_lock = _allocate_lock() thread.error: can't allocat lock
SABARWAL, SHAL
ss3141 at att.com
Fri Jun 13 21:40:33 EDT 2014
Appreciate any help in resolving/understanding following error.
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 <module>
import cgi
File "local/lib/python2.7/cgi.py", line 51, in <module>
import mimetools
File "local/lib/python2.7/SECURITY WARNING!!
import tempfile
File "local/lib/python2.7/tempfile.py", line 83, in <module>
once_lock = _allocate_lock()
thread.error: can't allocate lock
##### END OF ERROR LISTING ##################
applicationCode.py
has line of
form = cgi.FieldStorage()
Thanks
Shal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140614/ad5e8424/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimetools.py
Type: application/octet-stream
Size: 7418 bytes
Desc: mimetools.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20140614/ad5e8424/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tempfile.py
Type: application/octet-stream
Size: 18674 bytes
Desc: tempfile.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20140614/ad5e8424/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgi.py
Type: application/octet-stream
Size: 34505 bytes
Desc: cgi.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20140614/ad5e8424/attachment-0002.obj>
More information about the Python-list
mailing list