<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>RuntimeError at /tika</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; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } 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 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #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; } .append-bottom { margin-bottom: 10px; } </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.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>RuntimeError at /tika</h1> <pre class="exception_value">Unable to start Tika server.</pre> <table class="meta"> <tr> <th>Request Method:</th> <td>GET</td> </tr> <tr> <th>Request URL:</th> <td>http://t12.ourdigitalworld.org/tika?fp=//BEAVER/DDrive/WYEFileBackups/E/InetPub/VirtualServers/OurOntario/Partners/CTPL/upload/burst/001.pdf</td> </tr> <tr> <th>Django Version:</th> <td>1.11</td> </tr> <tr> <th>Exception Type:</th> <td>RuntimeError</td> </tr> <tr> <th>Exception Value:</th> <td><pre>Unable to start Tika server.</pre></td> </tr> <tr> <th>Exception Location:</th> <td>d:\python36\lib\site-packages\tika\tika.py in checkTikaServer, line 580</td> </tr> <tr> <th>Python Executable:</th> <td>D:\Apache24\bin\httpd.exe</td> </tr> <tr> <th>Python Version:</th> <td>3.6.4</td> </tr> <tr> <th>Python Path:</th> <td><pre>[ , , , , , , ]</pre></td> </tr> <tr> <th>Server time:</th> <td>Wed, 2 Oct 2019 14:17:19 -0400</td> </tr> </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>d:\python36\lib\site-packages\django\core\handlers\exception.py</code> in <code>inner</code> <div class="context" id="c936521979144"> <ol start="34" class="pre-context" id="pre936521979144"> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> """</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> try:</pre></li> </ol> <ol start="41" class="context-line"> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='42' class="post-context" id="post936521979144"> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> return response</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre> return inner</pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre></pre></li> <li onclick="toggle('pre936521979144', 'post936521979144')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521979144')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521979144"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>RuntimeError( ,)</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre><bound method BaseHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000000DA091D7748>></pre></td> </tr> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>d:\python36\lib\site-packages\django\core\handlers\base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c936521980744"> <ol start="242" class="pre-context" id="pre936521980744"> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> if response:</pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> break</pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre></pre></li> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post936521980744"> <li onclick="toggle('pre936521980744', 'post936521980744')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521980744')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521980744"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre><bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x000000DA0A3BA860>></pre></td> </tr> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x000000DA091D7748></pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>d:\python36\lib\site-packages\django\core\handlers\base.py</code> in <code>_get_response</code> <div class="context" id="c936521979976"> <ol start="180" class="pre-context" id="pre936521979976"> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> break</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre></pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> if response is None:</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> try:</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> except Exception as e:</pre></li> </ol> <ol start="187" class="context-line"> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> response = self.process_exception_by_middleware(e, request)</pre> <span>...</span></li></ol> <ol start='188' class="post-context" id="post936521979976"> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre></pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> # Complain if the view returned None (a common error).</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> if response is None:</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> if isinstance(callback, types.FunctionType): # FBV</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> view_name = callback.__name__</pre></li> <li onclick="toggle('pre936521979976', 'post936521979976')"><pre> else: # CBV</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521979976')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521979976"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre><function tika at 0x000000DA0ABAF268></pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre><bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x000000DA0A392DD8>></pre></td> </tr> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre><RegexURLResolver </pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=Portal.views.tika, args=(), kwargs={}, url_name=tika, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x000000DA091D7748></pre></td> </tr> <tr> <td>wrapped_callback</td> <td class="code"><pre><function tika at 0x000000DA0ABAF268></pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>d:\python36\lib\site-packages\django\core\handlers\base.py</code> in <code>_get_response</code> <div class="context" id="c936521981704"> <ol start="178" class="pre-context" id="pre936521981704"> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> if response:</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> break</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre></pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> if response is None:</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> try:</pre></li> </ol> <ol start="185" class="context-line"> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol> <ol start='186' class="post-context" id="post936521981704"> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> response = self.process_exception_by_middleware(e, request)</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre></pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> # Complain if the view returned None (a common error).</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> if response is None:</pre></li> <li onclick="toggle('pre936521981704', 'post936521981704')"><pre> if isinstance(callback, types.FunctionType): # FBV</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521981704')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521981704"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre><function tika at 0x000000DA0ABAF268></pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre><bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x000000DA0A392DD8>></pre></td> </tr> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre><RegexURLResolver </pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=Portal.views.tika, args=(), kwargs={}, url_name=tika, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x000000DA091D7748></pre></td> </tr> <tr> <td>wrapped_callback</td> <td class="code"><pre><function tika at 0x000000DA0ABAF268></pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>D:\django\VitaWebservices600\Portal\views.py</code> in <code>tika</code> <div class="context" id="c936521980808"> <ol start="444" class="pre-context" id="pre936521980808"> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre></pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre>def convert(request):</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> result_values = convert_pillow(request)</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> return HttpResponse(result_values, content_type= )</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre></pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre></pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre>def tika(request):</pre></li> </ol> <ol start="451" class="context-line"> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> result_values = get_tika(request)</pre> <span>...</span></li></ol> <ol start='452' class="post-context" id="post936521980808"> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> return HttpResponse(result_values, content_type= )</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre></pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre></pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre>def sanitize(request):</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> result_values = sanitize(request)</pre></li> <li onclick="toggle('pre936521980808', 'post936521980808')"><pre> return HttpResponse(result_values, content_type= )</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521980808')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521980808"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>D:\django\VitaWebservices600\ODWPortal\utilities.py</code> in <code>get_tika</code> <div class="context" id="c936521979784"> <ol start="852" class="pre-context" id="pre936521979784"> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre>def get_vita_site_id(request):</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> vsid = request.GET.get( )</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> return vsid</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre></pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre></pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre>def get_tika(request):</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> filepath = request.GET.get( )</pre></li> </ol> <ol start="859" class="context-line"> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> parsed = parser.from_file(filepath)</pre> <span>...</span></li></ol> <ol start='860' class="post-context" id="post936521979784"> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> # log_request( ])</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> result = parsed["content"]</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> if result:</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> result = result.strip()</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre> return result</pre></li> <li onclick="toggle('pre936521979784', 'post936521979784')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521979784')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521979784"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>filepath</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>request</td> <td class="code"><pre><WSGIRequest: GET </pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>d:\python36\lib\site-packages\tika\parser.py</code> in <code>from_file</code> <div class="context" id="c936521980872"> <ol start="29" class="pre-context" id="pre936521980872"> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> Default is , which results in text content.</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> :param headers: Request headers to be sent to the tika reset server, should</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> be a dictionary. This is optional</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> :return: dictionary having keys.</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> has a str value and metadata has a dict type value.</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> </pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> if not xmlContent:</pre></li> </ol> <ol start="36" class="context-line"> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> jsonOutput = parse1( , filename, serverEndpoint, headers=headers, config_path=config_path)</pre> <span>...</span></li></ol> <ol start='37' class="post-context" id="post936521980872"> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> else:</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> jsonOutput = parse1( },</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> headers=headers, config_path=config_path)</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre> return _parse(jsonOutput)</pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre></pre></li> <li onclick="toggle('pre936521980872', 'post936521980872')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936521980872')"><span> </span> Local vars</a> </div> <table class="vars" id="v936521980872"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>config_path</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>filename</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>headers</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>serverEndpoint</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>xmlContent</td> <td class="code"><pre>False</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>d:\python36\lib\site-packages\tika\tika.py</code> in <code>parse1</code> <div class="context" id="c936520157448"> <ol start="321" class="pre-context" id="pre936520157448"> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> headers.update({ : make_content_disposition_header(path)})</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre></pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> if option not in services:</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> log.warning( )</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> service = services.get(option, services[ ])</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> if service == </pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> status, response = callServer( ),</pre></li> </ol> <ol start="328" class="context-line"> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> headers, verbose, tikaServerJar, config_path=config_path, rawResponse=rawResponse)</pre> <span>...</span></li></ol> <ol start='329' class="post-context" id="post936520157448"> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre></pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> if file_type == : os.unlink(path)</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> return (status, response)</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre></pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre>def detectLang(option, urlOrPaths, serverEndpoint=ServerEndpoint, verbose=Verbose, tikaServerJar=TikaServerJar,</pre></li> <li onclick="toggle('pre936520157448', 'post936520157448')"><pre> responseMimeType= ,</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936520157448')"><span> </span> Local vars</a> </div> <table class="vars" id="v936520157448"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>config_path</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>file_type</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>headers</td> <td class="code"><pre>{ , }</pre></td> </tr> <tr> <td>option</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>path</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>rawResponse</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>responseMimeType</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>serverEndpoint</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>service</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>services</td> <td class="code"><pre>{ }</pre></td> </tr> <tr> <td>tikaServerJar</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>urlOrPath</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>verbose</td> <td class="code"><pre>0</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>d:\python36\lib\site-packages\tika\tika.py</code> in <code>callServer</code> <div class="context" id="c936523494664"> <ol start="515" class="pre-context" id="pre936523494664"> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre></pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> port = parsedUrl.port</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> if classpath is None:</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> classpath = TikaServerClasspath</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> </pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> global TikaClientOnly</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> if not TikaClientOnly:</pre></li> </ol> <ol start="522" class="context-line"> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> serverEndpoint = checkTikaServer(scheme, serverHost, port, tikaServerJar, classpath, config_path)</pre> <span>...</span></li></ol> <ol start='523' class="post-context" id="post936523494664"> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre></pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> serviceUrl = serverEndpoint + service</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> if verb not in httpVerbs:</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> log.exception( % binary_string(httpVerbs.keys()))</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> raise TikaException( % binary_string(httpVerbs.keys()))</pre></li> <li onclick="toggle('pre936523494664', 'post936523494664')"><pre> verbFn = httpVerbs[verb]</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936523494664')"><span> </span> Local vars</a> </div> <table class="vars" id="v936523494664"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>classpath</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>config_path</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>data</td> <td class="code"><pre><_io.BufferedReader name= </pre></td> </tr> <tr> <td>headers</td> <td class="code"><pre>{ , }</pre></td> </tr> <tr> <td>httpVerbs</td> <td class="code"><pre>{ , , }</pre></td> </tr> <tr> <td>parsedUrl</td> <td class="code"><pre>ParseResult(scheme= )</pre></td> </tr> <tr> <td>port</td> <td class="code"><pre>9998</pre></td> </tr> <tr> <td>rawResponse</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>scheme</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>serverEndpoint</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>serverHost</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>service</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>tikaServerJar</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>verb</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>verbose</td> <td class="code"><pre>0</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>d:\python36\lib\site-packages\tika\tika.py</code> in <code>checkTikaServer</code> <div class="context" id="c936518195592"> <ol start="573" class="pre-context" id="pre936518195592"> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> if not checkJarSig(tikaServerJar, jarPath):</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> os.remove(jarPath)</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> tikaServerJar = getRemoteJar(tikaServerJar, jarPath)</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre></pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> status = startServer(jarPath, TikaJava, serverHost, port, classpath, config_path)</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> if not status:</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> log.error("Failed to receive startup confirmation from startServer.")</pre></li> </ol> <ol start="580" class="context-line"> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> raise RuntimeError("Unable to start Tika server.")</pre> <span>...</span></li></ol> <ol start='581' class="post-context" id="post936518195592"> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> return serverEndpoint</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre></pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre>def checkJarSig(tikaServerJar, jarPath):</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> </pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> Checks the signature of Jar</pre></li> <li onclick="toggle('pre936518195592', 'post936518195592')"><pre> :param tikaServerJar:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '936518195592')"><span> </span> Local vars</a> </div> <table class="vars" id="v936518195592"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>alreadyRunning</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>classpath</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>config_path</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>jarPath</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>port</td> <td class="code"><pre>9998</pre></td> </tr> <tr> <td>scheme</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>serverEndpoint</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>serverHost</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>status</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>tikaServerJar</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>urlp</td> <td class="code"><pre>ParseResult(scheme= )</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="RuntimeError at /tika"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> Environment: Request Method: GET Request URL: http://t12.ourdigitalworld.org/tika?fp=//BEAVER/DDrive/WYEFileBackups/E/InetPub/VirtualServers/OurOntario/Partners/CTPL/upload/burst/001.pdf Django Version: 1.11 Python Version: 3.6.4 Installed Applications: ( , , , , , , ) Installed Middleware: ( , , , , , ) Traceback: File "d:\python36\lib\site-packages\django\core\handlers\exception.py" in inner 41. response = get_response(request) File "d:\python36\lib\site-packages\django\core\handlers\base.py" in _legacy_get_response 249. response = self._get_response(request) File "d:\python36\lib\site-packages\django\core\handlers\base.py" in _get_response 187. response = self.process_exception_by_middleware(e, request) File "d:\python36\lib\site-packages\django\core\handlers\base.py" in _get_response 185. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "D:\django\VitaWebservices600\Portal\views.py" in tika 451. result_values = get_tika(request) File "D:\django\VitaWebservices600\ODWPortal\utilities.py" in get_tika 859. parsed = parser.from_file(filepath) File "d:\python36\lib\site-packages\tika\parser.py" in from_file 36. jsonOutput = parse1( , filename, serverEndpoint, headers=headers, config_path=config_path) File "d:\python36\lib\site-packages\tika\tika.py" in parse1 328. headers, verbose, tikaServerJar, config_path=config_path, rawResponse=rawResponse) File "d:\python36\lib\site-packages\tika\tika.py" in callServer 522. serverEndpoint = checkTikaServer(scheme, serverHost, port, tikaServerJar, classpath, config_path) File "d:\python36\lib\site-packages\tika\tika.py" in checkTikaServer 580. raise RuntimeError("Unable to start Tika server.") Exception Type: RuntimeError at /tika Exception Value: Unable to start Tika server. </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="user-info">USER</h3> <p>AnonymousUser</p> <h3 id="get-info">GET</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>fp</td> <td class="code"><pre> </pre></td> </tr> </tbody> </table> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> </tbody> </table> <h3 id="files-info">FILES</h3> <p>No FILES data</p> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>COMSPEC</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>HTTP_ACCEPT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>PATHEXT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SystemRoot</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>WINDIR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>apache.version</td> <td class="code"><pre>(2, 4, 33)</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.ignore_activity</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.path_info</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.request_id</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.request_start</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.script_name</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.script_start</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>mod_wsgi.thread_id</td> <td class="code"><pre>1</pre></td> </tr> <tr> <td>mod_wsgi.thread_requests</td> <td class="code"><pre>1793</pre></td> </tr> <tr> <td>mod_wsgi.total_requests</td> <td class="code"><pre>18752</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(4, 6, 4)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre><_io.TextIOWrapper name= </pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre><mod_wsgi.Input object at 0x000000DA0CE39C70></pre></td> </tr> <tr> <td>wsgi.input_terminated</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>Portal.settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[ ]</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[ ]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>BASE_DIR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{ }}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</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_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>CSRF_USE_SESSIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{ : False, : True, : 0, , , , : {}, , , : None, : None, : None, : None}, : None, }}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[ , , , , , , , , , , , ]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[ , , , , , , , , , , ]</pre></td> </tr> <tr> <td>DEBUG</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>DECIMAL_SEPARATOR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DJANGO_LOG_LEVEL</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_LOCALTIME</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[ , ]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>( ,)</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORM_RENDERER</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>GEO_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>GRAPHICS_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>( , , , , , , )</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( ), ( )]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[ ]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{ : False, , , }}, ], , : True}}, : 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>( , , , , , )</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_PRELOAD</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</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>SESSION_COOKIE_NAME</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SITE_ID</td> <td class="code"><pre>1</pre></td> </tr> <tr> <td>SNIPPET_URL_MHGL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SNIPPET_URL_OOI</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SNIPPET_URL_OOT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SNIPPET_URL_OOTP</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SOLR_DM_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SOLR_OCR_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SOLR_OCR_URL_2</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SOLR_PARTS_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>SOLR_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>( ,)</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[ , ]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{ : True, , ], , , , , , , ]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[ ]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</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>USE_TZ</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>XSL_PATH</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre> </pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre> </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 page generated by the handler for this status code. </p> </div> </body> </html>