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 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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 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_IF_MODIFIED_SINCE': 'Fri, 18 Oct 2019 06:10:39 CEST', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', ...}, 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 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/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' |