Created
October 19, 2012 22:15
-
-
Save viperfx/3921027 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"id": "891a3341e5e642fd9e30f83ea0d19c3d", "checksum": "f1f79179a9e1ae6e29a0dd711a0c6098", "project": "stvdev", "logger": "sentry.interfaces", "level": "error", "culprit": "sentry.web.helpers.render_to_string", "extra": {"thread": 4481576960, "process": 47595, "threadName": "Thread-376", "module": "groups", "filename": "groups.py", "processName": "MainProcess", "pathname": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/sentry/web/frontend/groups.py", "lineno": 44, "message": "Error rendering interface <class 'sentry.interfaces.Stacktrace'>", "funcName": "_get_rendered_interfaces"}, "modules": {"south": "0.7.6", "gunicorn": "0.14.6", "sentry": "5.0.15", "djcelery": "3.0.11", "social_auth": "0.7.7", "django": "1.4.1", "kombu.transport.django": "1.0.0", "django_social_auth_trello": "1.0.2", "kombu": "2.4.7", "crispy_forms": "1.2.0", "raven": "2.0.6"}, "public_key": null, "sentry.interfaces.Exception": {"type": "TypeError", "module": "exceptions", "value": "'NoneType' object is not iterable"}, "sentry.interfaces.Message": {"message": "Error rendering interface %r", "params": ["<class 'sentry.interfaces.Stacktrace'>"]}, "sentry.interfaces.Stacktrace": {"frames": [{"function": "_get_rendered_interfaces", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/sentry/web/frontend/groups.py", "pre_context": [" interface_list = []", " for interface in event.interfaces.itervalues():", " try:"], "vars": {"interface": "<sentry.interfaces.Stacktrace object at 0x10bdf19d0>", "logger": "<celery.utils.log.SigSafeLogger object at 0x10bdf1850>", "interface_list": [], "event": "<Event: Test exception message>"}, "module": "sentry.web.frontend.groups", "filename": "sentry/web/frontend/groups.py", "post_context": [" except Exception:", " logger = logging.getLogger('sentry.interfaces')"], "context_line": " html = interface.to_html(event)", "lineno": 41}, {"function": "to_html", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/sentry/interfaces.py", "pre_context": [" return render_to_string('sentry/partial/interfaces/stacktrace.html', {", " 'event': event,", " 'frames': frames,"], "vars": {"frame": {"function": "raven_msg", "abs_path": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "pre_context": ["\t\t$this->benchmark->mark('code_end');\n", "\t\techo \"Finished (\". $this->benchmark->elapsed_time('code_start', 'code_end') .\"s) \\n\";\n", "\t}\n", " public function raven_msg()\n", " {\n", " echo 'hello';\n"], "vars": [], "module": "tools.php:Tools", "filename": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "post_context": [" $value = 1;\n", " echo $value/0;\n", " return 0;\n", " }\n", "}\n"], "context_line": " throw new Exception('Test exception message');\n", "lineno": 21}, "event": "<Event: Test exception message>", "start_lineno": 15, "context": [[15, "\t\t$this->benchmark->mark('code_end');\n"], [16, "\t\techo \"Finished (\". $this->benchmark->elapsed_time('code_start', 'code_end') .\"s) \\n\";\n"], [17, "\t}\n"], [18, " public function raven_msg()\n"], [19, " {\n"], [20, " echo 'hello';\n"], [21, " throw new Exception('Test exception message');\n"], [22, " $value = 1;\n"], [23, " echo $value/0;\n"], [24, " return 0;\n"], [25, " }\n"], [26, "}\n"]], "frames": [{"function": "require_once", "abs_path": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "vars": ["/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php"], "filename": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "start_lineno": 291, "lineno": 297, "context": [[291, "\t\t{\n"], [292, "\t\t\tshow_404(\"{$class}/{$method}\");\n"], [293, "\t\t}\n"], [294, "\n"], [295, "\t\t// Call the requested method.\n"], [296, "\t\t// Any URI segments present (besides the class/function) will be passed to the method for convenience\n"], [297, "\t\tcall_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\n"], [298, "\t}\n"], [299, "\n"], [300, "\n"], [301, "\t// Mark a benchmark end point\n"], [302, "\t$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');\n"]]}, {"function": "call_user_func_array", "abs_path": "", "vars": {"parameters": [], "function_name": ["Object Tools", "raven_msg"]}, "filename": "[Anonymous function]", "start_lineno": 0, "lineno": 0, "context": [[0, "call_user_func_array([])"]]}, {"function": "raven_msg", "abs_path": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "vars": [], "filename": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "start_lineno": 15, "lineno": 21, "context": [[15, "\t\t$this->benchmark->mark('code_end');\n"], [16, "\t\techo \"Finished (\". $this->benchmark->elapsed_time('code_start', 'code_end') .\"s) \\n\";\n"], [17, "\t}\n"], [18, " public function raven_msg()\n"], [19, " {\n"], [20, " echo 'hello';\n"], [21, " throw new Exception('Test exception message');\n"], [22, " $value = 1;\n"], [23, " echo $value/0;\n"], [24, " return 0;\n"], [25, " }\n"], [26, "}\n"]]}], "context_vars": [], "self": "<sentry.interfaces.Stacktrace object at 0x10bdf19d0>"}, "module": "sentry.interfaces", "filename": "sentry/interfaces.py", "post_context": [" })", ""], "context_line": " 'stacktrace': self.get_traceback(event),", "lineno": 228}, {"function": "render_to_string", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/sentry/web/helpers.py", "pre_context": [" else:", " context = Context(context)", ""], "vars": {"default_context": {"URL_PREFIX": "http://localhost:8000", "USE_JS_CLIENT": false, "VIEWS": ["<View: sentry.views.message.Message>", "<View: sentry.views.exception.Exception>"], "MESSAGES_PER_PAGE": 15, "PLUGINS": "<sentry.plugins.base.PluginManager object at 0x109876e10>", "HAS_SEARCH": true, "PROJECT_ID": "1"}, "request": null, "context": "[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n F...", "template": "sentry/partial/interfaces/stacktrace.html"}, "module": "sentry.web.helpers", "filename": "sentry/web/helpers.py", "post_context": ["", ""], "context_line": " return loader.render_to_string(template, context)", "lineno": 132}, {"function": "render_to_string", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/loader.py", "pre_context": [" else:", " t = get_template(template_name)", " if not context_instance:"], "vars": {"template_name": "sentry/partial/interfaces/stacktrace.html", "t": "<django.template.base.Template object at 0x10bde6610>", "dictionary": "[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n F...", "context_instance": null}, "module": "django.template.loader", "filename": "django/template/loader.py", "post_context": [" # Add the dictionary to the context stack, ensuring it gets removed again", " # to keep the context_instance in the same state it started in."], "context_line": " return t.render(Context(dictionary))", "lineno": 171}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/base.py", "pre_context": [" \"Display stage -- can be called many times\"", " context.render_context.push()", " try:"], "vars": {"self": "<django.template.base.Template object at 0x10bde6610>", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.base", "filename": "django/template/base.py", "post_context": [" finally:", " context.render_context.pop()"], "context_line": " return self._render(context)", "lineno": 140}, {"function": "_render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/base.py", "pre_context": [" yield subnode", "", " def _render(self, context):"], "vars": {"self": "<django.template.base.Template object at 0x10bde6610>", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.base", "filename": "django/template/base.py", "post_context": ["", " def render(self, context):"], "context_line": " return self.nodelist.render(context)", "lineno": 134}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/base.py", "pre_context": [" bits = []", " for node in self:", " if isinstance(node, Node):"], "vars": {"node": "<For Node: for frame in frames, tail_len: 11>", "bit": "</h2>\n </div>\n <div class=\"module-content\">\n <ul class=\"traceback\">\n ", "bits": ["", "\n", "", "\n\n<div id=\"traceback\" class=\"module\">\n <div class=\"page-header\">\n <a href=\"javascript:void(0)\" data-container=\"#raw_stacktrace\" data-title=\"Stacktrace\" class=\"popup btn small pull-right\">", "Raw", "</a>\n <h2>", "Stacktrace", "</h2>\n </div>\n <div class=\"module-content\">\n <ul class=\"traceback\">\n "], "self": ["<django.template.defaulttags.LoadNode object at 0x10a474890>", "<Text Node: '\n'>", "<django.template.defaulttags.LoadNode object at 0x10a4593d0>", "<Text Node: '\n\n<div id=\"traceback\" cla'>", "<django.templatetags.i18n.TranslateNode object at 0x10a474f10>", "<Text Node: '</a>\n <h2>'>", "<django.templatetags.i18n.TranslateNode object at 0x10a474350>", "<Text Node: '</h2>\n </div>\n <div'>", "<For Node: for frame in frames, tail_len: 11>", "<Text Node: '\n </ul>\n </div>'>", "<Variable Node: stacktrace>", "<Text Node: '</pre>\n</div>\n'>"], "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.base", "filename": "django/template/base.py", "post_context": [" else:", " bit = node"], "context_line": " bit = self.render_node(node, context)", "lineno": 823}, {"function": "render_node", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/debug.py", "pre_context": ["class DebugNodeList(NodeList):", " def render_node(self, node, context):", " try:"], "vars": {"node": "<For Node: for frame in frames, tail_len: 11>", "self": ["<django.template.defaulttags.LoadNode object at 0x10a474890>", "<Text Node: '\n'>", "<django.template.defaulttags.LoadNode object at 0x10a4593d0>", "<Text Node: '\n\n<div id=\"traceback\" cla'>", "<django.templatetags.i18n.TranslateNode object at 0x10a474f10>", "<Text Node: '</a>\n <h2>'>", "<django.templatetags.i18n.TranslateNode object at 0x10a474350>", "<Text Node: '</h2>\n </div>\n <div'>", "<For Node: for frame in frames, tail_len: 11>", "<Text Node: '\n </ul>\n </div>'>", "<Variable Node: stacktrace>", "<Text Node: '</pre>\n</div>\n'>"], "e": "TypeError(\"'NoneType' object is not iterable\",)", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.debug", "filename": "django/template/debug.py", "post_context": [" except Exception, e:", " if not hasattr(e, 'django_template_source'):"], "context_line": " return node.render(context)", "lineno": 74}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/defaulttags.py", "pre_context": [" if settings.TEMPLATE_DEBUG:", " for node in self.nodelist_loop:", " try:"], "vars": {"node": "<IfNode>", "len_values": 3, "pop_context": false, "e": "TypeError(\"'NoneType' object is not iterable\",)", "item": {"function": "require_once", "abs_path": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "vars": ["/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php"], "filename": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "start_lineno": 291, "lineno": 297, "context": [[291, "\t\t{\n"], [292, "\t\t\tshow_404(\"{$class}/{$method}\");\n"], [293, "\t\t}\n"], [294, "\n"], [295, "\t\t// Call the requested method.\n"], [296, "\t\t// Any URI segments present (besides the class/function) will be passed to the method for convenience\n"], [297, "\t\tcall_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\n"], [298, "\t}\n"], [299, "\n"], [300, "\n"], [301, "\t// Mark a benchmark end point\n"], [302, "\t$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');\n"]]}, "loop_dict": {"parentloop": {}, "last": false, "counter": 1, "revcounter0": 2, "revcounter": 3, "counter0": 0, "first": true}, "self": "<For Node: for frame in frames, tail_len: 11>", "parentloop": {}, "i": 0, "values": [{"function": "require_once", "abs_path": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "vars": ["/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php"], "filename": "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "start_lineno": 291, "lineno": 297, "context": [[291, "\t\t{\n"], [292, "\t\t\tshow_404(\"{$class}/{$method}\");\n"], [293, "\t\t}\n"], [294, "\n"], [295, "\t\t// Call the requested method.\n"], [296, "\t\t// Any URI segments present (besides the class/function) will be passed to the method for convenience\n"], [297, "\t\tcall_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\n"], [298, "\t}\n"], [299, "\n"], [300, "\n"], [301, "\t// Mark a benchmark end point\n"], [302, "\t$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');\n"]]}, {"function": "call_user_func_array", "abs_path": "", "vars": {"parameters": [], "function_name": ["Object Tools", "raven_msg"]}, "filename": "[Anonymous function]", "start_lineno": 0, "lineno": 0, "context": [[0, "call_user_func_array([])"]]}, {"function": "raven_msg", "abs_path": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "vars": [], "filename": "/Users/tharshan/WebRoot/spoilertv/application/controllers/tools.php", "start_lineno": 15, "lineno": 21, "context": [[15, "\t\t$this->benchmark->mark('code_end');\n"], [16, "\t\techo \"Finished (\". $this->benchmark->elapsed_time('code_start', 'code_end') .\"s) \\n\";\n"], [17, "\t}\n"], [18, " public function raven_msg()\n"], [19, " {\n"], [20, " echo 'hello';\n"], [21, " throw new Exception('Test exception message');\n"], [22, " $value = 1;\n"], [23, " echo $value/0;\n"], [24, " return 0;\n"], [25, " }\n"], [26, "}\n"]]}], "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ...", "nodelist": ["\n <li class=\"frame\">\n <p>\n <code>", "/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php", "</code>\n ", " in <code>require_once</code>", "\n ", "", "\n </p>\n\n ", "\n <ol start=\"291\" class=\"context expandable\" id=\"c0\">\n \n <li class=\"stack0 closed\" onclick=\"$('.stack0').toggleClass('closed')\"><pre>\t\t{\n</pre></li>\n \n <li class=\"stack0 closed\" onclick=\"$('.stack0').toggleClass('closed')\"><pre>\t\t\tshow_404("{$class}/{$method}");\n</pr...", "\n "], "unpack": false}, "module": "django.template.defaulttags", "filename": "django/template/defaulttags.py", "post_context": [" except Exception, e:", " if not hasattr(e, 'django_template_source'):"], "context_line": " nodelist.append(node.render(context))", "lineno": 185}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/defaulttags.py", "pre_context": [" match = True", "", " if match:"], "vars": {"self": "<IfNode>", "match": ["/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php"], "nodelist": ["<Text Node: '\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '')\"><span>▶</span>'>", "<django.templatetags.i18n.TranslateNode object at 0x10a4ab710>", "<Text Node: '</a>\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '\" style=\"display:none;\">\n'>", "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "<Text Node: '\n '>"], "condition": "(literal <django.template.base.FilterExpression object at 0x10a474d10>)", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.defaulttags", "filename": "django/template/defaulttags.py", "post_context": ["", " return ''"], "context_line": " return nodelist.render(context)", "lineno": 281}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/base.py", "pre_context": [" bits = []", " for node in self:", " if isinstance(node, Node):"], "vars": {"node": "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "bit": "\" style=\"display:none;\">\n <colgroup>\n <col style=\"width:100px;\">\n </colgroup>\n <tbody>\n ", "bits": ["\n <div class=\"commands\">\n <a href=\"#\" onclick=\"return varToggle(this, '", "0", "')\"><span>▶</span> ", "Local vars", "</a>\n </div>\n <table class=\"table vars\" id=\"v", "0", "\" style=\"display:none;\">\n <colgroup>\n <col style=\"width:100px;\">\n </colgroup>\n <tbody>\n "], "self": ["<Text Node: '\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '')\"><span>▶</span>'>", "<django.templatetags.i18n.TranslateNode object at 0x10a4ab710>", "<Text Node: '</a>\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '\" style=\"display:none;\">\n'>", "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "<Text Node: '\n '>"], "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.base", "filename": "django/template/base.py", "post_context": [" else:", " bit = node"], "context_line": " bit = self.render_node(node, context)", "lineno": 823}, {"function": "render_node", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/debug.py", "pre_context": ["class DebugNodeList(NodeList):", " def render_node(self, node, context):", " try:"], "vars": {"node": "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "self": ["<Text Node: '\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '')\"><span>▶</span>'>", "<django.templatetags.i18n.TranslateNode object at 0x10a4ab710>", "<Text Node: '</a>\n '>", "<Variable Node: forloop.counter0>", "<Text Node: '\" style=\"display:none;\">\n'>", "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "<Text Node: '\n '>"], "e": "TypeError(\"'NoneType' object is not iterable\",)", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.debug", "filename": "django/template/debug.py", "post_context": [" except Exception, e:", " if not hasattr(e, 'django_template_source'):"], "context_line": " return node.render(context)", "lineno": 74}, {"function": "render", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/defaulttags.py", "pre_context": [" parentloop = {}", " context.push()", " try:"], "vars": {"parentloop": {"parentloop": {}, "last": false, "counter": 1, "revcounter0": 2, "revcounter": 3, "counter0": 0, "first": true}, "self": "<For Node: for key, value in frame.vars.iteritems|as_sorted, tail_len: 5>", "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ..."}, "module": "django.template.defaulttags", "filename": "django/template/defaulttags.py", "post_context": [" except VariableDoesNotExist:", " values = []"], "context_line": " values = self.sequence.resolve(context, True)", "lineno": 138}, {"function": "resolve", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/django/template/base.py", "pre_context": [" if getattr(func, 'needs_autoescape', False):", " new_obj = func(obj, autoescape=context.autoescape, *arg_vals)", " else:"], "vars": {"obj": null, "context": "[[{'URL_PREFIX': 'http://localhost:8000', 'stacktrace': u'Test exception message\\n\\nStacktrace (most recent call last):\\n\\n File \"/Users/tharshan/WebRoot/spoilertv/system/core/CodeIgniter.php\", line 297, in require_once\\n call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2));\\n File \"[Anonymous function]\", line 0, in call_user_func_array\\n call_user_func_array([])\\n ...", "arg_vals": [], "self": "<django.template.base.FilterExpression object at 0x10a4ab610>", "args": [], "ignore_failures": true, "func": "<function as_sorted at 0x10a899848>"}, "module": "django.template.base", "filename": "django/template/base.py", "post_context": [" if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):", " obj = mark_safe(new_obj)"], "context_line": " new_obj = func(obj, *arg_vals)", "lineno": 599}, {"function": "as_sorted", "abs_path": "/Users/tharshan/WebRoot/sentry-on-dotcloud/sentry-on-dotcloud/lib/python2.7/site-packages/sentry/templatetags/sentry_helpers.py", "pre_context": ["", "@register.filter", "def as_sorted(value):"], "vars": {"value": null}, "module": "sentry.templatetags.sentry_helpers", "filename": "sentry/templatetags/sentry_helpers.py", "post_context": ["", ""], "context_line": " return sorted(value)", "lineno": 69}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment