Thu Jun 16 00:59:39 2011 Exception when processing https://karl.soros.org/offices/nyc/forums/nyc-personals/climbers-at-osi-ny/ Referer: https://karl.soros.org/profiles/cgraubner/ Traceback (most recent call last): File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/errorlog.py", line 16, in middleware return app(environ, start_response) File "/srv/osfkarl/production/24/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__ app_iter = self.application(environ, replace_start_response) File "/srv/osfkarl/production/24/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__ result = self.next_app(environ, start_response) File "/srv/osfkarl/production/24/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__ result = self.application(environ, save_status_and_headers) File "/srv/osfkarl/production/24/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__ app_iter = app(environ, wrapper.wrap_start_response) File "/srv/osfkarl/production/24/eggs/repoze.urchin-0.1-py2.6.egg/repoze/urchin/__init__.py", line 20, in __call__ resp = req.get_response(self.app) File "/srv/osfkarl/production/24/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response application, catch_exc_info=False) File "/srv/osfkarl/production/24/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 888, in call_application app_iter = application(self.environ, start_response) File "/srv/osfkarl/production/24/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/router.py", line 130, in __call__ response = view_callable(context, request) File "/srv/osfkarl/production/24/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1753, in _secured_view return view(context, request) File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/content/views/forum.py", line 481, in show_forum_topic_view comment_form=comment_form, File "/srv/osfkarl/production/24/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/chameleon_zpt.py", line 84, in render_template_to_response result = renderer(kw, {}) File "/srv/osfkarl/production/24/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/chameleon_zpt.py", line 46, in __call__ result = self.template(**system) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 83, in __call__ return self.render(**kwargs) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 335, in render return super(TemplateFile, self).render(**kwargs) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/zpt/template.py", line 18, in render return super(PageTemplate, self).render(**kwargs) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 188, in render return self.cook_and_render(kwargs, utils.emptydict, None, True) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 315, in cook_and_render args, slots, macro, global_scope) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 180, in cook_and_render return func(econtext, rcontext) File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/content/views/templates/show_forum_topic.pt.py", line 180, in render _metal.render(_tmp, _out=_out, _write=_write, _domain=_domain, econtext=econtext) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 379, in render return self.render(name, slots=slots, parameters=kwargs) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/zpt/template.py", line 23, in render_macro macro, global_scope=global_scope, slots=slots, parameters=parameters) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 198, in render_macro return self.cook_and_render(parameters, slots, macro, global_scope) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 315, in cook_and_render args, slots, macro, global_scope) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 180, in cook_and_render return func(econtext, rcontext) File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/views/templates/generic_layout.pt.py", line 493, in render _tmp(econtext) File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/content/views/templates/show_forum_topic.pt.py", line 160, in _callback_content _metal.render(_tmp, _out=_out, _write=_write, _domain=_domain, econtext=econtext) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 379, in render return self.render(name, slots=slots, parameters=kwargs) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/zpt/template.py", line 23, in render_macro macro, global_scope=global_scope, slots=slots, parameters=parameters) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 198, in render_macro return self.cook_and_render(parameters, slots, macro, global_scope) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 315, in cook_and_render args, slots, macro, global_scope) File "/srv/osfkarl/production/24/eggs/Chameleon-1.1.1-py2.6.egg/chameleon/core/template.py", line 180, in cook_and_render return func(econtext, rcontext) File "/srv/osfkarl/production/24/eggs/karl-3.65-py2.6.egg/karl/views/templates/snippets.pt.py", line 4522, in render _tmp3 = (comment['advanced_url'] is not None) KeyError: 'advanced_url'
This one was embarrassing enough that I went ahead and did a temporary patch on the production server in addition to the permanent fix checked into trunk.