<class 'jinja2.exceptions.TemplateNotFound'>
Python 2.7.3: /home/u43353/denol.biz/flask-boilerplate/env/bin/python
Sat Aug 24 16:30:14 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    556         """Runs the handler, flushes the streams, and ends the request."""
    557         try:
=>  558             protocolStatus, appStatus = self.server.handler(self)
    559         except:
    560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1116         try:
   1117             try:
=> 1118                 result = self.application(environ, start_response)
   1119                 try:
   1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <__main__.ScriptNameStripper object>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response = <function start_response>
 /home/u43353/denol.biz/cgi-bin/flask-wrapper.fcgi in __call__(self=<__main__.ScriptNameStripper object>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response=<function start_response>)
     23    def __call__(self, environ, start_response):
     24        environ['SCRIPT_NAME'] = ''
=>   25        return self.app(environ, start_response)
     26 
     27 app = ScriptNameStripper(app)
self = <__main__.ScriptNameStripper object>, self.app = <Flask 'app'>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response = <function start_response>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in __call__(self=<Flask 'app'>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response=<function start_response>)
   1834     def __call__(self, environ, start_response):
   1835         """Shortcut for :attr:`wsgi_app`."""
=> 1836         return self.wsgi_app(environ, start_response)
   1837 
   1838     def __repr__(self):
self = <Flask 'app'>, self.wsgi_app = <bound method Flask.wsgi_app of <Flask 'app'>>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response = <function start_response>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in wsgi_app(self=<Flask 'app'>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response=<function start_response>)
   1818             except Exception as e:
   1819                 error = e
=> 1820                 response = self.make_response(self.handle_exception(e))
   1821             return response(environ, start_response)
   1822         finally:
response undefined, self = <Flask 'app'>, self.make_response = <bound method Flask.make_response of <Flask 'app'>>, self.handle_exception = <bound method Flask.handle_exception of <Flask 'app'>>, e = TemplateNotFound()
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in handle_exception(self=<Flask 'app'>, e=TemplateNotFound())
   1401             # otherwise, we just raise the error again
   1402             if exc_value is e:
=> 1403                 reraise(exc_type, exc_value, tb)
   1404             else:
   1405                 raise e
