Code

Opened 7 years ago

Closed 7 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: master
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: UI/UX:

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$

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by anonymous

  • Component changed from Uncategorized to django.newforms
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by russellm

  • Resolution set to wontfix
  • Status changed from new to closed

This was resolved in [6094]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.