Opened 9 years ago

Closed 9 years ago

#3477 closed (fixed)

Changeset 4485 broke django?

Reported by: Øyvind Saltvik <oyvind.saltvik@…> Owned by: jacob
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


At revision 4484 all is ok. After svn up I get this traceback:


ProcessId:      54687
Interpreter:    ''

ServerName:     ''
DocumentRoot:   '/home/www/vhosts/'

URI:            '/admin/markdowneditor/image/'
Location:       '/'
Directory:      None
Filename:       '/home/www/vhosts/'
PathInfo:       '/markdowneditor/image/'

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/local/lib/python2.4/site-packages/mod_python/", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/local/lib/python2.4/site-packages/mod_python/", line 1202, in _process_target
    module = import_module(module_name, path=path)

  File "/usr/local/lib/python2.4/site-packages/mod_python/", line 304, in import_module
    return __import__(module_name, {}, {}, ['*'])

  File "/home/www/vhosts/django_newformsfile/django/core/handlers/", line 1, in ?
    from django.core.handlers.base import BaseHandler

  File "/home/www/vhosts/django_newformsfile/django/core/handlers/", line 3, in ?
    from django import http

  File "/home/www/vhosts/django_newformsfile/django/http/", line 6, in ?
    from django.utils.translation import gettext as _
Showing traceback after svn up

  File "/home/www/vhosts/django_newformsfile/django/utils/translation/", line 3, in ?
    if settings.USE_I18N:

  File "/home/www/vhosts/django_newformsfile/django/conf/", line 27, in __getattr__

  File "/home/www/vhosts/django_newformsfile/django/conf/", line 52, in _import_settings
    raise EnvironmentError, "Environment variable %s is undefined." % ENVIRONMENT_VARIABLE

EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.

Change History (1)

comment:1 Changed 9 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [4486]. See this thread for the reason for the bug, if you're interested.

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