﻿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
4567	(Ubuntu Feisty) Server won't start	john.m.chilton@…	Adrian Holovaty	"I am using Ubuntu 7.04, Feisty. I used Synaptic to install the official, newest release of django for Ubuntu, which is 0.95.1 even though 0.96 is out. I ran ""django-admin.py startproject webpoll"" which completed succesfully, and then I moved into the new directory. Running ""python manage.py runserver"" resulted in the following traceback:


john@devbox:~/webpoll$ python manage.py runserver
Traceback (most recent call last):
  File ""manage.py"", line 11, in <module>
    execute_manager(settings)
  File ""/var/lib/python-support/python2.5/django/core/management.py"", line 1319, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File ""/var/lib/python-support/python2.5/django/core/management.py"", line 1271, in execute_from_command_line
    action_mapping[action](addr, port, options.use_reloader)
  File ""/var/lib/python-support/python2.5/django/core/management.py"", line 1029, in runserver
    from django.core.handlers.wsgi import WSGIHandler
  File ""/var/lib/python-support/python2.5/django/core/handlers/wsgi.py"", line 1, in <module>
    from django.core.handlers.base import BaseHandler
  File ""/var/lib/python-support/python2.5/django/core/handlers/base.py"", line 3, in <module>
    from django import http
  File ""/var/lib/python-support/python2.5/django/http/__init__.py"", line 2, in <module>
    from Cookie import SimpleCookie
ValueError: bad marshal data



""django-admin.py runserver"" also failed, but gave a different traceback:


john@devbox:~/webpoll$ django-admin.py runserver
Traceback (most recent call last):
  File ""/usr/bin/django-admin.py"", line 5, in <module>
    management.execute_from_command_line()
  File ""/var/lib/python-support/python2.5/django/core/management.py"", line 1237, in execute_from_command_line
    from django.utils import translation
  File ""/var/lib/python-support/python2.5/django/utils/translation/__init__.py"", line 3, in <module>
    if settings.USE_I18N:
  File ""/var/lib/python-support/python2.5/django/conf/__init__.py"", line 27, in __getattr__
    self._import_settings()
  File ""/var/lib/python-support/python2.5/django/conf/__init__.py"", line 52, in _import_settings
    raise EnvironmentError, ""Environment variable %s is undefined."" % ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.
"		closed	django-admin.py runserver	0.95		invalid	runserver		Unreviewed	0	0	0	0	0	0
