Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73273 > unrolled thread
| Started by | "SABARWAL, SHAL" <ss3141@att.com> |
|---|---|
| First post | 2014-06-14 01:40 +0000 |
| Last post | 2014-06-14 01:40 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
tempfile.py", line 83, in <module> once_lock = _allocate_lock() thread.error: can't allocat lock "SABARWAL, SHAL" <ss3141@att.com> - 2014-06-14 01:40 +0000
| From | "SABARWAL, SHAL" <ss3141@att.com> |
|---|---|
| Date | 2014-06-14 01:40 +0000 |
| Subject | tempfile.py", line 83, in <module> once_lock = _allocate_lock() thread.error: can't allocat lock |
| Message-ID | <mailman.11061.1402710413.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
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
Back to top | Article view | comp.lang.python
csiph-web