You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "julietab231 (via GitHub)" <gi...@apache.org> on 2023/07/20 14:24:46 UTC
[GitHub] [airflow] julietab231 opened a new issue, #32720: DAG not visible in Airflow web interface when there are no syntax errors
julietab231 opened a new issue, #32720:
URL: https://github.com/apache/airflow/issues/32720
### Apache Airflow version
Other Airflow 2 version (please specify below)
### What happened
Airflow 2.6.2.
I have deployed an Airflow environment and have created a Python DAG script. However, the DAG is not visible in the web interface at [http://localhost:8080/home. ↗](http://localhost:8080/home.) Strangely, when the script contains a syntax error, Airflow displays an error message indicating that the DAG could not be loaded due to an import error.
You can see the code [here](https://github.com/julietab231/SDG-Case-Study); I'm talking about [analysis.py](https://github.com/julietab231/SDG-Case-Study/blob/main/dags/analysis.py)
### What you think should happen instead
he DAG should be visible in the Airflow web interface even when there are no syntax errors in the script. It is unclear why the DAG is not appearing in the web interface when the script is correct. This issue is causing confusion and making it difficult to manage DAGs in Airflow.
### How to reproduce
Replicate the docker env of the [code](https://github.com/julietab231/SDG-Case-Study).
### Operating System
Windows
### Versions of Apache Airflow Providers
_No response_
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #32720: DAG not visible in Airflow web interface when there are no syntax errors
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #32720:
URL: https://github.com/apache/airflow/issues/32720#issuecomment-1644023406
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.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #32720: DAG not visible in Airflow web interface when there are no syntax errors
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #32720: DAG not visible in Airflow web interface when there are no syntax errors
URL: https://github.com/apache/airflow/issues/32720
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org