Repository navigation
Replies: 1 comment 3 replies
|
Wait... |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is a weird error I'm coming across. In my Python 3.7 environment I have installed Airflow 2,
speedtest-cliand few other things using pip and I keep seeing this error popup in the Airflow UI:For sanity checks I did run the following and saw no problems:
So nothing out of the ordinary and testing each of the tasks does not cause problems either. Further running the
speedtest-cliscript independently outside of airflow does not raise any errors either. The script goes something like this:I even went to the exact line of
speedtest.pyas mentioned Broken DAG error, line 156, it seems fine and runs fine when I put in in the python interpreter.So, how do I diagnose this? Seems like a package import problem of some sort
Edit: If it helps here is my directory and import structure for
my_dag.pyThe import sequence of tasks in the dag file are as follows:
update: Added full error message, in case that's more helpful
All reactions