﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2074	Development server doesn't work on Mac Os with Python-2.4.3	charlax	Adrian Holovaty	"I run the development server with python 2.4.3 :
{{{
ibook-g4-de-charlax:~/temp/test/django/test1 ca$ python
Python 2.4.3 (#1, May 25 2006, 02:02:07) 
[GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin
Type ""help"", ""copyright"", ""credits"" or ""license"" for more information.
>>> 
ibook-g4-de-charlax:~/temp/test/django/test1 ca$ python manage.py runserver
Validating models...
0 errors found.

Django version 0.95 (post-magic-removal), using settings 'test1.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
}}}

No error for the moment. Then I load http://127.0.0.1:8000/ in my browser. I get this error :

{{{
Traceback (most recent call last):

  File ""/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/servers/basehttp.py"", line 272, in run
    self.result = application(self.environ, self.start_response)

  File ""/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/servers/basehttp.py"", line 615, in __call__
    return self.application(environ, start_response)

  File ""/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/wsgi.py"", line 140, in __call__
    self.load_middleware()

  File ""/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py"", line 31, in load_middleware
    raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: ""%s""' % (mw_module, e)

ImproperlyConfigured: Error importing middleware django.middleware.sessions: ""No module named sessions""
}}}

Then I reload the page, and it works fine, but after each change I won't work until I reload the page.

With Python-2.3 there's no problem."	defect	closed	Core (Management commands)	dev	normal	worksforme		ca.dein@…	Unreviewed	0	0	0	0	0	0