global reraise = <function reraise>, exc_type = <class 'jinja2.exceptions.TemplateNotFound'>, exc_value = TemplateNotFound(), tb = <traceback object>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in wsgi_app(self=<Flask 'app'>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/u43353/denol.biz/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'denol.biz', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_X_ACCEL_INTERNAL': '/int/', ...}, start_response=<function start_response>)
   1815         try:
   1816             try:
=> 1817                 response = self.full_dispatch_request()
   1818             except Exception as e:
   1819                 error = e
response undefined, self = <Flask 'app'>, self.full_dispatch_request = <bound method Flask.full_dispatch_request of <Flask 'app'>>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in full_dispatch_request(self=<Flask 'app'>)
   1475                 rv = self.dispatch_request()
   1476         except Exception as e:
=> 1477             rv = self.handle_user_exception(e)
   1478         response = self.make_response(rv)
   1479         response = self.process_response(response)
rv = None, self = <Flask 'app'>, self.handle_user_exception = <bound method Flask.handle_user_exception of <Flask 'app'>>, e = TemplateNotFound()
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in handle_user_exception(self=<Flask 'app'>, e=TemplateNotFound())
   1379                 return handler(e)
   1380 
=> 1381         reraise(exc_type, exc_value, tb)
   1382 
   1383     def handle_exception(self, e):
global reraise = <function reraise>, exc_type = <class 'jinja2.exceptions.TemplateNotFound'>, exc_value = TemplateNotFound(), tb = <traceback object>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in full_dispatch_request(self=<Flask 'app'>)
   1473             rv = self.preprocess_request()
   1474             if rv is None:
=> 1475                 rv = self.dispatch_request()
   1476         except Exception as e:
   1477             rv = self.handle_user_exception(e)
rv = None, self = <Flask 'app'>, self.dispatch_request = <bound method Flask.dispatch_request of <Flask 'app'>>
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/app.py in dispatch_request(self=<Flask 'app'>)
   1459             return self.make_default_options_response()
   1460         # otherwise dispatch to the handler for that endpoint
=> 1461         return self.view_functions[rule.endpoint](**req.view_args)
   1462 
   1463     def full_dispatch_request(self):
self = <Flask 'app'>, self.view_functions = {'about': <function about>, 'contacts': <function contacts>, 'home': <function home>, 'production_page': <function production_page>, 'send_file': <function send_file>, 'send_pic': <function send_pic>, 'static': <bound method Flask.send_static_file of <Flask 'app'>>, 'ya_mail': <function ya_mail>, 'zcc': <function zcc>}, rule = <Rule '/production/<filename>' (HEAD, OPTIONS, GET) -> production_page>, rule.endpoint = 'production_page', req = <Request 'http://denol.biz/production/Kintek.html' [GET]>, req.view_args = {'filename': u'Kintek.html'}
 /home/u43353/denol.biz/flask-boilerplate/app.py in production_page(filename=u'Kintek.html')
     65 @app.route('/production/<filename>')
     66 def production_page(filename):
=>   67     return render_template(op.join('pages','prod',filename))
     68 
     69 
global render_template = <function render_template>, global op = <module 'posixpath' from '/home/u43353/denol.biz/flask-boilerplate/env/lib/python2.7/posixpath.pyc'>, op.join = <function join>, filename = u'Kintek.html'
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/templating.py in render_template(template_name_or_list=u'pages/prod/Kintek.html', **context={'g': <flask.g of 'app'>, 'request': <Request 'http://denol.biz/production/Kintek.html' [GET]>, 'session': <SecureCookieSession {}>})
    125     ctx = _app_ctx_stack.top
    126     ctx.app.update_template_context(context)
=>  127     return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
=>  128                    context, ctx.app)
    129 
