#5400: Autoreload is not working in newforms-admin trunk with python2.4
-------------------------------+--------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody                  
  Status:  new                 |   Component:  Uncategorized           
 Version:  SVN                 |    Keywords:  python2.4 newforms-admin
   Stage:  Unreviewed          |   Has_patch:  0                       
-------------------------------+--------------------------------------------
 When using python2.4 and newforms-admin SVN version: 6082 (current trunk)
 autoreload doesn't work.
 
 Repository url: http://code.djangoproject.com/svn/django/branches/
 newforms-admin
 
 Same version works with python2.5.
 
 Previous version from repository: 6080, works with python2.4 so something
 was broken in 6082.
 
 To repeat:
 
  1. run any django project with: python2.4 manage.py runserver (project
 may be new one created with: django-admin.py startproject mysite)
  1. change something eg. in mysite/settings.py and save the file
  1. Take a look at console. In my case I see:
 
 {{{
 (..)
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
 line 64, in run
     self.execute(*args, **options.__dict__)
   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
 line 81, in execute
     output = self.handle(*args, **options)
   File "/usr/lib/python2.4/site-
 packages/django/core/management/commands/runserver.py", line 75, in handle
     autoreload.main(inner_run)
   File "/usr/lib/python2.4/site-packages/django/utils/autoreload.py", line
 87, in main
     reloader_thread()
   File "/usr/lib/python2.4/site-packages/django/utils/autoreload.py", line
 65, in reloader_thread
     sys.exit(3) # force reload
 SystemExit: 3
 usage: runserver [options] [optional port number, or ipaddr:port]
 
 Starts a lightweight Web server for development.
 
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
 line 64, in run
     self.execute(*args, **options.__dict__)
   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
 line 81, in execute
     output = self.handle(*args, **options)
   File "/usr/lib/python2.4/site-
 packages/django/core/management/commands/runserver.py", line 75, in handle
     autoreload.main(inner_run)
   File "/usr/lib/python2.4/site-packages/django/utils/autoreload.py", line
 92, in main
     sys.exit(restart_with_reloader())
 SystemExit: 0
 usage: runserver [options] [optional port number, or ipaddr:port]
 
 Starts a lightweight Web server for development.
 
 [EMAIL PROTECTED]:/home/svnSandbox/djtest/mysite$
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5400>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to