Created
March 23, 2015 18:14
-
-
Save ryepup/15c199d6db21d181d6b2 to your computer and use it in GitHub Desktop.
NoReverseMatch at /status
This file contains 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
<!DOCTYPE html> | |
<html lang="en"><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="robots" content="NONE,NOARCHIVE"> | |
<title>NoReverseMatch at /status</title> | |
<style type="text/css"> | |
html * { padding:0; margin:0; } | |
body * { padding:10px 20px; } | |
body * * { padding:0; } | |
body { font:small sans-serif; } | |
body>div { border-bottom:1px solid #ddd; } | |
h1 { font-weight:normal; } | |
h2 { margin-bottom:.8em; } | |
h2 span { font-size:80%; color:#666; font-weight:normal; } | |
h3 { margin:1em 0 .5em 0; } | |
h4 { margin:0 0 .5em 0; font-weight: normal; } | |
code, pre { font-size: 100%; white-space: pre-wrap; } | |
table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } | |
tbody td, tbody th { vertical-align:top; padding:2px 3px; } | |
thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } | |
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } | |
table.vars { margin:5px 0 2px 40px; } | |
table.vars td, table.req td { font-family:monospace; } | |
table td.code { width:100%; } | |
table td.code pre { overflow:hidden; } | |
table.source th { color:#666; } | |
table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } | |
ul.traceback { list-style-type:none; color: #222; } | |
ul.traceback li.frame { padding-bottom:1em; color:#666; } | |
ul.traceback li.user { background-color:#e0e0e0; color:#000 } | |
div.context { padding:10px 0; overflow:hidden; } | |
div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } | |
div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; } | |
div.context ol li pre { display:inline; } | |
div.context ol.context-line li { color:#505050; background-color:#dfdfdf; } | |
div.context ol.context-line li span { position:absolute; right:32px; } | |
.user div.context ol.context-line li { background-color:#bbb; color:#000; } | |
.user div.context ol li { color:#666; } | |
div.commands { margin-left: 40px; } | |
div.commands a { color:#555; text-decoration:none; } | |
.user div.commands a { color: black; } | |
#summary { background: #ffc; } | |
#summary h2 { font-weight: normal; color: #666; } | |
#explanation { background:#eee; } | |
#template, #template-not-exist { background:#f6f6f6; } | |
#template-not-exist ul { margin: 0 0 0 20px; } | |
#unicode-hint { background:#eee; } | |
#traceback { background:#eee; } | |
#requestinfo { background:#f6f6f6; padding-left:120px; } | |
#summary table { border:none; background:transparent; } | |
#requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } | |
#requestinfo h3 { margin-bottom:-1em; } | |
.error { background: #ffc; } | |
.specific { color:#cc3300; font-weight:bold; } | |
h2 span.commands { font-size:.7em;} | |
span.commands a:link {color:#5E5694;} | |
pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } | |
</style> | |
<script type="text/javascript"> | |
//<!-- | |
function getElementsByClassName(oElm, strTagName, strClassName){ | |
// Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com | |
var arrElements = (strTagName == "*" && document.all)? document.all : | |
oElm.getElementsByTagName(strTagName); | |
var arrReturnElements = new Array(); | |
strClassName = strClassName.replace(/\-/g, "\-"); | |
var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); | |
var oElement; | |
for(var i=0; i<arrElements.length; i++){ | |
oElement = arrElements[i]; | |
if(oRegExp.test(oElement.className)){ | |
arrReturnElements.push(oElement); | |
} | |
} | |
return (arrReturnElements) | |
} | |
function hideAll(elems) { | |
for (var e = 0; e < elems.length; e++) { | |
elems[e].style.display = 'none'; | |
} | |
} | |
window.onload = function() { | |
hideAll(getElementsByClassName(document, 'table', 'vars')); | |
hideAll(getElementsByClassName(document, 'ol', 'pre-context')); | |
hideAll(getElementsByClassName(document, 'ol', 'post-context')); | |
hideAll(getElementsByClassName(document, 'div', 'pastebin')); | |
} | |
function toggle() { | |
for (var i = 0; i < arguments.length; i++) { | |
var e = document.getElementById(arguments[i]); | |
if (e) { | |
e.style.display = e.style.display == 'none' ? 'block' : 'none'; | |
} | |
} | |
return false; | |
} | |
function varToggle(link, id) { | |
toggle('v' + id); | |
var s = link.getElementsByTagName('span')[0]; | |
var uarr = String.fromCharCode(0x25b6); | |
var darr = String.fromCharCode(0x25bc); | |
s.innerHTML = s.innerHTML == uarr ? darr : uarr; | |
return false; | |
} | |
function switchPastebinFriendly(link) { | |
s1 = "Switch to copy-and-paste view"; | |
s2 = "Switch back to interactive view"; | |
link.innerHTML = link.innerHTML == s1 ? s2 : s1; | |
toggle('browserTraceback', 'pastebinTraceback'); | |
return false; | |
} | |
//--> | |
</script> | |
</head> | |
<body> | |
<div id="summary"> | |
<h1>NoReverseMatch at /status</h1> | |
<pre class="exception_value">Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []</pre> | |
<table class="meta"> | |
<tbody><tr> | |
<th>Request Method:</th> | |
<td>GET</td> | |
</tr> | |
<tr> | |
<th>Request URL:</th> | |
<td>http://sh-arb.lxc:8000/status</td> | |
</tr> | |
<tr> | |
<th>Django Version:</th> | |
<td>1.6</td> | |
</tr> | |
<tr> | |
<th>Exception Type:</th> | |
<td>NoReverseMatch</td> | |
</tr> | |
<tr> | |
<th>Exception Value:</th> | |
<td><pre>Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []</pre></td> | |
</tr> | |
<tr> | |
<th>Exception Location:</th> | |
<td>/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 429</td> | |
</tr> | |
<tr> | |
<th>Python Executable:</th> | |
<td>/usr/local/bin/uwsgi</td> | |
</tr> | |
<tr> | |
<th>Python Version:</th> | |
<td>2.7.6</td> | |
</tr> | |
<tr> | |
<th>Python Path:</th> | |
<td><pre>['.', | |
'', | |
'/usr/lib/python2.7', | |
'/usr/lib/python2.7/plat-x86_64-linux-gnu', | |
'/usr/lib/python2.7/lib-tk', | |
'/usr/lib/python2.7/lib-old', | |
'/usr/lib/python2.7/lib-dynload', | |
'/usr/local/lib/python2.7/dist-packages', | |
'/usr/lib/python2.7/dist-packages']</pre></td> | |
</tr> | |
<tr> | |
<th>Server time:</th> | |
<td>Mon, 23 Mar 2015 13:49:39 -0400</td> | |
</tr> | |
</tbody></table> | |
</div> | |
<div id="template"> | |
<h2>Error during template rendering</h2> | |
<p>In template <code>/usr/local/lib/python2.7/dist-packages/adagios/templates/base.html</code>, error at line <strong>103</strong></p> | |
<h3>Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []</h3> | |
<table class="source cut-top cut-bottom"> | |
<tbody><tr><th>93</th> | |
<td> | |
</td></tr> | |
<tr><th>94</th> | |
<td> <li{% if urlname == | |
'adagios.status.views.status_hostgroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.status_hostgroups" %}">{% | |
trans "Hostgroups" %}</a></li> | |
</td></tr> | |
<tr><th>95</th> | |
<td> <li{% if urlname == | |
'adagios.status.views.status_servicegroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.status_servicegroups" %}">{% | |
trans "Servicegroups" %}</a></li> | |
</td></tr> | |
<tr><th>96</th> | |
<td> <li{% if urlname == | |
'adagios.status.views.contactgroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.contactgroups" %}">{% trans | |
"Contactgroups" %}</a></li> | |
</td></tr> | |
<tr><th>97</th> | |
<td> | |
</td></tr> | |
<tr><th>98</th> | |
<td> <li class="nav-header" style="color: black;">{% trans "Experimental" %}</li> | |
</td></tr> | |
<tr><th>99</th> | |
<td> | |
</td></tr> | |
<tr><th>100</th> | |
<td> <li{% if urlname == 'adagios.status.views.map_view' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.map_view" %}">{% trans "Map" %}</a></li> | |
</td></tr> | |
<tr><th>101</th> | |
<td> <li{% if urlname == 'adagios.status.views.perfdata' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.perfdata" %}">{% trans "Performance Data 1" | |
%}</a></li> | |
</td></tr> | |
<tr><th>102</th> | |
<td> <li{% if urlname == | |
'adagios.status.views.perfdata2' %} class="active"{% endif %}><a | |
href="{% url "status.views.perfdata2" %}">{% trans "Performance Data | |
2" %}</a></li> | |
</td></tr> | |
<tr class="error"><th>103</th> | |
<td> <li{% if urlname == 'adagios.bi.views.index' %} class="active"{% endif %}><a href="<span class="specific">{% url "bi.views.index" %}</span>">{% trans "Business Intelligence" %}</a></li> | |
</td></tr> | |
<tr><th>104</th> | |
<td> <li{% if urlname == | |
'adagios.status.views.dashboard' %} class="active"{% endif %}><a | |
href="{% url "status.views.dashboard" %}">{% trans "Dashboard" | |
%}</a></li> | |
</td></tr> | |
<tr><th>105</th> | |
<td> </ul> | |
</td></tr> | |
<tr><th>106</th> | |
<td> </div> | |
</td></tr> | |
<tr><th>107</th> | |
<td> {% endblock left_sidebar %} | |
</td></tr> | |
<tr><th>108</th> | |
<td> <!-- block left_sidebar ends --> | |
</td></tr> | |
<tr><th>109</th> | |
<td> | |
</td></tr> | |
<tr><th>110</th> | |
<td> <div id="main_content"> | |
</td></tr> | |
<tr><th>111</th> | |
<td> | |
</td></tr> | |
<tr><th>112</th> | |
<td> <!-- page_header contains stuff breadcrumbs and title of the current page --> | |
</td></tr> | |
<tr><th>113</th> | |
<td> {% block page_header %} | |
</td></tr> | |
</tbody></table> | |
</div> | |
<div id="traceback"> | |
<h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2> | |
<div id="browserTraceback"> | |
<ul class="traceback"> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py</code> in <code>get_response</code> | |
<div class="context" id="c140719330624000"> | |
<ol style="display: none;" start="107" class="pre-context" id="pre140719330624000"><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> if response:</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> break</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre></pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> if response is None:</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> try:</pre></li></ol> | |
<ol start="114" class="context-line"><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="115" class="post-context" id="post140719330624000"><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> # If the view raised an exception, run it through exception</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> # middleware, and if the exception middleware returns a</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> # response, use that. Otherwise, reraise the exception.</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> for middleware_method in self._exception_middleware:</pre></li><li onclick="toggle('pre140719330624000', 'post140719330624000')"><pre> response = middleware_method(request, e)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719330624000')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719330624000"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>callback_args</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>resolver_match</td> | |
<td class="code"><pre>ResolverMatch(func=<function status_index at 0x7ffbc5da6aa0>, args=(), kwargs={}, url_name='adagios.status.views.status_index', app_name='None', namespace='')</pre></td> | |
</tr> | |
<tr> | |
<td>middleware_method</td> | |
<td class="code"><pre><bound method AuthorizationMiddleWare.process_view of <adagios.auth.AuthorizationMiddleWare object at 0x7ffbc66f6b90>></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x7ffbc6cbd9d0></pre></td> | |
</tr> | |
<tr> | |
<td>request</td> | |
<td class="code"><pre>'<WSGIRequest\npath:/status,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{\'csrftoken\': \'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'sessionid\': \'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM\',\n \'user\': \'!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg==\'},\nMETA:{u\'CSRF_COOKIE\': u\'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_COOKIE\': \'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_HOST\': \'sh-arb.lxc:8000\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0\',\n \'PATH_INFO\': u\'/status\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'10.0.3.1\',\n \'REMOTE_PORT\': \'21478\',\n \'REQUEST_METHOD\': \'GET\',\n \'REQUEST_URI\': \'/status\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'sh-arb\',\n \'SERVER_PORT\': \'8000\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'UWSGI_ROUTER\': \'http\',\n \'uwsgi.node\': \'sh-arb\',\n \'uwsgi.version\': \'2.0.10\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x7ffbc6c88810>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x7ffbc72d8a80>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'</pre></td> | |
</tr> | |
<tr> | |
<td>callback</td> | |
<td class="code"><pre><function status_index at 0x7ffbc5da6aa0></pre></td> | |
</tr> | |
<tr> | |
<td>wrapped_callback</td> | |
<td class="code"><pre><function status_index at 0x7ffbc5da6aa0></pre></td> | |
</tr> | |
<tr> | |
<td>resolver</td> | |
<td class="code"><pre><RegexURLResolver 'adagios.urls' (None:None) ^/></pre></td> | |
</tr> | |
<tr> | |
<td>callback_kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>response</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>urlconf</td> | |
<td class="code"><pre>'adagios.urls'</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame user"> | |
<code>/usr/local/lib/python2.7/dist-packages/adagios/views.py</code> in <code>wrapper</code> | |
<div class="context" id="c140719328601800"> | |
<ol style="display: none;" start="46" class="pre-context" id="pre140719328601800"><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> duration = end_time - start_time</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> return result</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> c = {}</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> c['exception'] = str(e)</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> c['exception_type'] = str(type(e).__name__)</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> c['traceback'] = traceback.format_exc()</pre></li></ol> | |
<ol start="53" class="context-line"><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> return error_page(request, context=c)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="54" class="post-context" id="post140719328601800"><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> wrapper.__name__ = view_func.__name__</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> wrapper.__module__ = view_func.__module__</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre> return wrapper</pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre></pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre></pre></li><li onclick="toggle('pre140719328601800', 'post140719328601800')"><pre>def error_page(request, context=None):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601800')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601800"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>c</td> | |
<td class="code"><pre>{'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", | |
'exception_type': 'NoReverseMatch', | |
'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>start_time</td> | |
<td class="code"><pre>1427132979.526829</pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>request</td> | |
<td class="code"><pre>'<WSGIRequest\npath:/status,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{\'csrftoken\': \'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'sessionid\': \'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM\',\n \'user\': \'!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg==\'},\nMETA:{u\'CSRF_COOKIE\': u\'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_COOKIE\': \'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_HOST\': \'sh-arb.lxc:8000\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0\',\n \'PATH_INFO\': u\'/status\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'10.0.3.1\',\n \'REMOTE_PORT\': \'21478\',\n \'REQUEST_METHOD\': \'GET\',\n \'REQUEST_URI\': \'/status\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'sh-arb\',\n \'SERVER_PORT\': \'8000\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'UWSGI_ROUTER\': \'http\',\n \'uwsgi.node\': \'sh-arb\',\n \'uwsgi.version\': \'2.0.10\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x7ffbc6c88810>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x7ffbc72d8a80>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'</pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>view_func</td> | |
<td class="code"><pre><function status_index at 0x7ffbc5da6a28></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame user"> | |
<code>/usr/local/lib/python2.7/dist-packages/adagios/views.py</code> in <code>error_page</code> | |
<div class="context" id="c140719328601584"> | |
<ol style="display: none;" start="62" class="pre-context" id="pre140719328601584"><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> context['errors'] = []</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> context['errors'].append('Error occured, but no error messages provided, what happened?')</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> if request.META.get('CONTENT_TYPE') == 'application/json':</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> context.pop('request', None)</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> content = str(context)</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> response = HttpResponse(content=content, content_type='application/json')</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> else:</pre></li></ol> | |
<ol start="69" class="context-line"><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> response = render_to_response('status_error.html', context, context_instance=RequestContext(request))</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="70" class="post-context" id="post140719328601584"><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> response.status_code = 500</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> return response</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre></pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre></pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre>def index(request):</pre></li><li onclick="toggle('pre140719328601584', 'post140719328601584')"><pre> """ This view is our frontpage """</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601584')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601584"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>request</td> | |
<td class="code"><pre>'<WSGIRequest\npath:/status,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{\'csrftoken\': \'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'sessionid\': \'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM\',\n \'user\': \'!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg==\'},\nMETA:{u\'CSRF_COOKIE\': u\'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_COOKIE\': \'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS\',\n \'HTTP_HOST\': \'sh-arb.lxc:8000\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0\',\n \'PATH_INFO\': u\'/status\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'10.0.3.1\',\n \'REMOTE_PORT\': \'21478\',\n \'REQUEST_METHOD\': \'GET\',\n \'REQUEST_URI\': \'/status\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'sh-arb\',\n \'SERVER_PORT\': \'8000\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'UWSGI_ROUTER\': \'http\',\n \'uwsgi.node\': \'sh-arb\',\n \'uwsgi.version\': \'2.0.10\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x7ffbc6c88810>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x7ffbc72d8a80>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>{'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", | |
'exception_type': 'NoReverseMatch', | |
'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py</code> in <code>render_to_response</code> | |
<div class="context" id="c140719328601440"> | |
<ol style="display: none;" start="22" class="pre-context" id="pre140719328601440"><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre></pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> mimetype = kwargs.pop('mimetype', None)</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> if mimetype:</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> warnings.warn("The mimetype keyword argument is deprecated, use "</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> "content_type instead", DeprecationWarning, stacklevel=2)</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> httpresponse_kwargs['content_type'] = mimetype</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre></pre></li></ol> | |
<ol start="29" class="context-line"><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="30" class="post-context" id="post140719328601440"><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre></pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre>def render(request, *args, **kwargs):</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> """</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> Returns a HttpResponse whose content is filled with the result of calling</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> django.template.loader.render_to_string() with the passed arguments.</pre></li><li onclick="toggle('pre140719328601440', 'post140719328601440')"><pre> Uses a RequestContext by default.</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601440')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601440"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>mimetype</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>httpresponse_kwargs</td> | |
<td class="code"><pre>{'content_type': None}</pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>('status_error.html', | |
{'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", | |
'exception_type': 'NoReverseMatch', | |
'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'})</pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{'context_instance': [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]}</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/loader.py</code> in <code>render_to_string</code> | |
<div class="context" id="c140719328601368"> | |
<ol style="display: none;" start="162" class="pre-context" id="pre140719328601368"><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> t = get_template(template_name)</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> if not context_instance:</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> return t.render(Context(dictionary))</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> # Add the dictionary to the context stack, ensuring it gets removed again</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> # to keep the context_instance in the same state it started in.</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> context_instance.update(dictionary)</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> try:</pre></li></ol> | |
<ol start="169" class="context-line"><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> return t.render(context_instance)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="170" class="post-context" id="post140719328601368"><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> finally:</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> context_instance.pop()</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre></pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre>def select_template(template_name_list):</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> "Given a list of template names, returns the first that can be loaded."</pre></li><li onclick="toggle('pre140719328601368', 'post140719328601368')"><pre> if not template_name_list:</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601368')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601368"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>template_name</td> | |
<td class="code"><pre>'status_error.html'</pre></td> | |
</tr> | |
<tr> | |
<td>t</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5d46a90></pre></td> | |
</tr> | |
<tr> | |
<td>dictionary</td> | |
<td class="code"><pre>{'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", | |
'exception_type': 'NoReverseMatch', | |
'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}</pre></td> | |
</tr> | |
<tr> | |
<td>context_instance</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328601296"> | |
<ol style="display: none;" start="133" class="pre-context" id="pre140719328601296"><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> def _render(self, context):</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> return self.nodelist.render(context)</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre></pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> try:</pre></li></ol> | |
<ol start="140" class="context-line"><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> return self._render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="141" class="post-context" id="post140719328601296"><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> finally:</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> context.render_context.pop()</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre></pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre>def compile_string(template_string, origin):</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> "Compiles template_string into NodeList ready for rendering"</pre></li><li onclick="toggle('pre140719328601296', 'post140719328601296')"><pre> if settings.TEMPLATE_DEBUG:</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601296')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601296"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5d46a90></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code> | |
<div class="context" id="c140719328601872"> | |
<ol style="display: none;" start="127" class="pre-context" id="pre140719328601872"><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre></pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> yield subnode</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre></pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> def _render(self, context):</pre></li></ol> | |
<ol start="134" class="context-line"><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="135" class="post-context" id="post140719328601872"><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre></pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> try:</pre></li><li onclick="toggle('pre140719328601872', 'post140719328601872')"><pre> return self._render(context)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601872')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601872"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5d46a90></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328601944"> | |
<ol style="display: none;" start="833" class="pre-context" id="pre140719328601944"><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre></pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> bits = []</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> for node in self:</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> if isinstance(node, Node):</pre></li></ol> | |
<ol start="840" class="context-line"><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="841" class="post-context" id="post140719328601944"><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> else:</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> bit = node</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre></pre></li><li onclick="toggle('pre140719328601944', 'post140719328601944')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601944')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601944"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><ExtendsNode: extends "base_status.html"></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<ExtendsNode: extends "base_status.html">]</pre></td> | |
</tr> | |
<tr> | |
<td>bits</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code> | |
<div class="context" id="c140719328601656"> | |
<ol style="display: none;" start="71" class="pre-context" id="pre140719328601656"><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre></pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> try:</pre></li></ol> | |
<ol start="78" class="context-line"><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> return node.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="79" class="post-context" id="post140719328601656"><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre> raise</pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre></pre></li><li onclick="toggle('pre140719328601656', 'post140719328601656')"><pre></pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601656')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601656"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><ExtendsNode: extends "base_status.html"></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<ExtendsNode: extends "base_status.html">]</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code> | |
<div class="context" id="c140719328601728"> | |
<ol style="display: none;" start="116" class="pre-context" id="pre140719328601728"><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> blocks = dict([(n.name, n) for n in</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> compiled_parent.nodelist.get_nodes_by_type(BlockNode)])</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> block_context.add_blocks(blocks)</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> break</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre></pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> # Call Template._render explicitly so the parser context stays</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> # the same.</pre></li></ol> | |
<ol start="123" class="context-line"><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> return compiled_parent._render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="124" class="post-context" id="post140719328601728"><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre></pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre>class BaseIncludeNode(Node):</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> def __init__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> self.extra_context = kwargs.pop('extra_context', {})</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> self.isolated_context = kwargs.pop('isolated_context', False)</pre></li><li onclick="toggle('pre140719328601728', 'post140719328601728')"><pre> super(BaseIncludeNode, self).__init__(*args, **kwargs)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328601728')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328601728"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td> | |
</tr> | |
<tr> | |
<td>block_context</td> | |
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7ffbc5d46b10></pre></td> | |
</tr> | |
<tr> | |
<td>compiled_parent</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5a89390></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><ExtendsNode: extends "base_status.html"></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code> | |
<div class="context" id="c140719328602448"> | |
<ol style="display: none;" start="127" class="pre-context" id="pre140719328602448"><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre></pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> yield subnode</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre></pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> def _render(self, context):</pre></li></ol> | |
<ol start="134" class="context-line"><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="135" class="post-context" id="post140719328602448"><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre></pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> try:</pre></li><li onclick="toggle('pre140719328602448', 'post140719328602448')"><pre> return self._render(context)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602448')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602448"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5a89390></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328602808"> | |
<ol style="display: none;" start="833" class="pre-context" id="pre140719328602808"><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre></pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> bits = []</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> for node in self:</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> if isinstance(node, Node):</pre></li></ol> | |
<ol start="840" class="context-line"><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="841" class="post-context" id="post140719328602808"><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> else:</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> bit = node</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre></pre></li><li onclick="toggle('pre140719328602808', 'post140719328602808')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602808')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602808"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<ExtendsNode: extends "base.html">]</pre></td> | |
</tr> | |
<tr> | |
<td>bits</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code> | |
<div class="context" id="c140719328602592"> | |
<ol style="display: none;" start="71" class="pre-context" id="pre140719328602592"><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre></pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> try:</pre></li></ol> | |
<ol start="78" class="context-line"><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> return node.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="79" class="post-context" id="post140719328602592"><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre> raise</pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre></pre></li><li onclick="toggle('pre140719328602592', 'post140719328602592')"><pre></pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602592')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602592"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<ExtendsNode: extends "base.html">]</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code> | |
<div class="context" id="c140719328602304"> | |
<ol style="display: none;" start="116" class="pre-context" id="pre140719328602304"><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> blocks = dict([(n.name, n) for n in</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> compiled_parent.nodelist.get_nodes_by_type(BlockNode)])</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> block_context.add_blocks(blocks)</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> break</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre></pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> # Call Template._render explicitly so the parser context stays</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> # the same.</pre></li></ol> | |
<ol start="123" class="context-line"><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> return compiled_parent._render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="124" class="post-context" id="post140719328602304"><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre></pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre>class BaseIncludeNode(Node):</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> def __init__(self, *args, **kwargs):</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> self.extra_context = kwargs.pop('extra_context', {})</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> self.isolated_context = kwargs.pop('isolated_context', False)</pre></li><li onclick="toggle('pre140719328602304', 'post140719328602304')"><pre> super(BaseIncludeNode, self).__init__(*args, **kwargs)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602304')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602304"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><django.template.defaulttags.LoadNode object at 0x7ffbc5a0aed0></pre></td> | |
</tr> | |
<tr> | |
<td>blocks</td> | |
<td class="code"><pre>{u'bottom_left': <Block Node: bottom_left. Contents: [<Text Node: ' | |
'>]>, | |
u'content': <Block Node: content. Contents: [<Text Node: 'block=content'>]>, | |
u'footer': <Block Node: footer. Contents: [<Text Node: ' | |
'>]>, | |
u'header': <Block Node: header. Contents: []>, | |
u'largeheader': <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, | |
u'left_sidebar': <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, | |
u'page_content': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>, | |
u'page_footer': <Block Node: page_footer. Contents: [<Text Node: ' | |
<div id="page_footer'>, <Block Node: bottom_left. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
<'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a00b10>, <Text Node: '</button> | |
</div> | |
'>]>, | |
u'page_header': <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, | |
u'smallheader': <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, | |
u'title': <Block Node: title. Contents: [<Text Node: 'block=title'>]>, | |
u'toolbar': <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, | |
u'top_navigation': <Block Node: top_navigation. Contents: [<Text Node: ' | |
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7ffbc5a61c10>, <Text Node: ' | |
'>]>, | |
u'top_right': <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>}</pre></td> | |
</tr> | |
<tr> | |
<td>block_context</td> | |
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7ffbc5d46b10></pre></td> | |
</tr> | |
<tr> | |
<td>n</td> | |
<td class="code"><pre><Block Node: footer. Contents: [<Text Node: ' | |
'>]></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
<tr> | |
<td>compiled_parent</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5a388d0></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><ExtendsNode: extends "base.html"></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>_render</code> | |
<div class="context" id="c140719328602232"> | |
<ol style="display: none;" start="127" class="pre-context" id="pre140719328602232"><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre></pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> def __iter__(self):</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> for node in self.nodelist:</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> for subnode in node:</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> yield subnode</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre></pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> def _render(self, context):</pre></li></ol> | |
<ol start="134" class="context-line"><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> return self.nodelist.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="135" class="post-context" id="post140719328602232"><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre></pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> "Display stage -- can be called many times"</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> context.render_context.push()</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> try:</pre></li><li onclick="toggle('pre140719328602232', 'post140719328602232')"><pre> return self._render(context)</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602232')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602232"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.base.Template object at 0x7ffbc5a388d0></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328600792"> | |
<ol style="display: none;" start="833" class="pre-context" id="pre140719328600792"><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre></pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> bits = []</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> for node in self:</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> if isinstance(node, Node):</pre></li></ol> | |
<ol start="840" class="context-line"><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="841" class="post-context" id="post140719328600792"><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> else:</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> bit = node</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre></pre></li><li onclick="toggle('pre140719328600792', 'post140719328600792')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328600792')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328600792"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]></pre></td> | |
</tr> | |
<tr> | |
<td>bit</td> | |
<td class="code"><pre>u'\n<!-- block top_navigation ends -->\n\n\n\n\n\n<!-- block page_content starts -->\n'</pre></td> | |
</tr> | |
<tr> | |
<td>bits</td> | |
<td class="code"><pre>[u'<!DOCTYPE html>\n', | |
u'', | |
u'\n', | |
u'', | |
u'\n', | |
u'', | |
u'\n', | |
u'', | |
u'\n\n<html lang="en">\n\n<head>\n <meta charset="utf-8">\n <title>', | |
u'Adagios -', | |
u'Error', | |
u'</title>\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="Adagios - Nagios Configuration Made Easy">\n <meta name="author" content="Tomas Edwardsson, Pall Sigurdsson">\n <meta http-equiv="X-UA-Compatible" content="IE=9">\n <link href="', | |
u'/media/themes/default/style.css', | |
u'" rel="stylesheet">\n\n <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->\n <!--[if lt IE 9]>\n <script src="', | |
u'/media/html5shim/html5.js', | |
u'"></script>\n <![endif]-->\n\n <!-- fav and touch icons -->\n <link rel="shortcut icon" href="', | |
u'/media/img/favicon.ico', | |
u'">\n <link rel="apple-touch-icon-precomposed" sizes="114x114"\n href="', | |
u'/media/ico/apple-touch-icon-114-precomposed.png', | |
u'">\n <link rel="apple-touch-icon-precomposed" sizes="72x72"\n href="', | |
u'/media/ico/apple-touch-icon-72-precomposed.png', | |
u'">\n <link rel="apple-touch-icon-precomposed"\n href="', | |
u'/media/ico/apple-touch-icon-57-precomposed.png', | |
u'">\n\n <!-- Block header starts -->\n ', | |
u'', | |
u'\n <!-- Block header ends -->\n <script>\n var BASE_URL = "', | |
u'/', | |
u'";\n </script>\n <script type="text/javascript" src="', | |
u'/jsi18n/', | |
u'"></script>\n\n</head>\n\n<body>\n\n<!-- begin serverside includes -->\n', | |
u'', | |
u'\n<!-- end of serverside includes -->\n\n\n\n<!-- block top_navigation starts -->\n', | |
u'\n <!-- snippets/header.html starts. This is the top navigation header on our page -->\n\n\n\n\n\n<div id="top_navigation_bar" class="navbar navbar-fixed-top" xmlns="http://www.w3.org/1999/html">\n <div class="navbar-inner">\n <div class="container-fluid" style="padding-right: 0;">\n <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </a>\n\n <!-- Logo in top nav -->\n <a class="brand" href="/">Adagios</a>\n <div class="nav-collapse">\n <ul class="nav" id="top_navigation_menuitems">\n \n <li class="">\n \n \n <a href="/objectbrowser/" >\n \n <i class="glyph-grey glyph-edit"></i> Configure\n </a>\n \n </li>\n \n <li class="">\n \n \n <a href="/misc/nagios" >\n \n <i class="glyph-grey glyph-list"></i> Nagios\n </a>\n \n </li>\n \n\n\n <!-- Any extra plugins can put an entry in the menubar -->\n \n </ul>\n\n\n\n\n <!-- Right aligned navbar - MISC -->\n\n <ul class="nav pull-right">\n \n\n <li class="nagios_needs_reload">\n <a title="Nagios Service needs a reload for configuration changes to take effect." href="#">\n <span id="nagios_needs_reload_button" class="hide">\n <i class="glyph-white glyph-refresh" onclick="adagios.misc.reload_nagios();"></i>\n </span>\n </a>\n </li>\n \n <li style="color: red;">\n <a style="color: red;" href="/status/problems?unhandled">\n <i class="glyph-grey glyph-warning-sign" title="You have unhandled problems"></i>\n 3\n </a>\n </li>\n \n\n <li class="dropdown"><a><i class="glyph-grey glyph-clock"></i> Mar 23 13:49</a></li>\n \n <li class="dropdown" id="user-drop-down">\n <a class="dropdown-toggle"\n data-toggle="dropdown"\n href="#"><i class="glyph-user glyph-grey"></i> anonymous (en)\n \n </a>\n <ul class="dropdown-menu">\n \n \n <li><a href="/status/detail?contact_name=anonymous">My Profile</a></li>\n \n <li><a href="/misc/preferences">Preferences</a></li>\n <li><a href="#" onclick="adagios.misc.logout(); return false;">Sign Out</a></li>\n </ul>\n </li>\n \n <li class="dropdown">\n <a class="dropdown-toggle"\n data-toggle="dropdown"\n href="#"><i class="glyph-cogwheel glyph-grey"></i>\n </a>\n <ul class="dropdown-menu">\n <li><a href="https://github.com/opinkerfi/adagios/issues">Report Bug</a></li>\n <li><a href="https://github.com/opinkerfi/adagios/issues">Make Suggestion</a></li>\n <li><a href="http://adagios.org/">Project Webpage</a></li>\n <li class="divider"></li>\n <li><a href="/objectbrowser/plugins">Missing Plugins</a></li>\n <li><a href="/objectbrowser/nagios.cfg">Edit nagios.cfg</a></li>\n <li><a href="/misc/service">Nagios Service</a></li>\n <li><a href="/misc/gitlog">Object History</a></li>\n <li><a href="/misc/settings">Settings</a></li>\n <li class="divider"></li>\n \n <!-- Any extra plugins can put an entry in the menubar -->\n \n\n </ul>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</div>\n\n<!-- snippets/header.html ends -->\n\n', | |
u'\n<!-- block top_navigation ends -->\n\n\n\n\n\n<!-- block page_content starts -->\n']</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: '<!DOCTYPE html> | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a0aed0>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61110>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61210>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61290>, | |
<Text Node: ' | |
<html lang="en"> | |
<head'>, | |
<Variable Node: settings.title_prefix>, | |
<Block Node: title. Contents: [<Text Node: 'block=title'>]>, | |
<Text Node: '</title> | |
<meta name="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a613d0>, | |
<Text Node: '" rel="stylesheet"> | |
'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0af90>, | |
<Text Node: '"></script> | |
<![endif]'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13090>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13110>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13190>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13250>, | |
<Text Node: '"> | |
<!-- Block header'>, | |
<Block Node: header. Contents: []>, | |
<Text Node: ' | |
<!-- Block header en'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61750>, | |
<Text Node: '"; | |
</script> | |
<scr'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61810>, | |
<Text Node: '"></script> | |
</head> | |
<bo'>, | |
<For Node: for ssi_header in ssi_headers, tail_len: 7>, | |
<Text Node: ' | |
<!-- end of serverside i'>, | |
<Block Node: top_navigation. Contents: [<Text Node: ' | |
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7ffbc5a61c10>, <Text Node: ' | |
'>]>, | |
<Text Node: ' | |
<!-- block top_navigatio'>, | |
<Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>, | |
<Text Node: ' | |
<!-- block page_content '>, | |
<Block Node: page_footer. Contents: [<Text Node: ' | |
<div id="page_footer'>, <Block Node: bottom_left. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
<'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a00b10>, <Text Node: '</button> | |
</div> | |
'>]>, | |
<Text Node: ' | |
<!-- Miscellaneous st'>, | |
<IfNode>, | |
<Text Node: ' | |
'>, | |
<IfNode>, | |
<Text Node: ' | |
<div id="nagios_is_r'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0a250>, | |
<Text Node: '"> '>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0a10>, | |
<Text Node: '</div> | |
</div> | |
<!-- This'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b10>, | |
<Text Node: 'rest/pynag.js"></script> | |
'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b50>, | |
<Text Node: 'rest/status.js"></script>'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b90>, | |
<Text Node: 'rest/adagios.js"></script'>, | |
<IfNode>, | |
<Text Node: ' | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0a690>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0d90>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0e10>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0e90>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0f10>, | |
<Text Node: '" type="text/javascript">'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0f90>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e8090>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e8110>, | |
<Text Node: '"></script> | |
<!-- bloc'>, | |
<Block Node: footer. Contents: [<Text Node: ' | |
'>]>, | |
<Text Node: ' | |
<!-- block footer ends -'>, | |
<For Node: for ssi_footer in ssi_footers, tail_len: 7>, | |
<Text Node: ' | |
<!-- end of serverside i'>]</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code> | |
<div class="context" id="c140719328602664"> | |
<ol style="display: none;" start="71" class="pre-context" id="pre140719328602664"><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre></pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> try:</pre></li></ol> | |
<ol start="78" class="context-line"><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> return node.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="79" class="post-context" id="post140719328602664"><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre> raise</pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre></pre></li><li onclick="toggle('pre140719328602664', 'post140719328602664')"><pre></pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602664')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602664"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: '<!DOCTYPE html> | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a0aed0>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61110>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61210>, | |
<Text Node: ' | |
'>, | |
<django.template.defaulttags.LoadNode object at 0x7ffbc5a61290>, | |
<Text Node: ' | |
<html lang="en"> | |
<head'>, | |
<Variable Node: settings.title_prefix>, | |
<Block Node: title. Contents: [<Text Node: 'block=title'>]>, | |
<Text Node: '</title> | |
<meta name="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a613d0>, | |
<Text Node: '" rel="stylesheet"> | |
'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0af90>, | |
<Text Node: '"></script> | |
<![endif]'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13090>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13110>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13190>, | |
<Text Node: '"> | |
<link rel="apple-t'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a13250>, | |
<Text Node: '"> | |
<!-- Block header'>, | |
<Block Node: header. Contents: []>, | |
<Text Node: ' | |
<!-- Block header en'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61750>, | |
<Text Node: '"; | |
</script> | |
<scr'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61810>, | |
<Text Node: '"></script> | |
</head> | |
<bo'>, | |
<For Node: for ssi_header in ssi_headers, tail_len: 7>, | |
<Text Node: ' | |
<!-- end of serverside i'>, | |
<Block Node: top_navigation. Contents: [<Text Node: ' | |
'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7ffbc5a61c10>, <Text Node: ' | |
'>]>, | |
<Text Node: ' | |
<!-- block top_navigatio'>, | |
<Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>, | |
<Text Node: ' | |
<!-- block page_content '>, | |
<Block Node: page_footer. Contents: [<Text Node: ' | |
<div id="page_footer'>, <Block Node: bottom_left. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
<'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a00b10>, <Text Node: '</button> | |
</div> | |
'>]>, | |
<Text Node: ' | |
<!-- Miscellaneous st'>, | |
<IfNode>, | |
<Text Node: ' | |
'>, | |
<IfNode>, | |
<Text Node: ' | |
<div id="nagios_is_r'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0a250>, | |
<Text Node: '"> '>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0a10>, | |
<Text Node: '</div> | |
</div> | |
<!-- This'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b10>, | |
<Text Node: 'rest/pynag.js"></script> | |
'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b50>, | |
<Text Node: 'rest/status.js"></script>'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0b90>, | |
<Text Node: 'rest/adagios.js"></script'>, | |
<IfNode>, | |
<Text Node: ' | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a0a690>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0d90>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0e10>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0e90>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0f10>, | |
<Text Node: '" type="text/javascript">'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e0f90>, | |
<Text Node: '"></script> | |
<script src="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e8090>, | |
<Text Node: '"></script> | |
<script src='>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59e8110>, | |
<Text Node: '"></script> | |
<!-- bloc'>, | |
<Block Node: footer. Contents: [<Text Node: ' | |
'>]>, | |
<Text Node: ' | |
<!-- block footer ends -'>, | |
<For Node: for ssi_footer in ssi_footers, tail_len: 7>, | |
<Text Node: ' | |
<!-- end of serverside i'>]</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code> | |
<div class="context" id="c140719328602736"> | |
<ol style="display: none;" start="55" class="pre-context" id="pre140719328602736"><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> push = block = block_context.pop(self.name)</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> if block is None:</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> block = self</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> # Create new block so we can store context without thread-safety issues.</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> block = BlockNode(block.name, block.nodelist)</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> block.context = context</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> context['block'] = block</pre></li></ol> | |
<ol start="62" class="context-line"><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> result = block.nodelist.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="63" class="post-context" id="post140719328602736"><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> if push is not None:</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> block_context.push(self.name, push)</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> context.pop()</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> return result</pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre></pre></li><li onclick="toggle('pre140719328602736', 'post140719328602736')"><pre> def super(self):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602736')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602736"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>push</td> | |
<td class="code"><pre><Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]></pre></td> | |
</tr> | |
<tr> | |
<td>block_context</td> | |
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7ffbc5d46b10></pre></td> | |
</tr> | |
<tr> | |
<td>block</td> | |
<td class="code"><pre><Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328602376"> | |
<ol style="display: none;" start="833" class="pre-context" id="pre140719328602376"><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre></pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> bits = []</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> for node in self:</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> if isinstance(node, Node):</pre></li></ol> | |
<ol start="840" class="context-line"><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="841" class="post-context" id="post140719328602376"><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> else:</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> bit = node</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre></pre></li><li onclick="toggle('pre140719328602376', 'post140719328602376')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602376')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602376"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]></pre></td> | |
</tr> | |
<tr> | |
<td>bit</td> | |
<td class="code"><pre>u'\n\n <!-- block left_sidebar starts -->\n '</pre></td> | |
</tr> | |
<tr> | |
<td>bits</td> | |
<td class="code"><pre>[u'\n\n <!-- block left_sidebar starts -->\n ']</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: ' | |
<!-- block left_sid'>, | |
<Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, | |
<Text Node: ' | |
<!-- block left_side'>, | |
<Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, | |
<Text Node: ' | |
<!-- block page_'>, | |
<Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, | |
<Text Node: ' | |
<!-- block toolb'>, | |
<Block Node: content. Contents: [<Text Node: 'block=content'>]>, | |
<Text Node: ' | |
<!-- block conte'>]</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code> | |
<div class="context" id="c140719328602520"> | |
<ol style="display: none;" start="71" class="pre-context" id="pre140719328602520"><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre></pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> try:</pre></li></ol> | |
<ol start="78" class="context-line"><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> return node.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="79" class="post-context" id="post140719328602520"><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre> raise</pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre></pre></li><li onclick="toggle('pre140719328602520', 'post140719328602520')"><pre></pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602520')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602520"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: ' | |
<!-- block left_sid'>, | |
<Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, | |
<Text Node: ' | |
<!-- block left_side'>, | |
<Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, | |
<Text Node: ' | |
<!-- block page_'>, | |
<Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, | |
<Text Node: ' | |
<!-- block toolb'>, | |
<Block Node: content. Contents: [<Text Node: 'block=content'>]>, | |
<Text Node: ' | |
<!-- block conte'>]</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py</code> in <code>render</code> | |
<div class="context" id="c140719328603168"> | |
<ol style="display: none;" start="55" class="pre-context" id="pre140719328603168"><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> push = block = block_context.pop(self.name)</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> if block is None:</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> block = self</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> # Create new block so we can store context without thread-safety issues.</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> block = BlockNode(block.name, block.nodelist)</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> block.context = context</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> context['block'] = block</pre></li></ol> | |
<ol start="62" class="context-line"><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> result = block.nodelist.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="63" class="post-context" id="post140719328603168"><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> if push is not None:</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> block_context.push(self.name, push)</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> context.pop()</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> return result</pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre></pre></li><li onclick="toggle('pre140719328603168', 'post140719328603168')"><pre> def super(self):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328603168')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328603168"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>push</td> | |
<td class="code"><pre><Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]></pre></td> | |
</tr> | |
<tr> | |
<td>block_context</td> | |
<td class="code"><pre><django.template.loader_tags.BlockContext object at 0x7ffbc5d46b10></pre></td> | |
</tr> | |
<tr> | |
<td>block</td> | |
<td class="code"><pre><Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]></pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/base.py</code> in <code>render</code> | |
<div class="context" id="c140719328603456"> | |
<ol style="display: none;" start="833" class="pre-context" id="pre140719328603456"><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> # extend_nodelist().</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> contains_nontext = False</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre></pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> def render(self, context):</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> bits = []</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> for node in self:</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> if isinstance(node, Node):</pre></li></ol> | |
<ol start="840" class="context-line"><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> bit = self.render_node(node, context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="841" class="post-context" id="post140719328603456"><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> else:</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> bit = node</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> bits.append(force_text(bit))</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> return mark_safe(''.join(bits))</pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre></pre></li><li onclick="toggle('pre140719328603456', 'post140719328603456')"><pre> def get_nodes_by_type(self, nodetype):</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328603456')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328603456"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0></pre></td> | |
</tr> | |
<tr> | |
<td>bit</td> | |
<td class="code"><pre>u'><a href="'</pre></td> | |
</tr> | |
<tr> | |
<td>bits</td> | |
<td class="code"><pre>[u'\n <div class="pull-left visible-desktop container-fluid well" id="left_sidebar">\n <ul class="nav nav-list">\n <li class="nav-header" style="color: black;">', | |
u'Shortcuts', | |
u'</li>\n <li', | |
u' class="active"', | |
u'><a href="', | |
u'/status', | |
u'">', | |
u'Status Overview', | |
u' </a></li>\n <li', | |
u'', | |
u'>\n <a ', | |
u'', | |
u' href="', | |
u'/status/problems', | |
u'?unhandled">', | |
u'Open Problems', | |
u' ', | |
u'<span class="pull-right">(3)</span>', | |
u'</a>\n </li>\n <li', | |
u'', | |
u'>\n <a href="', | |
u'/status/problems', | |
u'">', | |
u'All Problems', | |
u' ', | |
u'<span class="pull-right">(3)</span>', | |
u'</a>\n </li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/hosts', | |
u'">', | |
u'Hosts', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/services', | |
u'">', | |
u'Services', | |
u' </a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/contacts', | |
u'">', | |
u'Contacts', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/parents', | |
u'">', | |
u'Network Parents', | |
u' </a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/objectbrowser/', | |
u'">', | |
u'Configuration', | |
u'</a></li>\n \n <li class="nav-header" style="color: black;">', | |
u'Reports', | |
u'</li>\n \n <li', | |
u'', | |
u'><a href="', | |
u'/status/state_history', | |
u'">', | |
u'State History', | |
u' </a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/log', | |
u'">', | |
u'Log', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/comments', | |
u'">', | |
u'Comments', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/downtimes', | |
u'">', | |
u'Downtimes', | |
u'</a></li>\n \n <li class="nav-header" style="color: black;">', | |
u'Groups', | |
u'</li>\n \n <li', | |
u'', | |
u'><a href="', | |
u'/status/hostgroups', | |
u'">', | |
u'Hostgroups', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/servicegroups', | |
u'">', | |
u'Servicegroups', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/contactgroups', | |
u'">', | |
u'Contactgroups', | |
u'</a></li>\n \n <li class="nav-header" style="color: black;">', | |
u'Experimental', | |
u'</li>\n \n <li', | |
u'', | |
u'><a href="', | |
u'/status/map', | |
u'">', | |
u'Map', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/perfdata', | |
u'">', | |
u'Performance Data 1', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="', | |
u'/status/perfdata2', | |
u'">', | |
u'Performance Data 2', | |
u'</a></li>\n <li', | |
u'', | |
u'><a href="']</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: ' | |
<div class="pull-lef'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, | |
<Text Node: '</li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '> | |
<a '>, | |
<IfNode>, | |
<Text Node: ' href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, | |
<Text Node: '?unhandled">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, | |
<Text Node: ' '>, | |
<IfNode>, | |
<Text Node: '</a> | |
</li> | |
'>, | |
<IfNode>, | |
<Text Node: '> | |
<a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, | |
<Text Node: ' '>, | |
<IfNode>, | |
<Text Node: '</a> | |
</li> | |
'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, | |
<Text Node: '</a></li> | |
</ul> | |
'>]</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/debug.py</code> in <code>render_node</code> | |
<div class="context" id="c140719328603672"> | |
<ol style="display: none;" start="71" class="pre-context" id="pre140719328603672"><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> def compile_function_error(self, token, e):</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> e.django_template_source = token.source</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre></pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre>class DebugNodeList(NodeList):</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> def render_node(self, node, context):</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> try:</pre></li></ol> | |
<ol start="78" class="context-line"><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> return node.render(context)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="79" class="post-context" id="post140719328603672"><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> if not hasattr(e, 'django_template_source'):</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> e.django_template_source = node.source</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre> raise</pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre></pre></li><li onclick="toggle('pre140719328603672', 'post140719328603672')"><pre></pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328603672')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328603672"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>node</td> | |
<td class="code"><pre><django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0></pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre>[<Text Node: ' | |
<div class="pull-lef'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, | |
<Text Node: '</li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '> | |
<a '>, | |
<IfNode>, | |
<Text Node: ' href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, | |
<Text Node: '?unhandled">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, | |
<Text Node: ' '>, | |
<IfNode>, | |
<Text Node: '</a> | |
</li> | |
'>, | |
<IfNode>, | |
<Text Node: '> | |
<a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, | |
<Text Node: ' '>, | |
<IfNode>, | |
<Text Node: '</a> | |
</li> | |
'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, | |
<Text Node: ' </a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, | |
<Text Node: '</a></li> | |
'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, | |
<Text Node: '</li> | |
<l'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, | |
<Text Node: '</a></li> | |
<li'>, | |
<IfNode>, | |
<Text Node: '><a href="'>, | |
<django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, | |
<Text Node: '">'>, | |
<django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, | |
<Text Node: '</a></li> | |
</ul> | |
'>]</pre></td> | |
</tr> | |
<tr> | |
<td>e</td> | |
<td class="code"><pre>NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",)</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py</code> in <code>render</code> | |
<div class="context" id="c140719328602088"> | |
<ol style="display: none;" start="440" class="pre-context" id="pre140719328602088"><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> args=args, kwargs=kwargs,</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> current_app=context.current_app)</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> except NoReverseMatch:</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> if self.asvar is None:</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> # Re-raise the original exception, not the one with</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> # the path relative to the project. This makes a</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> # better error message.</pre></li></ol> | |
<ol start="447" class="context-line"><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> six.reraise(*exc_info)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="448" class="post-context" id="post140719328602088"><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> else:</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> if self.asvar is None:</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> raise</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre></pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> if self.asvar:</pre></li><li onclick="toggle('pre140719328602088', 'post140719328602088')"><pre> context[self.asvar] = url</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602088')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602088"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>project_name</td> | |
<td class="code"><pre>u'adagios'</pre></td> | |
</tr> | |
<tr> | |
<td>reverse</td> | |
<td class="code"><pre><function reverse at 0x7ffbc7348de8></pre></td> | |
</tr> | |
<tr> | |
<td>url</td> | |
<td class="code"><pre>u''</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0></pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>view_name</td> | |
<td class="code"><pre>u'bi.views.index'</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>exc_info</td> | |
<td class="code"><pre>(<class 'django.core.urlresolvers.NoReverseMatch'>, | |
NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), | |
<traceback object at 0x7ffbc5982d88>)</pre></td> | |
</tr> | |
<tr> | |
<td>NoReverseMatch</td> | |
<td class="code"><pre><class 'django.core.urlresolvers.NoReverseMatch'></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py</code> in <code>render</code> | |
<div class="context" id="c140719328603528"> | |
<ol style="display: none;" start="426" class="pre-context" id="pre140719328603528"><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre></pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> # Try to look up the URL twice: once given the view name, and again</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> # relative to what we guess is the "main" app. If they both fail,</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> # re-raise the NoReverseMatch unless we're using the</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> # {% url ... as var %} construct in which case return nothing.</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> url = ''</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> try:</pre></li></ol> | |
<ol start="433" class="context-line"><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="434" class="post-context" id="post140719328603528"><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> except NoReverseMatch:</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> exc_info = sys.exc_info()</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> if settings.SETTINGS_MODULE:</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> project_name = settings.SETTINGS_MODULE.split('.')[0]</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> try:</pre></li><li onclick="toggle('pre140719328603528', 'post140719328603528')"><pre> url = reverse(project_name + '.' + view_name,</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328603528')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328603528"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>project_name</td> | |
<td class="code"><pre>u'adagios'</pre></td> | |
</tr> | |
<tr> | |
<td>reverse</td> | |
<td class="code"><pre><function reverse at 0x7ffbc7348de8></pre></td> | |
</tr> | |
<tr> | |
<td>url</td> | |
<td class="code"><pre>u''</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0></pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>view_name</td> | |
<td class="code"><pre>u'bi.views.index'</pre></td> | |
</tr> | |
<tr> | |
<td>context</td> | |
<td class="code"><pre>[{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffbc5ae4850>}, {'nonworking_backends': [], 'nagios_running': True, 'num_problems': 3, 'results': {'num_unhandled_problems': 3, 'num_problems': 3}, 'num_host_problems_all': 0, 'current_timestamp': 1427132979, 'tagged_comments': '', 'plugins': {'status': 'adagios.status', 'bi': 'adagios.bi'}, 'current_time': 'Mar 23 13:49', 'remote_user': 'anonymous', 'menubar_items': [], 'backends': ['/var/lib/shinken/live'], 'adagios_version': '1.6.1', 'nagios_url': '/nagios', 'num_service_problems_all': 3, 'user_data': {'theme': 'default', 'language': 'en', 'refresh_rate': '30', 'theme_path': 'themes/default/style.css'}, 'num_problems_unhandled': 3, 'num_problems_all': 3, 'notifications': {}, 'urlname': u'adagios.status.views.status_index', 'local_user': 'root', 'misc_menubar_items': [], 'settings': <module 'adagios.settings' from '/usr/local/lib/python2.7/dist-packages/adagios/settings.pyc'>, 'nagios_cfg': '/etc/shinken/shinken.cfg', 'num_service_problems_unhandled': 3, 'num_host_problems_unhandled': 0}, {}, {u'LANGUAGES': (('en', 'English'), ('fr', 'French')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': u'en'}, {u'STATIC_URL': '/media/'}, {u'request': <WSGIRequest | |
path:/status, | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{'csrftoken': 'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'sessionid': 'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM', | |
'user': '!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='}, | |
META:{u'CSRF_COOKIE': u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', | |
'HTTP_ACCEPT_ENCODING': 'gzip, deflate', | |
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', | |
'HTTP_CONNECTION': 'keep-alive', | |
'HTTP_COOKIE': 'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS', | |
'HTTP_HOST': 'sh-arb.lxc:8000', | |
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', | |
'PATH_INFO': u'/status', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '10.0.3.1', | |
'REMOTE_PORT': '21478', | |
'REQUEST_METHOD': 'GET', | |
'REQUEST_URI': '/status', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'sh-arb', | |
'SERVER_PORT': '8000', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'UWSGI_ROUTER': 'http', | |
'uwsgi.node': 'sh-arb', | |
'uwsgi.version': '2.0.10', | |
'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810>, | |
'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, | |
'wsgi.input': <uwsgi._Input object at 0x7ffbc72d8a80>, | |
'wsgi.multiprocess': False, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>}, {'messages': []}, {'exception_type': 'NoReverseMatch', 'exception': "Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []", 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper\n result = view_func(request, *args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 663, in status_index\n return render_to_response(\'status_index.html\', c, context_instance=RequestContext(request))\n File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response\n return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string\n return t.render(context_instance)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render\n return self._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render\n return compiled_parent._render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render\n return self.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render\n result = block.nodelist.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render\n bit = self.render_node(node, context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node\n return node.render(context)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 447, in render\n six.reraise(*exc_info)\n File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 433, in render\n url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 509, in reverse\n return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))\n File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 429, in _reverse_with_prefix\n (lookup_view_s, args, kwargs, len(patterns), patterns))\nNoReverseMatch: Reverse for \'bi.views.index\' with arguments \'()\' and keyword arguments \'{}\' not found. 0 pattern(s) tried: []\n'}, {'block': <Block Node: page_content. Contents: [<Text Node: ' | |
<!-- block left_sid'>, <Block Node: left_sidebar. Contents: [<Text Node: ' | |
<div class="pull-lef'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc5a61d10>, <Text Node: '</li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a61f90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59bfd10>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '> | |
<a '>, <IfNode>, <Text Node: ' href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a310>, <Text Node: '?unhandled">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9210>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '> | |
<a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6a6d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9750>, <Text Node: ' '>, <IfNode>, <Text Node: '</a> | |
</li> | |
'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6aa90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9b90>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6acd0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59c9e50>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a6af10>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70190>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59b3410>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a703d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d26d0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2790>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a706d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2990>, <Text Node: ' </a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70910>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2bd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70b50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2dd0>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a70d90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d2fd0>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6090>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f80d0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6250>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8310>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6490>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8550>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6710>, <Text Node: '</a></li> | |
'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6810>, <Text Node: '</li> | |
<l'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8810>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6a50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8a50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6c50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8c90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59d6e50>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc59f8ed0>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0150>, <Text Node: '</a></li> | |
<li'>, <IfNode>, <Text Node: '><a href="'>, <django.template.defaulttags.URLNode object at 0x7ffbc5a00150>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7ffbc59e0450>, <Text Node: '</a></li> | |
</ul> | |
'>]>, <Text Node: ' | |
<!-- block left_side'>, <Block Node: page_header. Contents: [<Text Node: ' | |
<div class="'>, <Block Node: top_right. Contents: [<Text Node: ' | |
'>]>, <Text Node: ' | |
</div> | |
'>, <Block Node: smallheader. Contents: [<Text Node: 'block=smallheader'>]>, <Text Node: ' | |
'>, <Block Node: largeheader. Contents: [<Text Node: 'block=largeheader '>]>, <Text Node: ' | |
</h3> | |
'>]>, <Text Node: ' | |
<!-- block page_'>, <Block Node: toolbar. Contents: [<Text Node: 'block=toolbar'>]>, <Text Node: ' | |
<!-- block toolb'>, <Block Node: content. Contents: [<Text Node: 'block=content'>]>, <Text Node: ' | |
<!-- block conte'>]>}]</pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>exc_info</td> | |
<td class="code"><pre>(<class 'django.core.urlresolvers.NoReverseMatch'>, | |
NoReverseMatch(u"Reverse for 'bi.views.index' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), | |
<traceback object at 0x7ffbc5982d88>)</pre></td> | |
</tr> | |
<tr> | |
<td>NoReverseMatch</td> | |
<td class="code"><pre><class 'django.core.urlresolvers.NoReverseMatch'></pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py</code> in <code>reverse</code> | |
<div class="context" id="c140719328603600"> | |
<ol style="display: none;" start="502" class="pre-context" id="pre140719328603600"><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> (key, ':'.join(resolved_path)))</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> else:</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> raise NoReverseMatch("%s is not a registered namespace" %</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> key)</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> if ns_pattern:</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> resolver = get_ns_resolver(ns_pattern, resolver)</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre></pre></li></ol> | |
<ol start="509" class="context-line"><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="510" class="post-context" id="post140719328603600"><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre></pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre>reverse_lazy = lazy(reverse, str)</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre></pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre>def clear_url_caches():</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> global _resolver_cache</pre></li><li onclick="toggle('pre140719328603600', 'post140719328603600')"><pre> global _ns_resolver_cache</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328603600')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328603600"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>ns_pattern</td> | |
<td class="code"><pre>u''</pre></td> | |
</tr> | |
<tr> | |
<td>viewname</td> | |
<td class="code"><pre>u'bi.views.index'</pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>current_app</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>prefix</td> | |
<td class="code"><pre>u'/'</pre></td> | |
</tr> | |
<tr> | |
<td>parts</td> | |
<td class="code"><pre>[u'bi.views.index']</pre></td> | |
</tr> | |
<tr> | |
<td>resolver</td> | |
<td class="code"><pre><RegexURLResolver 'adagios.urls' (None:None) ^/></pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>path</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>view</td> | |
<td class="code"><pre>u'bi.views.index'</pre></td> | |
</tr> | |
<tr> | |
<td>urlconf</td> | |
<td class="code"><pre>'adagios.urls'</pre></td> | |
</tr> | |
<tr> | |
<td>resolved_path</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
<li class="frame django"> | |
<code>/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py</code> in <code>_reverse_with_prefix</code> | |
<div class="context" id="c140719328602160"> | |
<ol style="display: none;" start="422" class="pre-context" id="pre140719328602160"><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> lookup_view_s = "%s.%s" % (m, n)</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> else:</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> lookup_view_s = lookup_view</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre></pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> patterns = [pattern for (possibility, pattern, defaults) in possibilities]</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> "arguments '%s' not found. %d pattern(s) tried: %s" %</pre></li></ol> | |
<ol start="429" class="context-line"><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> (lookup_view_s, args, kwargs, len(patterns), patterns))</pre> <span>...</span></li></ol> | |
<ol style="display: none;" start="430" class="post-context" id="post140719328602160"><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre></pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre>class LocaleRegexURLResolver(RegexURLResolver):</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> """</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> A URL resolver that always matches the active language code as URL prefix.</pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre></pre></li><li onclick="toggle('pre140719328602160', 'post140719328602160')"><pre> Rather than taking a regex argument, we just override the ``regex``</pre></li></ol> | |
</div> | |
<div class="commands"> | |
<a href="#" onclick="return varToggle(this, '140719328602160')"><span>▶</span> Local vars</a> | |
</div> | |
<table style="display: none;" class="vars" id="v140719328602160"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>prefix_norm</td> | |
<td class="code"><pre>u'/'</pre></td> | |
</tr> | |
<tr> | |
<td>patterns</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>m</td> | |
<td class="code"><pre>'bi.views'</pre></td> | |
</tr> | |
<tr> | |
<td>self</td> | |
<td class="code"><pre><RegexURLResolver 'adagios.urls' (None:None) ^/></pre></td> | |
</tr> | |
<tr> | |
<td>args</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>_prefix</td> | |
<td class="code"><pre>u'/'</pre></td> | |
</tr> | |
<tr> | |
<td>lookup_view_s</td> | |
<td class="code"><pre>u'bi.views.index'</pre></td> | |
</tr> | |
<tr> | |
<td>text_args</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>n</td> | |
<td class="code"><pre>'index'</pre></td> | |
</tr> | |
<tr> | |
<td>possibilities</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>lookup_view</td> | |
<td class="code"><pre><function index at 0x7ffbc5b0a410></pre></td> | |
</tr> | |
<tr> | |
<td>text_kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>prefix_args</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>kwargs</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</li> | |
</ul> | |
</div> | |
<form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> | |
<div style="display: none;" id="pastebinTraceback" class="pastebin"> | |
<input name="language" value="PythonConsole" type="hidden"> | |
<input name="title" value="NoReverseMatch at /status" type="hidden"> | |
<input name="source" value="Django Dpaste Agent" type="hidden"> | |
<input name="poster" value="Django" type="hidden"> | |
<textarea name="content" id="traceback_area" cols="140" rows="25">Environment: | |
Request | |
Method: GET | |
Request URL: http://sh-arb.lxc:8000/status | |
Django Version: 1.6 | |
Python Version: 2.7.6 | |
Installed Applications: | |
['django.contrib.sessions', | |
'django.contrib.sites', | |
'adagios.objectbrowser', | |
'adagios.rest', | |
'adagios.misc', | |
'adagios.pnp', | |
'adagios.contrib', | |
'django_extensions', | |
'adagios.status', | |
'adagios.bi'] | |
Installed Middleware: | |
('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.locale.LocaleMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'adagios.auth.AuthorizationMiddleWare') | |
Template error: | |
In template | |
/usr/local/lib/python2.7/dist-packages/adagios/templates/base.html, | |
error at line 103 | |
Reverse for 'bi.views.index' with arguments '()' and keyword | |
arguments '{}' not found. 0 pattern(s) tried: [] | |
93 : | |
94 : <li{% if urlname == | |
'adagios.status.views.status_hostgroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.status_hostgroups" %}">{% | |
trans "Hostgroups" %}</a></li> | |
95 : <li{% if urlname == | |
'adagios.status.views.status_servicegroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.status_servicegroups" %}">{% | |
trans "Servicegroups" %}</a></li> | |
96 : <li{% if urlname == | |
'adagios.status.views.contactgroups' %} class="active"{% endif | |
%}><a href="{% url "status.views.contactgroups" %}">{% trans | |
"Contactgroups" %}</a></li> | |
97 : | |
98 : <li class="nav-header" style="color: black;">{% | |
trans "Experimental" %}</li> | |
99 : | |
100 : <li{% if urlname == 'adagios.status.views.map_view' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.map_view" %}">{% trans "Map" %}</a></li> | |
101 : <li{% if urlname == 'adagios.status.views.perfdata' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.perfdata" %}">{% trans "Performance Data 1" | |
%}</a></li> | |
102 : <li{% if urlname == 'adagios.status.views.perfdata2' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.perfdata2" %}">{% trans "Performance Data 2" | |
%}</a></li> | |
103 : <li{% if urlname == 'adagios.bi.views.index' %} | |
class="active"{% endif %}><a href=" {% url "bi.views.index" %} | |
">{% trans "Business Intelligence" %}</a></li> | |
104 : <li{% if urlname == 'adagios.status.views.dashboard' | |
%} class="active"{% endif %}><a href="{% url | |
"status.views.dashboard" %}">{% trans "Dashboard" | |
%}</a></li> | |
105 : </ul> | |
106 : </div> | |
107 : {% endblock left_sidebar %} | |
108 : <!-- block left_sidebar ends --> | |
109 : | |
110 : <div id="main_content"> | |
111 : | |
112 : <!-- page_header contains stuff breadcrumbs and | |
title of the current page --> | |
113 : {% block page_header %} | |
Traceback: | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in | |
get_response | |
114. response = wrapped_callback(request, | |
*callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/adagios/views.py" in | |
wrapper | |
53. return error_page(request, context=c) | |
File "/usr/local/lib/python2.7/dist-packages/adagios/views.py" in | |
error_page | |
69. response = render_to_response('status_error.html', | |
context, context_instance=RequestContext(request)) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py" in | |
render_to_response | |
29. return HttpResponse(loader.render_to_string(*args, **kwargs), | |
**httpresponse_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" | |
in render_to_string | |
169. return t.render(context_instance) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
140. return self._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
_render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" | |
in render_node | |
78. return node.render(context) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" | |
in render | |
123. return compiled_parent._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
_render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" | |
in render_node | |
78. return node.render(context) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" | |
in render | |
123. return compiled_parent._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
_render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" | |
in render_node | |
78. return node.render(context) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" | |
in render | |
62. result = block.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" | |
in render_node | |
78. return node.render(context) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" | |
in render | |
62. result = block.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in | |
render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" | |
in render_node | |
78. return node.render(context) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" | |
in render | |
447. six.reraise(*exc_info) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" | |
in render | |
433. url = reverse(view_name, args=args, kwargs=kwargs, | |
current_app=context.current_app) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in | |
reverse | |
509. return iri_to_uri(resolver._reverse_with_prefix(view, prefix, | |
*args, **kwargs)) | |
File | |
"/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in | |
_reverse_with_prefix | |
429. (lookup_view_s, args, kwargs, | |
len(patterns), patterns)) | |
Exception Type: NoReverseMatch at /status | |
Exception Value: Reverse for 'bi.views.index' with arguments '()' and | |
keyword arguments '{}' not found. 0 pattern(s) tried: [] | |
</textarea><img style="cursor: pointer ! important; display: none ! important; position: absolute ! important; padding: 0px ! important; margin: 0px ! important; border: medium none ! important; width: 28px ! important; height: 14px ! important; opacity: 0.0152174 ! important; left: 991px ! important; top: 74859px ! important;" title="It's All Text!" src="NoReverseMatch%20at%20_status_files/gumdrop.png"> | |
<br><br> | |
<input value="Share this traceback on a public Web site" type="submit"> | |
</div> | |
</form> | |
</div> | |
<div id="requestinfo"> | |
<h2>Request information</h2> | |
<h3 id="get-info">GET</h3> | |
<p>No GET data</p> | |
<h3 id="post-info">POST</h3> | |
<p>No POST data</p> | |
<h3 id="files-info">FILES</h3> | |
<p>No FILES data</p> | |
<h3 id="cookie-info">COOKIES</h3> | |
<table class="req"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>csrftoken</td> | |
<td class="code"><pre>'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS'</pre></td> | |
</tr> | |
<tr> | |
<td>sessionid</td> | |
<td class="code"><pre>'eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM'</pre></td> | |
</tr> | |
<tr> | |
<td>user</td> | |
<td class="code"><pre>'!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=='</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
<h3 id="meta-info">META</h3> | |
<table class="req"> | |
<thead> | |
<tr> | |
<th>Variable</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>wsgi.multiprocess</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_COOKIE</td> | |
<td class="code"><pre>'user="!p+cFkBVBD+Aos+TkkGvW1g==?gAJVBHVzZXJxAVUKUnlhbiBEYXZpc3EChnEDLg=="; sessionid="eyJkamFuZ29fbGFuZ3VhZ2UiOiJlbiJ9:1Ya69r:lA6Dp1hpfFdtUugx47fqZ3NaUTM"; csrftoken=SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS'</pre></td> | |
</tr> | |
<tr> | |
<td>SCRIPT_NAME</td> | |
<td class="code"><pre>u''</pre></td> | |
</tr> | |
<tr> | |
<td>REQUEST_METHOD</td> | |
<td class="code"><pre>'GET'</pre></td> | |
</tr> | |
<tr> | |
<td>UWSGI_ROUTER</td> | |
<td class="code"><pre>'http'</pre></td> | |
</tr> | |
<tr> | |
<td>SERVER_PROTOCOL</td> | |
<td class="code"><pre>'HTTP/1.1'</pre></td> | |
</tr> | |
<tr> | |
<td>QUERY_STRING</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_USER_AGENT</td> | |
<td class="code"><pre>'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0'</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_CONNECTION</td> | |
<td class="code"><pre>'keep-alive'</pre></td> | |
</tr> | |
<tr> | |
<td>SERVER_NAME</td> | |
<td class="code"><pre>'sh-arb'</pre></td> | |
</tr> | |
<tr> | |
<td>REMOTE_ADDR</td> | |
<td class="code"><pre>'10.0.3.1'</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.url_scheme</td> | |
<td class="code"><pre>'http'</pre></td> | |
</tr> | |
<tr> | |
<td>SERVER_PORT</td> | |
<td class="code"><pre>'8000'</pre></td> | |
</tr> | |
<tr> | |
<td>uwsgi.node</td> | |
<td class="code"><pre>'sh-arb'</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.input</td> | |
<td class="code"><pre><uwsgi._Input object at 0x7ffbc72d8a80></pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_HOST</td> | |
<td class="code"><pre>'sh-arb.lxc:8000'</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.multithread</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>REQUEST_URI</td> | |
<td class="code"><pre>'/status'</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_ACCEPT</td> | |
<td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.version</td> | |
<td class="code"><pre>(1, 0)</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.run_once</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.errors</td> | |
<td class="code"><pre><open file 'wsgi_errors', mode 'w' at 0x7ffbc6c88810></pre></td> | |
</tr> | |
<tr> | |
<td>REMOTE_PORT</td> | |
<td class="code"><pre>'21478'</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_ACCEPT_LANGUAGE</td> | |
<td class="code"><pre>'en-US,en;q=0.5'</pre></td> | |
</tr> | |
<tr> | |
<td>uwsgi.version</td> | |
<td class="code"><pre>'2.0.10'</pre></td> | |
</tr> | |
<tr> | |
<td>wsgi.file_wrapper</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE</td> | |
<td class="code"><pre>u'SxAg6uJWa0bG1vyvMfvtivymQMbJ2ZzS'</pre></td> | |
</tr> | |
<tr> | |
<td>HTTP_ACCEPT_ENCODING</td> | |
<td class="code"><pre>'gzip, deflate'</pre></td> | |
</tr> | |
<tr> | |
<td>PATH_INFO</td> | |
<td class="code"><pre>u'/status'</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
<h3 id="settings-info">Settings</h3> | |
<h4>Using settings module <code>adagios.settings</code></h4> | |
<table class="req"> | |
<thead> | |
<tr> | |
<th>Setting</th> | |
<th>Value</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>PROFILE_LOG_BASE</td> | |
<td class="code"><pre>'/var/lib/adagios'</pre></td> | |
</tr> | |
<tr> | |
<td>USE_L10N</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>USE_THOUSAND_SEPARATOR</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE_SECURE</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>LANGUAGE_CODE</td> | |
<td class="code"><pre>'en-us'</pre></td> | |
</tr> | |
<tr> | |
<td>ROOT_URLCONF</td> | |
<td class="code"><pre>'adagios.urls'</pre></td> | |
</tr> | |
<tr> | |
<td>MANAGERS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>GRAPHITE_PERIODS</td> | |
<td class="code"><pre>[('4 hours', 'hours', '-4h'), | |
('One day', 'day', '-1d'), | |
('One week', 'week', '-1w'), | |
('One month', 'month', '-1mon'), | |
('One year', 'year', '-1y')]</pre></td> | |
</tr> | |
<tr> | |
<td>TOPMENU_ITEMS</td> | |
<td class="code"><pre>[('Configure', | |
'objectbrowser', | |
'objectbrowser.views.list_object_types', | |
'glyph-edit'), | |
('Nagios', 'nagios', 'misc.views.nagios', 'glyph-list')]</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_CHARSET</td> | |
<td class="code"><pre>'utf-8'</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_SERIALIZER</td> | |
<td class="code"><pre>'django.contrib.sessions.serializers.JSONSerializer'</pre></td> | |
</tr> | |
<tr> | |
<td>STATIC_ROOT</td> | |
<td class="code"><pre>'/usr/local/lib/python2.7/dist-packages/adagios/media/'</pre></td> | |
</tr> | |
<tr> | |
<td>ALLOWED_HOSTS</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>MESSAGE_STORAGE</td> | |
<td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td> | |
</tr> | |
<tr> | |
<td>GRAPHITE_DEFAULT_TAB</td> | |
<td class="code"><pre>'day'</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_SUBJECT_PREFIX</td> | |
<td class="code"><pre>'[Django] '</pre></td> | |
</tr> | |
<tr> | |
<td>FILE_UPLOAD_PERMISSIONS</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>STATICFILES_FINDERS</td> | |
<td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder', | |
'django.contrib.staticfiles.finders.AppDirectoriesFinder')</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_CACHE_ALIAS</td> | |
<td class="code"><pre>'default'</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_DOMAIN</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_NAME</td> | |
<td class="code"><pre>'sessionid'</pre></td> | |
</tr> | |
<tr> | |
<td>ADMIN_FOR</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>TIME_INPUT_FORMATS</td> | |
<td class="code"><pre>('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')</pre></td> | |
</tr> | |
<tr> | |
<td>DATABASES</td> | |
<td class="code"><pre>{'default': {'ATOMIC_REQUESTS': False, | |
'AUTOCOMMIT': True, | |
'CONN_MAX_AGE': 0, | |
'ENGINE': 'django.db.backends.sqlite3', | |
'HOST': '', | |
'NAME': '/tmp/test', | |
'OPTIONS': {}, | |
'PASSWORD': u'********************', | |
'PORT': '', | |
'TEST_CHARSET': None, | |
'TEST_COLLATION': None, | |
'TEST_MIRROR': None, | |
'TEST_NAME': None, | |
'TIME_ZONE': 'UTC', | |
'USER': ''}}</pre></td> | |
</tr> | |
<tr> | |
<td>SERVER_EMAIL</td> | |
<td class="code"><pre>'root@localhost'</pre></td> | |
</tr> | |
<tr> | |
<td>FILE_UPLOAD_HANDLERS</td> | |
<td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler', | |
'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_CONTENT_TYPE</td> | |
<td class="code"><pre>'text/html'</pre></td> | |
</tr> | |
<tr> | |
<td>THEME_ENTRY_POINT</td> | |
<td class="code"><pre>'style.css'</pre></td> | |
</tr> | |
<tr> | |
<td>APPEND_SLASH</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>FIRST_DAY_OF_WEEK</td> | |
<td class="code"><pre>0</pre></td> | |
</tr> | |
<tr> | |
<td>DATABASE_ROUTERS</td> | |
<td class="code"><pre>[]</pre></td> | |
</tr> | |
<tr> | |
<td>YEAR_MONTH_FORMAT</td> | |
<td class="code"><pre>'F Y'</pre></td> | |
</tr> | |
<tr> | |
<td>STATICFILES_STORAGE</td> | |
<td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td> | |
</tr> | |
<tr> | |
<td>CACHES</td> | |
<td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}</pre></td> | |
</tr> | |
<tr> | |
<td>PREFS_DEFAULT</td> | |
<td class="code"><pre>{'language': 'en', 'refresh_rate': '30', 'theme': 'default'}</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_PATH</td> | |
<td class="code"><pre>'/'</pre></td> | |
</tr> | |
<tr> | |
<td>USE_X_FORWARDED_HOST</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>MIDDLEWARE_CLASSES</td> | |
<td class="code"><pre>('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.locale.LocaleMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'adagios.auth.AuthorizationMiddleWare')</pre></td> | |
</tr> | |
<tr> | |
<td>USE_I18N</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>THOUSAND_SEPARATOR</td> | |
<td class="code"><pre>','</pre></td> | |
</tr> | |
<tr> | |
<td>SECRET_KEY</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
<tr> | |
<td>LANGUAGE_COOKIE_NAME</td> | |
<td class="code"><pre>'django_language'</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_INDEX_TABLESPACE</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>TRANSACTIONS_MANAGED</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>LOGGING_CONFIG</td> | |
<td class="code"><pre>'django.utils.log.dictConfig'</pre></td> | |
</tr> | |
<tr> | |
<td>SEND_BROKEN_LINK_EMAILS</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>TEMPLATE_LOADERS</td> | |
<td class="code"><pre>('django.template.loaders.filesystem.Loader', | |
'django.template.loaders.app_directories.Loader')</pre></td> | |
</tr> | |
<tr> | |
<td>WSGI_APPLICATION</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>TEMPLATE_DEBUG</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>X_FRAME_OPTIONS</td> | |
<td class="code"><pre>'SAMEORIGIN'</pre></td> | |
</tr> | |
<tr> | |
<td>AUTHENTICATION_BACKENDS</td> | |
<td class="code"><pre>('django.contrib.auth.backends.ModelBackend',)</pre></td> | |
</tr> | |
<tr> | |
<td>FORCE_SCRIPT_NAME</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>TOPMENU_HOME</td> | |
<td class="code"><pre>'Adagios'</pre></td> | |
</tr> | |
<tr> | |
<td>SIGNING_BACKEND</td> | |
<td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_SECURE</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE_DOMAIN</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>FILE_CHARSET</td> | |
<td class="code"><pre>'utf-8'</pre></td> | |
</tr> | |
<tr> | |
<td>DEBUG</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_FILE_PATH</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_FILE_STORAGE</td> | |
<td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> | |
</tr> | |
<tr> | |
<td>INSTALLED_APPS</td> | |
<td class="code"><pre>['django.contrib.sessions', | |
'django.contrib.sites', | |
'adagios.objectbrowser', | |
'adagios.rest', | |
'adagios.misc', | |
'adagios.pnp', | |
'adagios.contrib', | |
'django_extensions', | |
'adagios.status', | |
'adagios.bi']</pre></td> | |
</tr> | |
<tr> | |
<td>LANGUAGES</td> | |
<td class="code"><pre>(('en', 'English'), ('fr', 'French'))</pre></td> | |
</tr> | |
<tr> | |
<td>COMMENTS_ALLOW_PROFANITIES</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>STATICFILES_DIRS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>PREPEND_WWW</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>SECURE_PROXY_SSL_HEADER</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_HTTPONLY</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>DEBUG_PROPAGATE_EXCEPTIONS</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>MONTH_DAY_FORMAT</td> | |
<td class="code"><pre>'F j'</pre></td> | |
</tr> | |
<tr> | |
<td>LOGIN_URL</td> | |
<td class="code"><pre>'/accounts/login/'</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>TIME_FORMAT</td> | |
<td class="code"><pre>'P'</pre></td> | |
</tr> | |
<tr> | |
<td>AUTH_USER_MODEL</td> | |
<td class="code"><pre>'auth.User'</pre></td> | |
</tr> | |
<tr> | |
<td>DATE_INPUT_FORMATS</td> | |
<td class="code"><pre>('%Y-%m-%d', | |
'%m/%d/%Y', | |
'%m/%d/%y', | |
'%b %d %Y', | |
'%b %d, %Y', | |
'%d %b %Y', | |
'%d %b, %Y', | |
'%B %d %Y', | |
'%B %d, %Y', | |
'%d %B %Y', | |
'%d %B, %Y')</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE_NAME</td> | |
<td class="code"><pre>'csrftoken'</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_HOST_PASSWORD</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
<tr> | |
<td>PASSWORD_RESET_TIMEOUT_DAYS</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
<tr> | |
<td>CACHE_MIDDLEWARE_ALIAS</td> | |
<td class="code"><pre>'default'</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_SAVE_EVERY_REQUEST</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>NUMBER_GROUPING</td> | |
<td class="code"><pre>0</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_ENGINE</td> | |
<td class="code"><pre>'django.contrib.sessions.backends.signed_cookies'</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_FAILURE_VIEW</td> | |
<td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE_PATH</td> | |
<td class="code"><pre>'/'</pre></td> | |
</tr> | |
<tr> | |
<td>LOGIN_REDIRECT_URL</td> | |
<td class="code"><pre>'/accounts/profile/'</pre></td> | |
</tr> | |
<tr> | |
<td>DECIMAL_SEPARATOR</td> | |
<td class="code"><pre>'.'</pre></td> | |
</tr> | |
<tr> | |
<td>IGNORABLE_404_URLS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>LOCALE_PATHS</td> | |
<td class="code"><pre>('/usr/local/lib/python2.7/dist-packages/adagios/locale/',)</pre></td> | |
</tr> | |
<tr> | |
<td>THEME_DEFAULT</td> | |
<td class="code"><pre>'default'</pre></td> | |
</tr> | |
<tr> | |
<td>TEMPLATE_STRING_IF_INVALID</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>LOGOUT_URL</td> | |
<td class="code"><pre>'/accounts/logout/'</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_USE_TLS</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>FIXTURE_DIRS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_HOST</td> | |
<td class="code"><pre>'localhost'</pre></td> | |
</tr> | |
<tr> | |
<td>DATE_FORMAT</td> | |
<td class="code"><pre>'N j, Y'</pre></td> | |
</tr> | |
<tr> | |
<td>MEDIA_ROOT</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> | |
<td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td> | |
</tr> | |
<tr> | |
<td>ADMINS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>FORMAT_MODULE_PATH</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_FROM_EMAIL</td> | |
<td class="code"><pre>'webmaster@localhost'</pre></td> | |
</tr> | |
<tr> | |
<td>USER_PREFS_PATH</td> | |
<td class="code"><pre>'/var/lib/adagios/userdata/'</pre></td> | |
</tr> | |
<tr> | |
<td>MEDIA_URL</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>DATETIME_FORMAT</td> | |
<td class="code"><pre>'N j, Y, P'</pre></td> | |
</tr> | |
<tr> | |
<td>TEMPLATE_DIRS</td> | |
<td class="code"><pre>('/usr/local/lib/python2.7/dist-packages/adagios/templates',)</pre></td> | |
</tr> | |
<tr> | |
<td>SITE_ID</td> | |
<td class="code"><pre>1</pre></td> | |
</tr> | |
<tr> | |
<td>DISALLOWED_USER_AGENTS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>ALLOWED_INCLUDE_ROOTS</td> | |
<td class="code"><pre>('/etc/adagios/ssi',)</pre></td> | |
</tr> | |
<tr> | |
<td>LOGGING</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>SHORT_DATE_FORMAT</td> | |
<td class="code"><pre>'m/d/Y'</pre></td> | |
</tr> | |
<tr> | |
<td>TEST_RUNNER</td> | |
<td class="code"><pre>'django.test.runner.DiscoverRunner'</pre></td> | |
</tr> | |
<tr> | |
<td>THEMES_FOLDER</td> | |
<td class="code"><pre>'themes'</pre></td> | |
</tr> | |
<tr> | |
<td>CACHE_MIDDLEWARE_KEY_PREFIX</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
<tr> | |
<td>TIME_ZONE</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> | |
<td class="code"><pre>2621440</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_BACKEND</td> | |
<td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td> | |
</tr> | |
<tr> | |
<td>DEFAULT_TABLESPACE</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>TEMPLATE_CONTEXT_PROCESSORS</td> | |
<td class="code"><pre>('adagios.context_processors.on_page_load', | |
'django.core.context_processors.debug', | |
'django.core.context_processors.i18n', | |
'django.core.context_processors.static', | |
'django.core.context_processors.request', | |
'django.contrib.messages.context_processors.messages')</pre></td> | |
</tr> | |
<tr> | |
<td>SESSION_COOKIE_AGE</td> | |
<td class="code"><pre>1209600</pre></td> | |
</tr> | |
<tr> | |
<td>SETTINGS_MODULE</td> | |
<td class="code"><pre>'adagios.settings'</pre></td> | |
</tr> | |
<tr> | |
<td>USE_ETAGS</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>LANGUAGES_BIDI</td> | |
<td class="code"><pre>('he', 'ar', 'fa', 'ur')</pre></td> | |
</tr> | |
<tr> | |
<td>FILE_UPLOAD_TEMP_DIR</td> | |
<td class="code"><pre>None</pre></td> | |
</tr> | |
<tr> | |
<td>INTERNAL_IPS</td> | |
<td class="code"><pre>()</pre></td> | |
</tr> | |
<tr> | |
<td>STATIC_URL</td> | |
<td class="code"><pre>'/media/'</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_PORT</td> | |
<td class="code"><pre>25</pre></td> | |
</tr> | |
<tr> | |
<td>USE_TZ</td> | |
<td class="code"><pre>True</pre></td> | |
</tr> | |
<tr> | |
<td>SHORT_DATETIME_FORMAT</td> | |
<td class="code"><pre>'m/d/Y P'</pre></td> | |
</tr> | |
<tr> | |
<td>PASSWORD_HASHERS</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
<tr> | |
<td>ABSOLUTE_URL_OVERRIDES</td> | |
<td class="code"><pre>{}</pre></td> | |
</tr> | |
<tr> | |
<td>CACHE_MIDDLEWARE_SECONDS</td> | |
<td class="code"><pre>600</pre></td> | |
</tr> | |
<tr> | |
<td>CSRF_COOKIE_HTTPONLY</td> | |
<td class="code"><pre>False</pre></td> | |
</tr> | |
<tr> | |
<td>DATETIME_INPUT_FORMATS</td> | |
<td class="code"><pre>('%Y-%m-%d %H:%M:%S', | |
'%Y-%m-%d %H:%M:%S.%f', | |
'%Y-%m-%d %H:%M', | |
'%Y-%m-%d', | |
'%m/%d/%Y %H:%M:%S', | |
'%m/%d/%Y %H:%M:%S.%f', | |
'%m/%d/%Y %H:%M', | |
'%m/%d/%Y', | |
'%m/%d/%y %H:%M:%S', | |
'%m/%d/%y %H:%M:%S.%f', | |
'%m/%d/%y %H:%M', | |
'%m/%d/%y')</pre></td> | |
</tr> | |
<tr> | |
<td>EMAIL_HOST_USER</td> | |
<td class="code"><pre>''</pre></td> | |
</tr> | |
<tr> | |
<td>PROFANITIES_LIST</td> | |
<td class="code"><pre>u'********************'</pre></td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
<div id="explanation"> | |
<p> | |
You're seeing this error because you have <code>DEBUG = True</code> in your | |
Django settings file. Change that to <code>False</code>, and Django will | |
display a standard 500 page. | |
</p> | |
</div> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment