Replies: 3 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
This could be a problem with WSL only : https://camcops.readthedocs.io/en/latest/administrator/server_troubleshooting.html#posix-spec-does-not-match-last-transition |
Beta Was this translation helpful? Give feedback.
-
Yep. Very much so. We are not going to address as WSL is not a "production" environment for us - at most it can be development environment and even there we recommend using Docker that should not have this problem. |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
2.2.5 (latest released)
What happened
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:
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.8.10
Airflow version: 2.2.5
Node: KANVWPRDIIS03.fqm.internal
Traceback (most recent call last):
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/auth.py", line 51, in decorated
return func(*args, **kwargs)
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/views.py", line 730, in index
return self.render_template(
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/views.py", line 502, in render_template
return super().render_template(
File "/home/aggrey/.local/lib/python3.8/site-packages/flask_appbuilder/baseviews.py", line 287, in render_template
return render_template(
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/templating.py", line 137, in render_template
return _render(
File "/home/aggrey/.local/lib/python3.8/site-packages/flask/templating.py", line 120, in _render
rv = template.render(context)
File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/dags.html", line 22, in
{% from 'airflow/_messages.html' import show_message %}
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html", line 21, in
{% from 'airflow/_messages.html' import show_message %}
File "/home/aggrey/.local/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html", line 2, in
{% import 'appbuilder/baselib.html' as baselib %}
File "/home/aggrey/.local/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/init.html", line 37, in
{% block body %}
File "/home/aggrey/.local/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html", line 16, in
{% block messages %}
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/dags.html", line 63, in
{{ super() }}
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html", line 55, in
{% call show_message(category='warning', dismissible=false) %}
File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 583, in _invoke
rv = self._func(*arguments)
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/_messages.html", line 25, in
{{ caller() }}
File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 583, in _invoke
rv = self._func(*arguments)
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html", line 63, in
>{{ macros.datetime_diff_for_humans(scheduler_job.latest_heartbeat) }}.
File "/home/aggrey/.local/lib/python3.8/site-packages/airflow/macros/init.py", line 83, in datetime_diff_for_humans
return pendulum.instance(dt).diff_for_humans(since)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/datetime.py", line 824, in diff_for_humans
other = self.now()
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/datetime.py", line 106, in now
return pendulum.now(tz)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/init.py", line 211, in now
dt = _datetime.datetime.now(local_timezone())
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/init.py", line 60, in local_timezone
return get_local_timezone()
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/local_timezone.py", line 35, in get_local_timezone
tz = _get_system_timezone()
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/local_timezone.py", line 63, in _get_system_timezone
return _get_unix_timezone()
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/local_timezone.py", line 240, in _get_unix_timezone
return TimezoneFile(tzpath)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/timezone.py", line 370, in init
tz = read_file(path)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/zoneinfo/init.py", line 16, in read_file
return Reader(extend=extend).read(path)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/zoneinfo/reader.py", line 66, in read
return self._parse(fd)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/zoneinfo/reader.py", line 145, in _parse
return Timezone(transitions, posix_rule=trule, extended=self._extend)
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/zoneinfo/timezone.py", line 28, in init
self._extends()
File "/home/aggrey/.local/lib/python3.8/site-packages/pendulum/tz/zoneinfo/timezone.py", line 49, in _extends
raise ValueError("Posix spec does not match last transition")
ValueError: Posix spec does not match last transition
What you think should happen instead
I should be able to see the web UI
How to reproduce
Install Airflow on windows server 2019 inside install Linux ubuntu 2004 WSL
Operating System
windows server 2019
Versions of Apache Airflow Providers
pip
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions