Opened 16 years ago

Closed 16 years ago

#7892 closed (invalid)

erratic Internal Server Error problem with new update

Reported by: ajm.oreilly@… Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

I have a problem with the latest development release that I suspect is caused by a bug. I already put a request for help on the Users List. I am not an expert user.
I upgraded from dev version 7933.
With the latest version, I get an erratic error when I try to load pages.
Sometimes I get an internal server error message in Apache error.log (Apache & Django errors below).
Sometimes I get the standard 500 page.
And sometimes there's no problem & the page is loaded.
It doesn't look like an Apache problem as I'm running another very simple Django project on the same server & that has no problems.
I suspect it's a bug as (a) I don't think there's anything wrong with my template, contrary to what the Django error says and (b) the problem is erratic.
Many thanks to anyone who can look into this.

######################################################
Apache error.log
######################################################
[Mon Jul 21 18:42:47 2008] [error] [client 131.111.39.48] PythonHandler django.core.handlers.modpython: Traceback (most recent call last):
[Mon Jul 21 18:42:47 2008] [error] [client 131.111.39.48] PythonHandler django.core.handlers.modpython: File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug)
[Mon Jul 21 18:42:47 2008] [error] [client 131.111.39.48] PythonHandler django.core.handlers.modpython: File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 457, in import_module\n module = imp.load_module(mname, f, p, d)
[Mon Jul 21 18:42:47 2008] [error] [client 131.111.39.48] PythonHandler django.core.handlers.modpython: File "/usr/lib/python2.4/site-packages/django/core/handlers/modpython.py", line 7, in ?\n from django.core.urlresolvers import set_script_prefix
[Mon Jul 21 18:42:47 2008] [error] [client 131.111.39.48] PythonHandler django.core.handlers.modpython: ImportError: cannot import name set_script_prefix

#################################################################
Django debug=True error page. says <a href="{% url main %}"> on line 45 is the problem
###########################################################
TemplateSyntaxError at /trypanofan/main/
Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage' Original Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/template/debug.py", line 71, in render_node result = node.render(context) File "/usr/lib/python2.4/site-packages/django/template/defaulttags.py", line 364, in render return reverse(self.view_name, args=args, kwargs=kwargs) File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 306, in reverse return iri_to_uri(u'%s%s' % (prefix, get_resolver(urlconf).reverse(viewname, File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 289, in reverse if lookup_view in self.reverse_dict: File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 225, in _get_reverse_dict for key, value in pattern.reverse_dict.iteritems(): File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 228, in _get_reverse_dict self._reverse_dict[pattern.callback] = (pattern,) File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 191, in _get_callback raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e)) ViewDoesNotExist: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'
Request Method:
GET

Request URL:

http://trypanofan.path.cam.ac.uk/trypanofan/main/

Exception Type:

TemplateSyntaxError

Exception Value:

Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage' Original Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/template/debug.py", line 71, in render_node result = node.render(context) File "/usr/lib/python2.4/site-packages/django/template/defaulttags.py", line 364, in render return reverse(self.view_name, args=args, kwargs=kwargs) File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 306, in reverse return iri_to_uri(u'%s%s' % (prefix, get_resolver(urlconf).reverse(viewname, File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 289, in reverse if lookup_view in self.reverse_dict: File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 225, in _get_reverse_dict for key, value in pattern.reverse_dict.iteritems(): File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 228, in _get_reverse_dict self._reverse_dict[pattern.callback] = (pattern,) File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 191, in _get_callback raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e)) ViewDoesNotExist: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'

Exception Location:

/usr/lib/python2.4/site-packages/django/template/debug.py in render_node, line 81

Python Executable:

/usr/bin/python

Python Version:

2.4.3

Python Path:

['/home/administrator/django', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/HTMLgen', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/PIL', '/usr/lib/site-python']

Server time:

Tue, 22 Jul 2008 13:50:57 +0100
Template error
In template /home/administrator/django/trypanofan/templates/menu.html, error at line 45
Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'
35

<TR><TD ALIGN=CENTER BGCOLOR=#eeeeff COLSPAN=2><FONT COLOR=#001762><IMG SRC="{{glyph_images_url}}/Tryp_logo.gif" ALT=tryp_logo WIDTH=150 HEIGHT=100/></FONT><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2></FONT></FONT></FONT></TD></TR>

36

37
<TR><TD BGCOLOR=#e8e8ff COLSPAN=2><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

38

39

<TR><TD HEIGHT=10 BGCOLOR=#e3e3ff COLSPAN=2><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=10 HEIGHT=10/></FONT></FONT></FONT></TD></TR>

