Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAG in tutorial doesn't exist #37097

Open
1 of 2 tasks
danbachar opened this issue Jan 30, 2024 · 11 comments
Open
1 of 2 tasks

DAG in tutorial doesn't exist #37097

danbachar opened this issue Jan 30, 2024 · 11 comments

Comments

@danbachar
Copy link

danbachar commented Jan 30, 2024

What do you see as an issue?

After installing Airflow and running it standalone with $ airflow standalone, the The Quick Start tutorial on the 4th step instructs the user to "Enable the example_bash_operator DAG in the home page". This DAG does not exist, but these nine do:

  1. example_trigger_controller_dag
  2. example_trigger_target_dag
  3. example_xcom
  4. example_xcom_args
  5. example_xcom_args_with_operators
  6. tutorial
  7. tutorial_dag
  8. tutorial_objectstorage
  9. tutorial_taskflow_api

Solving the problem

The user should be instructed to run an existing DAG.
EDIT: this DAG is created when a user installed virtualenv. I amended the documentation in the following PR.

Anything else

Perhaps not all users immediately know what you're talking about when you write DAG. I can only assume it's Directed Acyclic Graphs, but normally when an acronym is used for the first time it should be introduced to reduce false assumptions.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@danbachar danbachar added kind:bug This is a clearly a bug kind:documentation needs-triage label for new issues that we didn't triage yet labels Jan 30, 2024
Copy link

boring-cyborg bot commented Jan 30, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@aritra24
Copy link
Collaborator

@danbachar if you're working on this let me assign this to you?

@aritra24 aritra24 removed the needs-triage label for new issues that we didn't triage yet label Jan 30, 2024
@danbachar
Copy link
Author

Sure. PR is already out and published

@eladkal
Copy link
Contributor

eladkal commented Jan 30, 2024

I was not able to reproduce it. All example dags are loaded fine for me.

@aritra24 were you able to reproduce?

@aritra24
Copy link
Collaborator

@eladkal I haven't tried it out yet, will try it out in a bit.

@danbachar
Copy link
Author

danbachar commented Jan 30, 2024 via email

@aritra24
Copy link
Collaborator

aritra24 commented Jan 31, 2024

I tried replicating and I do see the example dags. Initially I saw only a subset of 7 dags, but on refresh I see all 51. @danbachar can you let us know if you're doing anything different?
fyi @eladkal I wasn't able to repro it either.
Screenshot 2024-01-31 at 12 12 18 PM

@jpborsi
Copy link

jpborsi commented Feb 14, 2024

I did an install in a clean py3.9 virtualenv and had the same issue, which was resolved by installing apache-airflow[virtualenv]

@potiuk
Copy link
Member

potiuk commented Feb 14, 2024

Anyone here reporting it, willing to add a documentation update explaining that virtualenv should be installed for those? That would be a nice first contribution to explain it in the way that people who got mislead would contrbute for others who are in similar situation? Any PR that could improve sotuation for others would be really good contribution.

@potiuk potiuk added good first issue and removed kind:bug This is a clearly a bug pending-response labels Feb 14, 2024
@danbachar
Copy link
Author

danbachar commented Feb 15, 2024 via email

@potiuk
Copy link
Member

potiuk commented Feb 15, 2024

Can you point to it please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants