﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
471	Problem in threading during autoreload	swaroop@…	Adrian Holovaty	"I'm using {{{ django-admin.py runserver }}} and when I edit code, the autoreload module kicks in, and everything works fine, but I repeatedly get this error:

{{{
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/atexit.py"", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/threading.py"", line 636, in __exitfunc
    self._Thread__delete()
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/threading.py"", line 522, in __delete
    del _active[_get_ident()]
KeyError: -1610551400
Error in sys.exitfunc:
Traceback (most recent call last):
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/atexit.py"", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/threading.py"", line 636, in __exitfunc
    self._Thread__delete()
  File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/threading.py"", line 522, in __delete
    del _active[_get_ident()]
KeyError: -1610551400
Validating models...
0 errors found.

Starting server on port 8123 with settings module 'myproject.settings.admin'.
Go to http://127.0.0.1:8123/ for Django.
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).
[07/Sep/2005 14:13:01] ""GET /admin/ HTTP/1.1"" 200 3210

}}}


I'm not facing problems because of this since the new code *is* being used, but maybe this 'issue' might cause concerns in other situations?"	defect	closed	Core (Management commands)		minor	fixed			Unreviewed	0	0	0	0	0	0
