You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/23 08:16:59 UTC
[GitHub] [airflow] wszxw233 opened a new issue #14378: error:instance detail
wszxw233 opened a new issue #14378:
URL: https://github.com/apache/airflow/issues/14378
<!--
Welcome to Apache Airflow! For a smooth issue process, try to answer the following questions.
Don't worry if they're not all applicable; just try to include what you can :-)
If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>
Please delete these comment blocks before submitting the issue.
-->
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.0
Node: cdh-node5.maycur.cc
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib64/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.6/site-packages/airflow/www/auth.py", line 34, in decorated
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/www/decorators.py", line 60, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/www/views.py", line 1193, in task
attr = getattr(ti, attr_name)
File "/usr/local/lib/python3.6/site-packages/airflow/models/taskinstance.py", line 792, in previous_start_date_success
return self.get_previous_start_date(state=State.SUCCESS)
File "/usr/local/lib/python3.6/site-packages/airflow/utils/session.py", line 65, in wrapper
return func(*args, session=session, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/models/taskinstance.py", line 776, in get_previous_start_date
return prev_ti and pendulum.instance(prev_ti.start_date)
File "/usr/local/lib64/python3.6/site-packages/pendulum/__init__.py", line 174, in instance
raise ValueError("instance() only accepts datetime objects.")
ValueError: instance() only accepts datetime objects.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [airflow] SamWheating commented on issue #14378: error:instance detail
Posted by GitBox <gi...@apache.org>.
SamWheating commented on issue #14378:
URL: https://github.com/apache/airflow/issues/14378#issuecomment-786673623
I believe this is fixed by https://github.com/apache/airflow/pull/14416
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [airflow] kaxil commented on issue #14378: error:instance detail
Posted by GitBox <gi...@apache.org>.
kaxil commented on issue #14378:
URL: https://github.com/apache/airflow/issues/14378#issuecomment-865946683
Fixed by https://github.com/apache/airflow/pull/14416
--
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:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #14378: error:instance detail
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #14378:
URL: https://github.com/apache/airflow/issues/14378#issuecomment-783996072
Thanks for opening your first issue here! Be sure to follow the issue template!
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [airflow] kaxil closed issue #14378: error:instance detail
Posted by GitBox <gi...@apache.org>.
kaxil closed issue #14378:
URL: https://github.com/apache/airflow/issues/14378
--
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:
users@infra.apache.org