| Request Method: | GET |
|---|---|
| Request URL: | http://www.politifact.com/truth-o-meter/rulings/true/ |
| Exception Type: | NameError |
| Exception Value: | name 'StafferStatements' is not defined |
| Exception Location: | /opt/django/django-projects/data/urls.py in |
/opt/local/lib/python2.5/site-packages/django/core/handlers/base.py in get_response
| Variable | Value |
|---|---|
| debug | <module 'django.views.debug' from '/opt/local/lib/python2.5/site-packages/django/views/debug.pyc'> |
| exceptions | <module 'django.core.exceptions' from '/opt/local/lib/python2.5/site-packages/django/core/exceptions.pyc'> |
| mail_admins | <function mail_admins at 0x16a0cf0> |
| middleware_method | <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x23f22d0>> |
| request | <ModPythonRequest
path:/truth-o-meter/rulings/true/,
GET:<MultiValueDict: {}>,
POST:<MultiValueDict: {}>,
COOKIES:{},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0L,
'CONTENT_TYPE': None,
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CACHE_CONTROL': 'no-cache, max-age=1800',
'HTTP_HOST': 'www.politifact.com',
'HTTP_PRAGMA': 'no-cache',
'HTTP_PROXY_IP': '192.168.180.23',
'HTTP_PROXY_JROUTE': 'iRLp',
'HTTP_USER_AGENT': 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)',
'HTTP_VIA': '1.1 calamari-a.sptimes.com:80 (squid/2.5.STABLE14), 1.0 https-politifact',
'HTTP_X_FORWARDED_FOR': '38.103.63.17',
'PATH_INFO': '/rulings/true/',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '192.168.180.33',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': None,
'SERVER_NAME': 'www.politifact.com',
'SERVER_PORT': 0,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}> |
| resolver | <django.core.urlresolvers.RegexURLResolver object at 0x2212d90> |
| response | None |
| self | <django.core.handlers.modpython.ModPythonHandler object at 0x219f530> |
| settings | <django.conf.LazySettings object at 0x1679990> |
| urlconf | 'data.urls' |
| urlresolvers | <module 'django.core.urlresolvers' from '/opt/local/lib/python2.5/site-packages/django/core/urlresolvers.pyc'> |
/opt/local/lib/python2.5/site-packages/django/core/urlresolvers.py in resolve
| Variable | Value |
|---|---|
| match | <_sre.SRE_Match object at 0x242b7c8> |
| new_path | 'truth-o-meter/rulings/true/' |
| path | '/truth-o-meter/rulings/true/' |
| self | <django.core.urlresolvers.RegexURLResolver object at 0x2212d90> |
| tried | [] |
/opt/local/lib/python2.5/site-packages/django/core/urlresolvers.py in _get_urlconf_module
| Variable | Value |
|---|---|
| self | <django.core.urlresolvers.RegexURLResolver object at 0x2212d90> |
/opt/django/django-projects/data/urls.py in
| Variable | Value |
|---|---|
| CandidateStatements | None |
| CandidateStories | None |
| FreeComment | None |
| GenericSitemap | None |
| LatestArticles | None |
| LatestStatements | None |
| StatementSitemap | None |
| __builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>,
'AssertionError': <type 'exceptions.AssertionError'>,
'AttributeError': <type 'exceptions.AttributeError'>,
'BaseException': <type 'exceptions.BaseException'>,
'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
'EOFError': <type 'exceptions.EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <type 'exceptions.EnvironmentError'>,
'Exception': <type 'exceptions.Exception'>,
'False': False,
'FloatingPointError': <type 'exceptions.FloatingPointError'>,
'FutureWarning': <type 'exceptions.FutureWarning'>,
'GeneratorExit': <type 'exceptions.GeneratorExit'>,
'IOError': <type 'exceptions.IOError'>,
'ImportError': <type 'exceptions.ImportError'>,
'ImportWarning': <type 'exceptions.ImportWarning'>,
'IndentationError': <type 'exceptions.IndentationError'>,
'IndexError': <type 'exceptions.IndexError'>,
'KeyError': <type 'exceptions.KeyError'>,
'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
'LookupError': <type 'exceptions.LookupError'>,
'MemoryError': <type 'exceptions.MemoryError'>,
'NameError': <type 'exceptions.NameError'>,
'None': None,
'NotImplemented': NotImplemented,
'NotImplementedError': <type 'exceptions.NotImplementedError'>,
'OSError': <type 'exceptions.OSError'>,
'OverflowError': <type 'exceptions.OverflowError'>,
'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
'ReferenceError': <type 'exceptions.ReferenceError'>,
'RuntimeError': <type 'exceptions.RuntimeError'>,
'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
'StandardError': <type 'exceptions.StandardError'>,
'StopIteration': <type 'exceptions.StopIteration'>,
'SyntaxError': <type 'exceptions.SyntaxError'>,
'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
'SystemError': <type 'exceptions.SystemError'>,
'SystemExit': <type 'exceptions.SystemExit'>,
'TabError': <type 'exceptions.TabError'>,
'True': True,
'TypeError': <type 'exceptions.TypeError'>,
'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
'UnicodeError': <type 'exceptions.UnicodeError'>,
'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
'UserWarning': <type 'exceptions.UserWarning'>,
'ValueError': <type 'exceptions.ValueError'>,
'Warning': <type 'exceptions.Warning'>,
'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
'_': <function first_time_gettext at 0x1678fb0>,
'__debug__': True,
'__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
'__import__': <built-in function __import__>,
'__name__': '__builtin__',
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'apply': <built-in function apply>,
'basestring': <type 'basestring'>,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <type 'classmethod'>,
'cmp': <built-in function cmp>,
'coerce': <built-in function coerce>,
'compile': <built-in function compile>,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2007 Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.,
'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
for supporting Python development. See www.python.org for more information.,
'delattr': <built-in function delattr>,
'dict': <type 'dict'>,
'dir': <built-in function dir>,
'divmod': <built-in function divmod>,
'enumerate': <type 'enumerate'>,
'eval': <built-in function eval>,
'execfile': <built-in function execfile>,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
'file': <type 'file'>,
'filter': <built-in function filter>,
'float': <type 'float'>,
'frozenset': <type 'frozenset'>,
'getattr': <built-in function getattr>,
'globals': <built-in function globals>,
'hasattr': <built-in function hasattr>,
'hash': <built-in function hash>,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': <built-in function hex>,
'id': <built-in function id>,
'input': <built-in function input>,
'int': <type 'int'>,
'intern': <built-in function intern>,
'isinstance': <built-in function isinstance>,
'issubclass': <built-in function issubclass>,
'iter': <built-in function iter>,
'len': <built-in function len>,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': <built-in function locals>,
'long': <type 'long'>,
'map': <built-in function map>,
'max': <built-in function max>,
'min': <built-in function min>,
'object': <type 'object'>,
'oct': <built-in function oct>,
'open': <built-in function open>,
'ord': <built-in function ord>,
'pow': <built-in function pow>,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'range': <built-in function range>,
'raw_input': <built-in function raw_input>,
'reduce': <built-in function reduce>,
'reload': <built-in function reload>,
'repr': <built-in function repr>,
'reversed': <type 'reversed'>,
'round': <built-in function round>,
'set': <type 'set'>,
'setattr': <built-in function setattr>,
'slice': <type 'slice'>,
'sorted': <built-in function sorted>,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': <built-in function sum>,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': <built-in function unichr>,
'unicode': <type 'unicode'>,
'vars': <built-in function vars>,
'xrange': <type 'xrange'>,
'zip': <built-in function zip>} |
| __doc__ | None |
| __file__ | None |
| __name__ | None |
| blog_dict | None |
| brief_dict | None |
| feature | None |
| handler404 | None |
| handler500 | None |
| include | None |
| info_dict | None |
| medium | None |
| party | None |
| patterns | None |
| person | None |
| ruling | None |
| staffer | None |
| statement | None |
| subject | None |
Traceback (most recent call last):
|
No GET data
No POST data
No cookie data
| Variable | Value |
|---|---|
| AUTH_TYPE | None |
| CONTENT_LENGTH | 0L |
| CONTENT_TYPE | None |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| HTTP_ACCEPT | 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;' |
| HTTP_ACCEPT_CHARSET | 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' |
| HTTP_ACCEPT_ENCODING | 'gzip' |
| HTTP_ACCEPT_LANGUAGE | 'en-us,en;q=0.5' |
| HTTP_CACHE_CONTROL | 'no-cache, max-age=1800' |
| HTTP_HOST | 'www.politifact.com' |
| HTTP_PRAGMA | 'no-cache' |
| HTTP_PROXY_IP | '192.168.180.23' |
| HTTP_PROXY_JROUTE | 'iRLp' |
| HTTP_USER_AGENT | 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)' |
| HTTP_VIA | '1.1 calamari-a.sptimes.com:80 (squid/2.5.STABLE14), 1.0 https-politifact' |
| HTTP_X_FORWARDED_FOR | '38.103.63.17' |
| PATH_INFO | '/rulings/true/' |
| PATH_TRANSLATED | None |
| QUERY_STRING | None |
| REMOTE_ADDR | '192.168.180.33' |
| REMOTE_HOST | None |
| REMOTE_IDENT | None |
| REMOTE_USER | None |
| REQUEST_METHOD | 'GET' |
| SCRIPT_NAME | None |
| SERVER_NAME | 'www.politifact.com' |
| SERVER_PORT | 0 |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| SERVER_SOFTWARE | 'mod_python' |
data.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 | 'simple://' |
| CACHE_MIDDLEWARE_KEY_PREFIX | '' |
| 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 | 'event03.ad.sptimes.com' |
| DATABASE_NAME | 'djdata' |
| DATABASE_OPTIONS | {} |
| DATABASE_PASSWORD | '********************' |
| DATABASE_PORT | '3306' |
| DATABASE_USER | 'djuser' |
| DATETIME_FORMAT | 'N j, Y, P' |
| DATE_FORMAT | 'N j, Y' |
| DEBUG | True |
| DEFAULT_CHARSET | 'utf-8' |
| DEFAULT_CONTENT_TYPE | 'text/html' |
| DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
| DISALLOWED_USER_AGENTS | () |
| EMAIL_HOST | 'localhost' |
| EMAIL_HOST_PASSWORD | '********************' |
| EMAIL_HOST_USER | '' |
| EMAIL_PORT | 25 |
| EMAIL_SUBJECT_PREFIX | '[Django] ' |
| FIXTURE_DIRS | () |
| 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.sites',
'django.contrib.comments',
'django.contrib.flatpages',
'django.contrib.sitemaps',
'data.truth'] |
| INTERNAL_IPS | () |
| JING_PATH | '/usr/bin/jing' |
| LANGUAGES | (('ar', 'Arabic'),
('bn', 'Bengali'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('es', 'Spanish'),
('es_AR', 'Argentinean Spanish'),
('fi', 'Finnish'),
('fr', 'French'),
('gl', 'Galician'),
('hu', 'Hungarian'),
('he', 'Hebrew'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('kn', 'Kannada'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('pl', 'Polish'),
('pt', 'Portugese'),
('pt-br', 'Brazilian'),
('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') |
| LANGUAGE_CODE | 'en-us' |
| MANAGERS | () |
| MEDIA_ROOT | '/opt/local/apache2/htdocs' |
| MEDIA_URL | '' |
| MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
| MONTH_DAY_FORMAT | 'F j' |
| PREPEND_WWW | False |
| PREVIEW | False |
| PROFANITIES_LIST | '********************' |
| ROOT_URLCONF | 'data.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_SECURE | False |
| SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
| SESSION_SAVE_EVERY_REQUEST | False |
| SETTINGS_MODULE | 'data.settings' |
| SITE_ID | 1 |
| TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n') |
| TEMPLATE_DEBUG | True |
| TEMPLATE_DIRS | ('/opt/django/django-projects/templates/',) |
| TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source') |
| TEMPLATE_STRING_IF_INVALID | '' |
| TEST_DATABASE_NAME | None |
| TEST_RUNNER | 'django.test.simple.run_tests' |
| TIME_FORMAT | 'P' |
| TIME_ZONE | 'America/New_York' |
| TRANSACTIONS_MANAGED | False |
| URL_VALIDATOR_USER_AGENT | 'Django/0.96pre (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.