microhuang opened a new issue #18002:
URL: https://github.com/apache/airflow/issues/18002
### Apache Airflow version
2.1.3 (latest released)
### Operating System
CentOS 8
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
An error occurred while navigating this url --
/log?dag_id=demo2&task_id=ddd&execution_date=2021-09-03T06%3A00%3A00%2B00%3A00
Something bad has happened.
Airflow is used by many users, and it is very likely that others had similar
problems and you can easily find
a solution to your problem.
Consider following these steps:
* gather the relevant information (detailed logs with errors, reproduction
steps, details of your deployment)
* find similar issues using:
* GitHub Discussions
* GitHub Issues
* Stack Overflow
* the usual search engine you use on a daily basis
* if you run Airflow on a Managed Service, consider opening an issue using
the service support channels
* if you tried and have difficulty with diagnosing and fixing the problem
yourself, consider creating a bug report.
Make sure however, to include all relevant details and results of your
investigation so far.
Python version: 3.9.5
Airflow version: 2.1.3
Node: localhost.localdomain
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2447, in
wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1952, in
full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1821, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.9/site-packages/flask/_compat.py", line 39,
in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1950, in
full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1936, in
dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/work/airflow.git/airflow/www/auth.py", line 49, in decorated
return func(*args, **kwargs)
File "/opt/work/airflow.git/airflow/www/decorators.py", line 71, in wrapper
return f(*args, **kwargs)
File "/opt/work/airflow.git/airflow/utils/session.py", line 70, in wrapper
return func(*args, session=session, **kwargs)
File "/opt/work/airflow.git/airflow/www/views.py", line 1282, in log
return self.render_template(
File "/opt/work/airflow.git/airflow/www/views.py", line 471, in
render_template
return super().render_template(
File
"/usr/local/lib/python3.9/site-packages/flask_appbuilder/baseviews.py", line
287, in render_template
return render_template(
File "/usr/local/lib/python3.9/site-packages/flask/templating.py", line
138, in render_template
ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line
930, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line
883, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line
857, in _load_template
template = self.loader.load(self, name, globals)
File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 115,
in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.9/site-packages/flask/templating.py", line
60, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib/python3.9/site-packages/flask/templating.py", line
86, in _get_source_fast
return loader.get_source(environment, template)
File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 417,
in get_source
return loader.get_source(environment, template)
File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 417,
in get_source
return loader.get_source(environment, template)
File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 417,
in get_source
return loader.get_source(environment, template)
[Previous line repeated 958 more times]
File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 180,
in get_source
f = open_if_exists(filename)
File "/usr/local/lib/python3.9/site-packages/jinja2/utils.py", line 141,
in open_if_exists
if not os.path.isfile(filename):
File "/usr/local/lib/python3.9/genericpath.py", line 30, in isfile
st = os.stat(path)
RecursionError: maximum recursion depth exceeded while calling a Python
object
### What you expected to happen
_No response_
### How to reproduce
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]