Opened 17 years ago

Closed 17 years ago

#5400 closed (wontfix)

Autoreload is not working in newforms-admin trunk with python2.4

Reported by: pigletto@… Owned by: nobody
Component: Forms Version: dev
Severity: Keywords: python2.4 newforms-admin
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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)
  2. change something eg. in mysite/settings.py and save the file
  3. 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.

mysuer@PCC2:/home/svnSandbox/djtest/mysite$

Change History (2)

comment:1 by anonymous, 17 years ago

Component: Uncategorizeddjango.newforms

comment:2 by Russell Keith-Magee, 17 years ago

Resolution: wontfix
Status: newclosed

This was resolved in [6094]

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