I'm using django 1062 with python 2.4 and getting a strange error.

When starting up it looks OK:

django-admin runserver --settings=ttime.settings
Validating models...
0 errors found.
Starting server on port 8000 with settings module 'ttime.settings'.
Go to http://127.0.0.1:8000/ for Django.
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).

Now, when I save my model file (which causes runserver to reload the
model) I get the following:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 22, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/threading.py", line 636, in __exitfunc
    self._Thread__delete()
  File "/usr/lib/python2.4/threading.py", line 522, in __delete
    del _active[_get_ident()]
KeyError: 1077200576
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 22, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/threading.py", line 636, in __exitfunc
    self._Thread__delete()
  File "/usr/lib/python2.4/threading.py", line 522, in __delete
    del _active[_get_ident()]
KeyError: 1077200576
Validating models...
0 errors found.
Starting server on port 8000 with settings module 'ttime.settings'.
Go to http://127.0.0.1:8000/ for Django.
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).

At any rate, the application seems to work OK and nothing bad seems to
happen. However, it's a bit worrying.

Any hints, anyone?

/stava

Reply via email to