Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-06-05 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  mardini
 Type:  Bug  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by Tim Graham ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4f72e5f03ae803fd9faa1445245c1050ca004526"]:
 {{{
 #!CommitTicketReference repository=""
 revision="4f72e5f03ae803fd9faa1445245c1050ca004526"
 Fixed #21773 -- made daemon threads default in the development server.

 Thanks clime for the report.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.52f67090752c714272eaabe3080d9825%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-05-21 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  mardini
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  master
  commands)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by mardini):

 * has_patch:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.e010a2a629038c254bca294615f7eae8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-05-20 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  mardini
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  master
  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 mardini):

 PR: https://github.com/django/django/pull/2690
 Thanks.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.f9579d17104bfec8e84a9c52bc150e7d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-05-19 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  mardini
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  master
  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 mardini):

 * version:  1.6 => master


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.dd694a78c52ac55354322314e7ad9482%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-05-19 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  mardini
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  1.6
  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 mardini):

 * status:  new => assigned
 * owner:  nobody => mardini


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.0b711a02e3de76526ef444c7063383ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-05-19 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.6
  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 mardini):

 It's probably not a bug in Django, it might be caused by ThreadingMixIn of
 Python's SocketServer module, which Django relies on. I didn't investigate
 it thoroughly though, so I'm not sure.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.322fa0661bb5b0055a76f3f3ef583253%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-04-10 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
-+-
 Reporter:  clime|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.6
  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 timo):

 * component:  Uncategorized => Core (Management commands)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.0c62d9c8abfe30d72c33458ad043cbe4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-27 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+
 Reporter:  clime  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by clime):

 Replying to [comment:4 claudep]:
 > It would be useful to know on which platform(s) and which exact Django
 version that behavior arises, as the reload method might be different.


 The first version of Django I have used was 1.4 and I think I have been
 hitting this issue since beginning. I am totally sure that it is in 1.5
 and 1.6.

 The platform is linux/fedora. By the way I have just encountered this
 issue again. This exception was raised:

 {{{
 Environment:


 Request Method: GET
 Request URL: http://127.0.0.1:8008/messagethreads/

 Django Version: 1.6.1
 Python Version: 2.7.3
 Installed Applications:
 ('django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.sites',
  'django.contrib.messages',
  'django.contrib.staticfiles',
  'south',
  'grappelli',
  'django.contrib.admin',
  'django.contrib.admindocs',
  'endless_pagination',
  'debug_toolbar',
  'djangoratings',
  'imagekit',
  'watson',
  'web')
 Installed Middleware:
 ('django.middleware.common.CommonMiddleware',
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.middleware.csrf.CsrfViewMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.contrib.messages.middleware.MessageMiddleware',
  'middleware.UserMemberMiddleware',
  'middleware.ProfilerMiddleware',
  'middleware.VaryOnAcceptMiddleware',
  'debug_toolbar.middleware.DebugToolbarMiddleware',
  'watson.middleware.SearchContextMiddleware')


 Traceback:
 File "/srv/www/envs/cb/lib/python2.7/site-
 packages/django/core/handlers/base.py" in get_response
   107. response = middleware_method(request, callback,
 callback_args, callback_kwargs)
 File "/srv/www/envs/cb/lib/python2.7/site-
 packages/debug_toolbar/middleware.py" in process_view
   73. response = panel.process_view(request, view_func,
 view_args, view_kwargs)
 File "/srv/www/envs/cb/lib/python2.7/site-
 packages/debug_toolbar/panels/profiling.py" in process_view
   133. return self.profiler.runcall(view_func, *args,
 **view_kwargs)
 File "/usr/lib64/python2.7/cProfile.py" in runcall
   149. return func(*args, **kw)
 File "/srv/www/envs/cb/lib/python2.7/site-
 packages/django/contrib/auth/decorators.py" in _wrapped_view
   22. return view_func(request, *args, **kwargs)
 File "/srv/www/cb/web/views.py" in messagethread_list
   1176. 'model_tag': MessageThread.tag,

 Exception Type: NameError at /messagethreads/
 Exception Value: global name 'model_tag' is not defined
 }}}

 I fixed it and then tried to refresh the page repeatedly. Nevertheless, I
 was still getting the same exeption. In the end, I lost patience and
 decided to restart the server (the usual scenario). After killing it by
 ctrl-c, I tried to restart it:

 {{{
 ^C(cb)clime@den /srv/www/cb ./manage.py runserver 127.0.0.1:8008
 Validating models...

 0 errors found
 January 27, 2014 - 18:49:35
 Django version 1.6.1, using settings 'cb.settings'
 Starting development server at http://127.0.0.1:8008/
 Quit the server with CONTROL-C.
 Error: That port is already in use.
 (cb)clime@den /srv/www/cb $ Exception KeyboardInterrupt in  ignored
 }}}

 The KeyboardInterrupt exception appeared around 10 secs later. Then I
 could finally start the server again.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.dac764b1f989d663c8c0422c004622bc%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-20 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+
 Reporter:  clime  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by claudep):

 It would be useful to know on which platform(s) and which exact Django
 version that behavior arises, as the reload method might be different.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.cb1f8c1952035b172c0c8ceac545d930%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-20 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+
 Reporter:  clime  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by aaugustin):

 Yes, I've seen that too. Last time I hit this problem, I had an infinite
 loop in a view.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.5ccaf6cab98b421603959ae1baa8f2d9%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-20 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+
 Reporter:  clime  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.6
 Severity:  Normal |   Resolution:
 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 mjtamlyn):

 * stage:  Unreviewed => Accepted


Comment:

 I do occasionally see this behaviour. I have no idea what causes it. The
 thread continuing to run in the background is very annoying and normally I
 have to resort to `kill`

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.0e796299d19c6b947dc60cd2fb57819d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-20 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+--
 Reporter:  clime  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by clime):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 One additional note, after ctrl-c, some thread of the server probably
 keeps running for some time because later I get a message about keyboard
 interrupt in the console. So that is probably the reason the port is not
 immediately available in such situation.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.d72cb8d42a5d6da4ed041bc3f3ca22e8%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21773: development server sometimes takes a long time to restart after source has been changed

2014-01-12 Thread Django
#21773: development server sometimes takes a long time to restart after source 
has
been changed
---+
 Reporter:  clime  |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Uncategorized  |Version:  1.6
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 There are cases when development server takes a long time to restart after
 sources have been changed. It happens when an exception has been raised. I
 fix the exception and refresh the page but it keeps throwing the same
 error. I usually kill the server with ctrl-c to restart it manually. But
 then comes another problem when I try to start it, that is: "Error: That
 port is already in use." Django server does not release the port when
 being killed. Would it be possible to release it so I can start it
 immediately?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.edb96833c25d989b80ada2776f69f037%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.