40

41

<TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR="#d2d8f8"><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=5 HEIGHT=5/></FONT></FONT></FONT><FONT FACE=arial><FONT SIZE=2><FONT COLOR="#001762"><B>TrypanoFAN:</B></FONT></FONT></FONT><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2></FONT></FONT></FONT></TD><TD BGCOLOR="#d2d8f8"><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

42

43

<TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

44

45

<TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href="{% url main %}">Main</a></FONT></FONT></FONT></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

46

47
<TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

48

49
<TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href= "{% url search_advanced %}">Advanced Search</a></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

50

51
<TR><TD ALIGN=RIGHT HEIGHT=1 BGCOLOR=#8a8688></TD><TD BGCOLOR=#8a8688></TD></TR>

52

53
<TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href ="{% url downloads %}">Downloads</a></FONT></FONT></FONT></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

54


55
<TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

Traceback Switch to copy-and-paste view
/usr/lib/python2.4/site-packages/django/core/handlers/base.py in get_response

response = callback(request, *callback_args, callback_kwargs) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/shortcuts/init.py in render_to_response

return HttpResponse(loader.render_to_string(*args, kwargs), httpresponse_kwargs) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/loader.py in render_to_string

return t.render(context_instance) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/init.py in render

return self.nodelist.render(context) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/init.py in render

bits.append(self.render_node(node, context)) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/debug.py in render_node

result = node.render(context) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/loader_tags.py in render

return compiled_parent.render(context) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/init.py in render

return self.nodelist.render(context) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/init.py in render

bits.append(self.render_node(node, context)) ...

▶ Local vars
/usr/lib/python2.4/site-packages/django/template/debug.py in render_node

raise wrapped ...

▶ Local vars
PythonConsoleTemplateSyntaxError at /trypanofan/main/Django Dpaste AgentDjangoEnvironment:

Request Method: GET
Request URL: http://trypanofan.path.cam.ac.uk/trypanofan/main/
Django Version: 1.0-alpha-SVN-8053
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',

'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'trypanofan.experiments']

Installed Middleware:
('django.middleware.common.CommonMiddleware',

'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')

Template error:
In template /home/administrator/django/trypanofan/templates/menu.html, error at line 45

Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'
35 : <TR><TD ALIGN=CENTER BGCOLOR=#eeeeff COLSPAN=2><FONT COLOR=#001762><IMG SRC="{{glyph_images_url}}/Tryp_logo.gif" ALT=tryp_logo WIDTH=150 HEIGHT=100/></FONT><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2></FONT></FONT></FONT></TD></TR>

36 :

37 : <TR><TD BGCOLOR=#e8e8ff COLSPAN=2><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

38 :

39 : <TR><TD HEIGHT=10 BGCOLOR=#e3e3ff COLSPAN=2><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=10 HEIGHT=10/></FONT></FONT></FONT></TD></TR>

40 :

41 : <TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR="#d2d8f8"><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=5 HEIGHT=5/></FONT></FONT></FONT><FONT FACE=arial><FONT SIZE=2><FONT COLOR="#001762"><B>TrypanoFAN:</B></FONT></FONT></FONT><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2></FONT></FONT></FONT></TD><TD BGCOLOR="#d2d8f8"><FONT COLOR="#7b0101"><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

42 :

43 : <TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

44 :

45 : <TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href=" {% url main %} ">Main</a></FONT></FONT></FONT></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

46 :

47 : <TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

48 :

49 : <TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href= "{% url search_advanced %}">Advanced Search</a></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

50 :

51 : <TR><TD ALIGN=RIGHT HEIGHT=1 BGCOLOR=#8a8688></TD><TD BGCOLOR=#8a8688></TD></TR>

52 :

53 : <TR><TD ALIGN=RIGHT HEIGHT=25 BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><a href ="{% url downloads %}">Downloads</a></FONT></FONT></FONT></TD><TD BGCOLOR=#d2d8f8><FONT COLOR=#7b0101><FONT FACE=arial><FONT SIZE=2><IMG SRC="{{glyph_images_url}}/blank.gif" ALT=blank WIDTH=20 HEIGHT=22/></FONT></FONT></FONT></TD></TR>

54 :

55 : <TR><TD ALIGN=RIGHT BGCOLOR=#8a8688 HEIGHT=1></TD><TD BGCOLOR=#8a8688></TD></TR>

Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response

  1. response = callback(request, *callback_args, callback_kwargs)

File "/usr/lib/python2.4/site-packages/django/shortcuts/init.py" in render_to_response

  1. return HttpResponse(loader.render_to_string(*args, kwargs), httpresponse_kwargs)

