为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误): jinja2.exceptions.TemplateNotFound: index1.html
REQUEST_DATE: 2024-01-13 16:52:44 VERSION: CentOS 7.8.2003 x86_64(Py3.7.9) - 8.0.5 REMOTE_ADDR: 192.168.0.9 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 443, in home return render_template('index1.html', data=data) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 146, in render_template template = app.jinja_env.get_or_select_template(template_name_or_list) File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 1081, in get_or_select_template return self.get_template(template_name_or_list, parent, globals) File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 1010, in get_template return self._load_template(name, globals) File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 969, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/loaders.py", line 125, in load source, filename, uptodate = self.get_source(environment, name) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 62, in get_source return self._get_source_fast(environment, template) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 98, in _get_source_fast raise TemplateNotFound(template)jinja2.exceptions.TemplateNotFound: index1.html- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
|
|