tempfile.py", line 83, in <module> once_lock = _allocate_lock() thread.error: can't allocat lock

SABARWAL, SHAL ss3141 at att.com
Sun Jun 15 10:18:41 EDT 2014


Will do .
Thanks for the tips.
 Using the mailing list process for the first time.
One of the problems is that the issue occurs only in production. Have not been able to recreate the issue in dev/test. However will continue with some trials.

-----Original Message-----
From: Cameron Simpson [mailto:cs at zip.com.au] 
Sent: Saturday, June 14, 2014 7:09 PM
To: SABARWAL, SHAL
Cc: python-list at python.org
Subject: Re: tempfile.py", line 83, in <module> once_lock = _allocate_lock() thread.error: can't allocat lock

On 14Jun2014 10:47, SABARWAL, SHAL <ss3141 at att.com> wrote:
>Thanks for responding on this.
>This is with python version 2.7 .

Hi,

Please respond to the list, not just to me. And please respond below the quoted 
text (and trim the quote for relevance). It makes things much easier for 
everyone to follow the discussion.

Python 2.7 has many subreleases. If you issue the command "python" you will get 
a more precise answer, such as this (from a Mac):

   Python 2.7.7 (default, Jun  2 2014, 01:33:50)
   [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on 
   darwin
   Type "help", "copyright", "credits" or "license" for more information.
   >>>

You can find downloads, incuding source, for Python here:

   https://www.python.org/download/

which will let you build the latest 2.7 series for your platform. Install it 
off to the side, for example in /opt/python-2.7.7. Then use that python 
executable (eg /opt/python-2.7.7/bin/python) to see if the problem still 
exists.

Cheers,
Cameron Simpson <cs at zip.com.au>



More information about the Python-list mailing list