dromcre opened a new issue #12651:
URL: https://github.com/apache/airflow/issues/12651


   **Apache Airflow version**:
   
   Airflow version: 2.0.0b3
   
   
   **What happened**:
   
   Something bad has happened.
   Please consider letting us know by creating a bug report using GitHub.
   
   Python version: 3.6.8
   Airflow version: 2.0.0b3
   
   
-------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/usr/lib/python3.6/site-packages/flask/app.py", line 2447, in 
wsgi_app
       response = self.full_dispatch_request()
     File "/usr/lib/python3.6/site-packages/flask/app.py", line 1952, in 
full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/lib/python3.6/site-packages/flask/app.py", line 1821, in 
handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 39, in 
reraise
       raise value
     File "/usr/lib/python3.6/site-packages/flask/app.py", line 1950, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/lib/python3.6/site-packages/flask/app.py", line 1936, in 
dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/lib/python3.6/site-packages/airflow/www/auth.py", line 34, in 
decorated
       return func(*args, **kwargs)
     File "/usr/lib/python3.6/site-packages/airflow/www/views.py", line 575, in 
index
       tags_filter=arg_tags_filter,
     File "/usr/lib/python3.6/site-packages/airflow/www/views.py", line 387, in 
render_template
       **kwargs,
     File "/usr/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", 
line 281, in render_template
       template, **dict(list(kwargs.items()) + list(self.extra_args.items()))
     File "/usr/lib/python3.6/site-packages/flask/templating.py", line 140, in 
render_template
       ctx.app,
     File "/usr/lib/python3.6/site-packages/flask/templating.py", line 120, in 
_render
       rv = template.render(context)
     File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 1090, 
in render
       self.environment.handle_exception()
     File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 832, 
in handle_exception
       reraise(*rewrite_traceback_stack(source=source))
     File "/usr/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in 
reraise
       raise value.with_traceback(tb)
     File 
"/usr/lib/python3.6/site-packages/airflow/www/templates/airflow/dags.html", 
line 21, in top-level template code
       {% from 'appbuilder/loading_dots.html' import loading_dots %}
     File 
"/usr/lib/python3.6/site-packages/airflow/www/templates/airflow/master.html", 
line 20, in top-level template code
       {% extends 'appbuilder/baselayout.html' %}
     File 
"/usr/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
 line 2, in top-level template code
       {% import 'appbuilder/baselib.html' as baselib %}
     File 
"/usr/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/init.html",
 line 46, in top-level template code
       {% block body %}
     File 
"/usr/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
 line 16, in block "body"
       {% block messages %}
     File 
"/usr/lib/python3.6/site-packages/airflow/www/templates/airflow/master.html", 
line 54, in block "messages"
       >{{ macros.datetime_diff_for_humans(scheduler_job.latest_heartbeat) 
}}</time>.
     File "/usr/lib/python3.6/site-packages/airflow/macros/__init__.py", line 
83, in datetime_diff_for_humans
       return pendulum.instance(dt).diff_for_humans(since)
     File "/usr/lib/python3.6/site-packages/pendulum/datetime.py", line 824, in 
diff_for_humans
       other = self.now()
     File "/usr/lib/python3.6/site-packages/pendulum/datetime.py", line 106, in 
now
       return pendulum.now(tz)
     File "/usr/lib/python3.6/site-packages/pendulum/__init__.py", line 211, in 
now
       dt = _datetime.datetime.now(local_timezone())
     File "/usr/lib/python3.6/site-packages/pendulum/tz/__init__.py", line 60, 
in local_timezone
       return get_local_timezone()
     File "/usr/lib/python3.6/site-packages/pendulum/tz/local_timezone.py", 
line 35, in get_local_timezone
       tz = _get_system_timezone()
     File "/usr/lib/python3.6/site-packages/pendulum/tz/local_timezone.py", 
line 63, in _get_system_timezone
       return _get_unix_timezone()
     File "/usr/lib/python3.6/site-packages/pendulum/tz/local_timezone.py", 
line 242, in _get_unix_timezone
       raise RuntimeError("Unable to find any timezone configuration")
   RuntimeError: Unable to find any timezone configuration
   
   **How to reproduce it**:
   
   Enter in webserver and launch manual execution.
   1000 dags with 100 in on with scheduler "* * * * *"
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to