Opened 19 years ago

Last modified 18 years ago

#698 closed defect

Exceptions thrown after CONTROL-C typed to stop test web server. — at Initial Version

Reported by: Tekhne Owned by: Adrian Holovaty
Component: Core (Management commands) Version:
Severity: normal Keywords:
Cc: pete.crosier@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I received the following exceptions after attempting to stop the built-in test server with CONTROL-C:

shell> django-admin.py runserver
Validating models...
0 errors found.

Starting server on port 8000 with settings module 'myproject.settings'.
Go to http://127.0.0.1:8000/ for Django.
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).
[26/Oct/2005 09:43:53] "GET /admin/ HTTP/1.1" 200 1615
[26/Oct/2005 09:44:00] "POST /admin/ HTTP/1.1" 302 0
[26/Oct/2005 09:44:00] "GET /admin/ HTTP/1.1" 200 5899
Error in atexit._run_exitfuncs:
Traceback (most recent call last):

File "/usr/local/python-2.4.1/lib/python2.4/atexit.py", line 24, in _run_exitfuncs

func(*targs, kargs)

File "/usr/local/python-2.4.1/lib/python2.4/threading.py", line 636, in exitfunc

self._Threaddelete()

File "/usr/local/python-2.4.1/lib/python2.4/threading.py", line 522, in delete

del _active[_get_ident()]

KeyError: 1076103392
Error in sys.exitfunc:
Traceback (most recent call last):

File "/usr/local/python-2.4.1/lib/python2.4/atexit.py", line 24, in _run_exitfuncs

func(*targs, kargs)

File "/usr/local/python-2.4.1/lib/python2.4/threading.py", line 636, in exitfunc

self._Threaddelete()

File "/usr/local/python-2.4.1/lib/python2.4/threading.py", line 522, in delete

del _active[_get_ident()]

KeyError: 1076103392

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top