This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davidar
Recipients davidar
Date 2009-07-24.11:26:33
SpamBayes Score 1.1945556e-11
Marked as misclassified No
Message-id <>
I'm getting the following error on Windows in an application I've
written (the error does not occur on Linux):

Exception in thread Thread-4:
Traceback (most recent call last):
 File "C:\Python26\lib\", line 525, in __bootstrap_inner
 File "C:\Documents and Settings\David\My
Documents\pyzui\pyzui\", line 97, in run
   self.__tilecache[tile_id] = Tile(tile)
 File "C:\Documents and Settings\David\My
Documents\pyzui\pyzui\", line 165, in __setitem__
   with self.__lock:
 File "C:\Python26\lib\", line 115, in acquire
   me = current_thread()
 File "C:\Python26\lib\", line 803, in currentThread
   return _active[_get_ident()]
OverflowError: can't convert negative value to unsigned long

Where __lock is an RLock object.

The odd thing is that it only affects a single class (which is derived
from the TileProvider class in, which in turn is derived
from threading.Thread). This led me to believe there was an error in my
code, but I asked on the mailing list and was told that it is likely a
bug in the threading module.

The Python version is 2.6.2.
Date User Action Args
2009-07-24 11:26:35davidarsetrecipients: + davidar
2009-07-24 11:26:35davidarsetmessageid: <>
2009-07-24 11:26:34davidarlinkissue6562 messages
2009-07-24 11:26:33davidarcreate