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

Scanner Error in settings.xml while initializing airflowctl project #42

Open
sachinArya opened this issue Oct 29, 2024 · 2 comments
Open

Comments

@sachinArya
Copy link

sachinArya commented Oct 29, 2024

Hi,

I am very new to this tool and was trying to setup airflowctl on my windows machine. When I ran the below command it came back with an error stating "ScannerError: while scanning a double-quoted scalar
in "C:\projects\new-airflow-unit\my_airflow_project\settings.yaml", line 10, column 16
found unknown escape character 'p"

airflowctl init my_airflow_project --build-start

Seems like the path for venv specified should either have "\" or "/". However it can be corrected by manually updating it in settings.yaml file created. Not sure if it will have any impact?

@kaxil
Copy link
Owner

kaxil commented Oct 29, 2024

However it can be corrected by manually updating it in settings.yaml file created. Not sure if it will have any impact?

Could you try that and let me know what you see?

@leo9986754
Copy link

"ScannerError: while scanning a double-quoted scalar
in "C:\projects\new-airflow-unit\my_airflow_project\settings.yaml", line 10, column 16

Avoid using double quotes in YAML files. Use single quotes or no quotes.

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

No branches or pull requests

3 participants