global _render = <function _render>, ctx = <flask.ctx.AppContext object>, ctx.app = <Flask 'app'>, ctx.app.jinja_env = <flask.templating.Environment object>, ctx.app.jinja_env.get_or_select_template = <bound method Environment.get_or_select_template of <flask.templating.Environment object>>, template_name_or_list = u'pages/prod/Kintek.html', context = {'g': <flask.g of 'app'>, 'request': <Request 'http://denol.biz/production/Kintek.html' [GET]>, 'session': <SecureCookieSession {}>}
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/jinja2/environment.py in get_or_select_template(self=<flask.templating.Environment object>, template_name_or_list=u'pages/prod/Kintek.html', parent=None, globals=None)
    828         """
    829         if isinstance(template_name_or_list, string_types):
=>  830             return self.get_template(template_name_or_list, parent, globals)
    831         elif isinstance(template_name_or_list, Template):
    832             return template_name_or_list
self = <flask.templating.Environment object>, self.get_template = <bound method Environment.get_template of <flask.templating.Environment object>>, template_name_or_list = u'pages/prod/Kintek.html', parent = None, globals = None
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/jinja2/environment.py in get_template(self=<flask.templating.Environment object>, name=u'pages/prod/Kintek.html', parent=None, globals=None)
    789         if parent is not None:
    790             name = self.join_path(name, parent)
=>  791         return self._load_template(name, self.make_globals(globals))
    792 
    793     @internalcode
self = <flask.templating.Environment object>, self._load_template = <bound method Environment._load_template of <flask.templating.Environment object>>, name = u'pages/prod/Kintek.html', self.make_globals = <bound method Environment.make_globals of <flask.templating.Environment object>>, globals = None
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/jinja2/environment.py in _load_template(self=<flask.templating.Environment object>, name=u'pages/prod/Kintek.html', globals={'config': <Config {'JSON_AS_ASCII': True, 'USE_X_SENDFILE'...E_SECURE': False, 'TRAP_HTTP_EXCEPTIONS': False}>, 'cycler': <class 'jinja2.utils.Cycler'>, 'dict': <function <lambda>>, 'g': <flask.g of 'app'>, 'get_flashed_messages': <function get_flashed_messages>, 'joiner': <class 'jinja2.utils.Joiner'>, 'lipsum': <function generate_lorem_ipsum>, 'range': <type 'xrange'>, 'request': <Request 'http://denol.biz/production/Kintek.html' [GET]>, 'session': <SecureCookieSession {}>, ...})
    763                                          template.is_up_to_date):
    764                 return template
=>  765         template = self.loader.load(self, name, globals)
    766         if self.cache is not None:
    767             self.cache[name] = template
template = None, self = <flask.templating.Environment object>, self.loader = <flask.templating.DispatchingJinjaLoader object>, self.loader.load = <bound method DispatchingJinjaLoader.load of <flask.templating.DispatchingJinjaLoader object>>, name = u'pages/prod/Kintek.html', globals = {'config': <Config {'JSON_AS_ASCII': True, 'USE_X_SENDFILE'...E_SECURE': False, 'TRAP_HTTP_EXCEPTIONS': False}>, 'cycler': <class 'jinja2.utils.Cycler'>, 'dict': <function <lambda>>, 'g': <flask.g of 'app'>, 'get_flashed_messages': <function get_flashed_messages>, 'joiner': <class 'jinja2.utils.Joiner'>, 'lipsum': <function generate_lorem_ipsum>, 'range': <type 'xrange'>, 'request': <Request 'http://denol.biz/production/Kintek.html' [GET]>, 'session': <SecureCookieSession {}>, ...}
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/jinja2/loaders.py in load(self=<flask.templating.DispatchingJinjaLoader object>, environment=<flask.templating.Environment object>, name=u'pages/prod/Kintek.html', globals={'config': <Config {'JSON_AS_ASCII': True, 'USE_X_SENDFILE'...E_SECURE': False, 'TRAP_HTTP_EXCEPTIONS': False}>, 'cycler': <class 'jinja2.utils.Cycler'>, 'dict': <function <lambda>>, 'g': <flask.g of 'app'>, 'get_flashed_messages': <function get_flashed_messages>, 'joiner': <class 'jinja2.utils.Joiner'>, 'lipsum': <function generate_lorem_ipsum>, 'range': <type 'xrange'>, 'request': <Request 'http://denol.biz/production/Kintek.html' [GET]>, 'session': <SecureCookieSession {}>, ...})
    111         # first we try to get the source for this template together
    112         # with the filename and the uptodate function.
=>  113         source, filename, uptodate = self.get_source(environment, name)
    114 
    115         # try to load the code from the bytecode cache if there is a
source undefined, filename undefined, uptodate undefined, self = <flask.templating.DispatchingJinjaLoader object>, self.get_source = <bound method DispatchingJinjaLoader.get_source of <flask.templating.DispatchingJinjaLoader object>>, environment = <flask.templating.Environment object>, name = u'pages/prod/Kintek.html'
 /home/u43353/denol.biz/flask-boilerplate/env/local/lib/python2.7/site-packages/flask/templating.py in get_source(self=<flask.templating.DispatchingJinjaLoader object>, environment=<flask.templating.Environment object>, template=u'pages/prod/Kintek.html')
     62                 pass
     63 
=>   64         raise TemplateNotFound(template)
     65 
     66     def _iter_loaders(self, template):
global TemplateNotFound = <class 'jinja2.exceptions.TemplateNotFound'>, template = u'pages/prod/Kintek.html'

<class 'jinja2.exceptions.TemplateNotFound'>: pages/prod/Kintek.html
      args = ()
      errno = None
      filename = None
      message = u'pages/prod/Kintek.html'
      name = u'pages/prod/Kintek.html'
      strerror = None
      templates = [u'pages/prod/Kintek.html']