[Django] #18542: Intermittent unhandled exception when killing runserver

3 views
Skip to first unread message

Django

unread,
Jun 29, 2012, 1:25:38 PM6/29/12
to django-...@googlegroups.com
#18542: Intermittent unhandled exception when killing runserver
--------------------------------------------+--------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: new
Component: Core (Management commands) | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
Starting from a brand new django 1.4 project with no user code, I started
up runserver and got the usual "Congratulations on your first Django-
powered page.". Then I killed runserver with a Control-C and got the
following. I haven't been able to reproduce this, so I'm guessing it's
some race condition. Doesn't seem to be a critical issue, so just opening
this ticket to document what happened.

I'm running:

OSX 10.6.8
Python 2.7
Django 1.4


{{{
$ ./manage.py runserver
Validating models...

0 errors found
Django version 1.4, using settings 'scoregatta.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[29/Jun/2012 12:10:19] "GET / HTTP/1.1" 200 1961
^CUnhandled exception in thread started by <bound method Command.inner_run
of <django.contrib.staticfiles.management.commands.runserver.Command
object at 0x1019cc6d0>>
Traceback (most recent call last):
File "/Users/roy/scoregatta/env/lib/python2.7/site-
packages/django/core/management/commands/runserver.py", line 111, in
inner_run
ipv6=self.use_ipv6, threading=threading)
File "/Users/roy/scoregatta/env/lib/python2.7/site-
packages/django/core/servers/basehttp.py", line 253, in run

}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/18542>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 8, 2012, 4:54:31 PM7/8/12
to django-...@googlegroups.com
#18542: Intermittent unhandled exception when killing runserver
-------------------------------------+-------------------------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 1.4
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/18542#comment:1>

Django

unread,
Jul 8, 2012, 5:51:54 PM7/8/12
to django-...@googlegroups.com
#18542: Intermittent unhandled exception when killing runserver
-------------------------------------+-------------------------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 1.4
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by claudep):

Note the similarities with #14273 and #17581, even if the tracebacks are
not identical.

--
Ticket URL: <https://code.djangoproject.com/ticket/18542#comment:2>

Django

unread,
Aug 4, 2014, 7:21:25 PM8/4/14
to django-...@googlegroups.com
#18542: Intermittent unhandled exception when killing runserver
-------------------------------------+-------------------------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: closed

Component: Core (Management | Version: 1.4
commands) | Resolution:
Severity: Normal | worksforme
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):

* status: new => closed
* resolution: => worksforme


Comment:

Please reopen if it can be reproduced on a newer version of Django.

--
Ticket URL: <https://code.djangoproject.com/ticket/18542#comment:3>

Reply all
Reply to author
Forward
0 new messages