AttributeError at /comments/193/ 'Undefined' object has no attribute 'id' Request Method: GET Request URL: http://stealthiscode.pythonesque.org/comments/193/ Exception Type: AttributeError Exception Value: 'Undefined' object has no attribute 'id' Exception Location: /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py in , line 193 Python Executable: /usr/bin/python Python Version: 2.4.4 Traceback (innermost last) Switch to copy-and-paste view * /home/mikeal/co/django-trunk/django/core/handlers/base.py in get_response 74. # Apply view middleware 75. for middleware_method in self._view_middleware: 76. response = middleware_method(request, callback, callback_args, callback_kwargs) 77. if response: 78. return response 79. 80. try: 81. response = callback(request, *callback_args, **callback_kwargs) ... 82. except Exception, e: 83. # If the view raised an exception, run it through exception 84. # middleware, and if the exception middleware returns a 85. # response, use that. Otherwise, reraise the exception. 86. for middleware_method in self._exception_middleware: 87. response = middleware_method(request, e) ▶ Local vars Variable Value callback callback_args () callback_kwargs {} debug e exceptions mail_admins middleware_method > request ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}> resolver response None self settings urlconf 'stealthiscode.urls' urlresolvers * /home/mikeal/co/stealthiscode/trunk/stealthiscode/main/views.py in dispatcher 71. if not module.check_auth(request): 72. redirect_path = '/users/login/?next='+request.path 73. if hasattr(module, 'auth_failed_message'): 74. redirect_path += '&error='+module.auth_failed_message 75. return HttpResponseRedirect(redirect_path) 76. 77. if send_request: 78. return module(request, *args) ... 79. else: 80. return module(*args) 81. 82. def file_server(request, *path): 83. """Serve static content and guess the content-type""" 84. filename = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir, *path)) ▶ Local vars Variable Value args [u'193'] i 0 l u'' module path [u'193'] request ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}> send_request True * /home/mikeal/co/stealthiscode/trunk/stealthiscode/../stealthiscode/comments/views.py in index 1. from stealthiscode.main import templating 2. from stealthiscode.main.models import Comment, Entry 3. from stealthiscode.main import decorators 4. 5. def index(request, comment_id): 6. """Show individual comment""" 7. comment = Comment.objects.get(id=int(comment_id)) 8. return templating.render_mako_to_response(request, 'show_comment.mako', comment=comment, title=comment.title) ... 9. 10. @decorators.requires_login 11. @decorators.rpc_method 12. def create_comment(request, entry_id, title, body, parent_id=None): 13. if parent_id is not None: 14. parent = Comment.objects.get(id=parent_id) ▶ Local vars Variable Value comment comment_id u'193' request ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}> * /home/mikeal/co/stealthiscode/trunk/stealthiscode/../stealthiscode/main/templating.py in render_mako_to_response 37. if 'recents' not in kwargs: 38. entry_paginator = ObjectPaginator(Entry.objects.order_by('-created'), 10) 39. kwargs['recents'] = entry_paginator.get_page(0) 40. kwargs['tags'] = ordered_tags[:10] 41. kwargs['tag_dictionary'] = tag_dictionary 42. kwargs['request'] = request 43. template = lookup.get_template(template_name) 44. rendered = template.render_unicode(**kwargs).encode('utf-8', 'replace') ... 45. return HttpResponse(rendered) 46. 47. 48. 49. 50. ▶ Local vars Variable Value entry_paginator kwargs {'comment': , 'recents': [, , , , , , , , , ], 'request': ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}>, 'tag_dictionary': {u'Apache': 1, u'ECMA4': 0, u'HTML': 4, u'HTTP': 3, u'JavaScript': 6, u'Perl': 6, u'Python': 22, u'Ruby': 0, u'SSH': 3, u'SSL': 6, u'XML': 3, u'sysadmin': 6, u'wget': 0}, 'tags': [, , , , , , , , , ], 'title': u'comment 4'} ordered_tags [, , , , , , , , , , , , ] request ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}> template template_name 'show_comment.mako' * /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/template.py in render_unicode 111. a Context object is created corresponding to the given data. Arguments that are explictly 112. declared by this template's internal rendering method are also pulled from the given *args, **data 113. members.""" 114. return runtime._render(self, self.callable_, args, data) 115. 116. def render_unicode(self, *args, **data): 117. """render the output of this template as a unicode object.""" 118. return runtime._render(self, self.callable_, args, data, as_unicode=True) ... 119. 120. def render_context(self, context, *args, **kwargs): 121. """render this Template with the given context. 122. 123. the data is written to the context's buffer.""" 124. if getattr(context, '_with_template', None) is None: ▶ Local vars Variable Value args () data {'comment': , 'recents': [, , , , , , , , , ], 'request': ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}>, 'tag_dictionary': {u'Apache': 1, u'ECMA4': 0, u'HTML': 4, u'HTTP': 3, u'JavaScript': 6, u'Perl': 6, u'Python': 22, u'Ruby': 0, u'SSH': 3, u'SSL': 6, u'XML': 3, u'sysadmin': 6, u'wget': 0}, 'tags': [, , , , , , , , , ], 'title': u'comment 4'} self * /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py in _render 280. buf = util.FastEncodingBuffer() 281. elif template.output_encoding: 282. buf = util.FastEncodingBuffer(template.output_encoding, template.encoding_errors) 283. else: 284. buf = util.StringIO() 285. context = Context(buf, **data) 286. context._with_template = template 287. _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)) ... 288. return context.pop_buffer().getvalue() 289. 290. def _kwargs_for_callable(callable_, data, **kwargs): 291. argspec = inspect.getargspec(callable_) 292. namedargs = argspec[0] + [v for v in argspec[1:3] if v is not None] 293. for arg in namedargs: ▶ Local vars Variable Value args () as_unicode True buf callable_ context data {'comment': , 'recents': [, , , , , , , , , ], 'request': ,\nPOST:,\nCOOKIES:{'sessionid': '1f9f1c063564984307984a0bc6d32de8'},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',\n 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'sessionid=1f9f1c063564984307984a0bc6d32de8',\n 'HTTP_HOST': 'stealthiscode.pythonesque.org',\n 'HTTP_KEEP_ALIVE': '300',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10',\n 'PATH_INFO': '/',\n 'PATH_TRANSLATED': None,\n 'QUERY_STRING': None,\n 'REMOTE_ADDR': '76.30.46.83',\n 'REMOTE_HOST': None,\n 'REMOTE_IDENT': None,\n 'REMOTE_USER': None,\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': None,\n 'SERVER_NAME': 'stealthiscode.pythonesque.org',\n 'SERVER_PORT': 0,\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'mod_python'}>, 'tag_dictionary': {u'Apache': 1, u'ECMA4': 0, u'HTML': 4, u'HTTP': 3, u'JavaScript': 6, u'Perl': 6, u'Python': 22, u'Ruby': 0, u'SSH': 3, u'SSL': 6, u'XML': 3, u'sysadmin': 6, u'wget': 0}, 'tags': [, , , , , , , , , ], 'title': u'comment 4'} template * /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py in _render_context 297. 298. def _render_context(tmpl, callable_, context, *args, **kwargs): 299. import mako.template as template 300. # create polymorphic 'self' namespace for this template with possibly updated context 301. if not isinstance(tmpl, template.DefTemplate): 302. # if main render method, call from the base of the inheritance stack 303. (inherit, lclcontext) = _populate_self_namespace(context, tmpl) 304. _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) ... 305. else: 306. # otherwise, call the actual rendering method specified 307. (inherit, lclcontext) = _populate_self_namespace(context, tmpl.parent) 308. _exec_template(callable_, context, args=args, kwargs=kwargs) 309. 310. def _exec_template(callable_, context, args=None, kwargs=None): ▶ Local vars Variable Value args () callable_ context inherit kwargs {} lclcontext template tmpl * /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py in _exec_template 330. raise error 331. else: 332. context._buffer_stack = [util.StringIO()] 333. error_template = exceptions.html_error_template() 334. context._with_template = error_template 335. error_template.render_context(context, error=error) 336. else: 337. callable_(context, *args, **kwargs) ... ▶ Local vars Variable Value args () callable_ context kwargs {} template * /usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py in 186. try: 187. return self.callables[key] 188. except KeyError: 189. pass 190. if self.template is not None: 191. try: 192. callable_ = self.template.get_def(key).callable_ 193. return lambda *args, **kwargs:callable_(self.context, *args, **kwargs) ... 194. except AttributeError: 195. pass 196. if self._module is not None: 197. try: 198. callable_ = getattr(self._module, key) 199. return lambda *args, **kwargs:callable_(self.context, *args, **kwargs) ▶ Local vars Variable Value args () callable_ kwargs {} self Traceback (most recent call last): File "/home/mikeal/co/django-trunk/django/core/handlers/base.py" in get_response 81. response = callback(request, *callback_args, **callback_kwargs) File "/home/mikeal/co/stealthiscode/trunk/stealthiscode/main/views.py" in dispatcher 78. return module(request, *args) File "/home/mikeal/co/stealthiscode/trunk/stealthiscode/../stealthiscode/comments/views.py" in index 8. return templating.render_mako_to_response(request, 'show_comment.mako', comment=comment, title=comment.title) File "/home/mikeal/co/stealthiscode/trunk/stealthiscode/../stealthiscode/main/templating.py" in render_mako_to_response 44. rendered = template.render_unicode(**kwargs).encode('utf-8', 'replace') File "/usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/template.py" in render_unicode 118. return runtime._render(self, self.callable_, args, data, as_unicode=True) File "/usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py" in _render 287. _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data)) File "/usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py" in _render_context 304. _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py" in _exec_template 337. callable_(context, *args, **kwargs) File "/usr/lib/python2.4/site-packages/Mako-0.1.9-py2.4.egg/mako/runtime.py" in 193. return lambda *args, **kwargs:callable_(self.context, *args, **kwargs) AttributeError at /comments/193/ 'Undefined' object has no attribute 'id' Request information GET No GET data POST No POST data COOKIES Variable Value sessionid '1f9f1c063564984307984a0bc6d32de8' META Variable Value AUTH_TYPE None CONTENT_LENGTH 0L CONTENT_TYPE None GATEWAY_INTERFACE 'CGI/1.1' HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_ACCEPT_ENCODING 'gzip,deflate' HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.5' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'sessionid=1f9f1c063564984307984a0bc6d32de8' HTTP_HOST 'stealthiscode.pythonesque.org' HTTP_KEEP_ALIVE '300' HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10' PATH_INFO '/' PATH_TRANSLATED None QUERY_STRING None REMOTE_ADDR '76.30.46.83' REMOTE_HOST None REMOTE_IDENT None REMOTE_USER None REQUEST_METHOD 'GET' SCRIPT_NAME None SERVER_NAME 'stealthiscode.pythonesque.org' SERVER_PORT 0 SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'mod_python' Settings Using settings module stealthiscode.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 '' 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 'sqlite3' DATABASE_HOST '' DATABASE_NAME '/home/mikeal/co/stealthiscode/trunk/stealthiscode/test.db' DATABASE_OPTIONS {} DATABASE_PASSWORD '********************' DATABASE_PORT '' DATABASE_USER '' 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] ' EMAIL_USE_TLS False FILE_CHARSET 'utf-8' 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', 'stealthiscode.main', 'stealthiscode.tags', 'stealthiscode.users', 'stealthiscode.entry', 'stealthiscode.comments'] 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'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('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', 'fa') LANGUAGE_CODE 'en-us' LOCALE_PATHS () LOGIN_REDIRECT_URL '/accounts/profile/' LOGIN_URL '/accounts/login/' LOGOUT_URL '/accounts/logout/' MANAGERS () MEDIA_ROOT '/home/mikeal/co/stealthiscode/trunk/stealthiscode/..' 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 'stealthiscode.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 '/tmp/' SESSION_SAVE_EVERY_REQUEST False SETTINGS_MODULE 'stealthiscode.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 () 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 'America/Chicago' TRANSACTIONS_MANAGED False URL_VALIDATOR_USER_AGENT u'Django/0.97-pre-SVN-6718 (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.