File "/usr/lib/python2.4/site-packages/django/template/loader.py" in render_to_string

  1. return t.render(context_instance)

File "/usr/lib/python2.4/site-packages/django/template/init.py" in render

  1. return self.nodelist.render(context)

File "/usr/lib/python2.4/site-packages/django/template/init.py" in render

  1. bits.append(self.render_node(node, context))

File "/usr/lib/python2.4/site-packages/django/template/debug.py" in render_node

  1. result = node.render(context)

File "/usr/lib/python2.4/site-packages/django/template/loader_tags.py" in render

  1. return compiled_parent.render(context)

File "/usr/lib/python2.4/site-packages/django/template/init.py" in render

  1. return self.nodelist.render(context)

File "/usr/lib/python2.4/site-packages/django/template/init.py" in render

  1. bits.append(self.render_node(node, context))

File "/usr/lib/python2.4/site-packages/django/template/debug.py" in render_node

  1. raise wrapped

Exception Type: TemplateSyntaxError at /trypanofan/main/
Exception Value: Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'

Original Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/django/template/debug.py", line 71, in render_node

result = node.render(context)

File "/usr/lib/python2.4/site-packages/django/template/defaulttags.py", line 364, in render

return reverse(self.view_name, args=args, kwargs=kwargs)

File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 306, in reverse

return iri_to_uri(u'%s%s' % (prefix, get_resolver(urlconf).reverse(viewname,

File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 289, in reverse

if lookup_view in self.reverse_dict:

File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 225, in _get_reverse_dict

for key, value in pattern.reverse_dict.iteritems():

File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 228, in _get_reverse_dict

self._reverse_dict[pattern.callback] = (pattern,)

File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py", line 191, in _get_callback

raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e))

ViewDoesNotExist: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'

Share this traceback on a public Web siteRequest information
GET
No GET data
POST
No POST data
COOKIES
Variable
Value
utma

'196754605.1070604480.1197474644.1197474644.1197474644.1'
META

Variable
Value
AUTH_TYPE

None
CONTENT_LENGTH
0L
CONTENT_TYPE
None
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html, image/jpeg, image/png, text/*, image/*, */*'
HTTP_ACCEPT_CHARSET
'utf-8, utf-8;q=0.5, *;q=0.5'
HTTP_ACCEPT_ENCODING
'x-gzip, x-deflate, gzip, deflate'
HTTP_ACCEPT_LANGUAGE
'en'
HTTP_CONNECTION
'Keep-Alive'
HTTP_COOKIE
'utma=196754605.1070604480.1197474644.1197474644.1197474644.1'
HTTP_HOST
'trypanofan.path.cam.ac.uk'
HTTP_USER_AGENT
'Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.2 (like Gecko) Kubuntu 6.06 Dapper'
PATH_INFO
u'/trypanofan/main/'
PATH_TRANSLATED
None
QUERY_STRING
None
REMOTE_ADDR
'127.0.1.1'
REMOTE_HOST
None
REMOTE_IDENT
None
REMOTE_USER
None
REQUEST_METHOD
'GET'
SCRIPT_NAME

SERVER_NAME
'trypanofan.path.cam.ac.uk'
SERVER_PORT
0
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'mod_python'
Settings

Using settings module trypanofan.settings
Setting
Value
ABSOLUTE_URL_OVERRIDES

{}
ADMINS
()
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX

CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'mysql'
DATABASE_HOST

DATABASE_NAME
'trypanofan'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
''
DATABASE_PORT

DATABASE_USER
'administrator'
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE

DEFAULT_TABLESPACE

DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
''
EMAIL_HOST_USER

EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'trypanofan.experiments']
INTERNAL_IPS
()
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
'/var/www/images/'
MEDIA_URL

MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')
MONTH_DAY_FORMAT
'F j'
PREPEND_WWW
False
PROFANITIES_LIST
''
ROOT_URLCONF
'trypanofan.urls'
SECRET_KEY
''
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'trypanofan.settings'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/home/administrator/django/trypanofan/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID

TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'P'
TIME_ZONE
'Europe/London'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
u'Django/1.0-alpha-SVN-8053 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.

Change History (1)

comment:1 by Brian Rosner, 16 years ago

Resolution: invalid
Status: newclosed

Please don't do this. Look for help in other places to pinpoint a problem, then report a ticket. Since you are tracking SVN development you REALLY should be reading http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges before doing svn up. We have made a ton of extremely backward incompatible changes in the past few days.

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