Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 3, 2005 12:04:57

s.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

runserver problem


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 tohttp://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
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
KeyError: 1077200576
Validating models...
0 errors found.
Starting server on port 8000 with settings module 'ttime.settings'.
Go tohttp://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

Offline

#2 Nov. 3, 2005 13:21:20

Jacob K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

runserver problem


On Nov 3, 2005, at 6:04 AM, stava wrote:Now, when I save my model file (which causes runserver to reload the
model) I get the following:Yeah, this is a known bug in the auto-reload stuff (or in therunserver command) -- seehttp://code.djangoproject.com/ticket/698.It's been left unfixed because it's completely harmless, but it'sscary so we should get to it sometime.Jacob

Offline

#3 Nov. 3, 2005 13:36:19

s.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

runserver problem


OK, not scared anymore, thanks.
/stava

Offline

#4 Nov. 3, 2005 18:54:14

Waylan L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

runserver problem


On 11/3/05, Jacob Kaplan-Moss <> wrote:
>
> On Nov 3, 2005, at 6:04 AM, stava wrote:
> > Now, when I save my model file (which causes runserver to reload the
> > model) I get the following:
>
>
> Yeah, this is a known bug in the auto-reload stuff (or in the
> runserver command) -- seehttp://code.djangoproject.com/ticket/698.
> It's been left unfixed because it's completely harmless, but it's
> scary so we should get to it sometime.
>
> Jacob
>
This wouln't happen to be related to the similar error I get when I
hit control-c to quit the server would it? Everything seems to work
fine, and the server does quite after displaying the message, but it
is a little unnerving.

--
----
Waylan Limberg

Offline

#5 Nov. 3, 2005 19:09:52

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

runserver problem


On 11/3/05, Waylan Limberg <> wrote:
> This wouln't happen to be related to the similar error I get when I
> hit control-c to quit the server would it? Everything seems to work
> fine, and the server does quite after displaying the message, but it
> is a little unnerving.

Yup, it's the same error. I'm not sure why it started happening...It
didn't *use* to do this, up until a couple of weeks ago. Anybody have
any ideas?

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support