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

Bug in use of flags.PROFILES_DIR #3940

Closed
gshank opened this issue Sep 22, 2021 · 0 comments · Fixed by #3943
Closed

Bug in use of flags.PROFILES_DIR #3940

gshank opened this issue Sep 22, 2021 · 0 comments · Fixed by #3943
Assignees

Comments

@gshank
Copy link
Contributor

gshank commented Sep 22, 2021

Ticket #2990 moved the PROFILES_DIR to the core/dbt/flags.py module. All of the integration tests passed because of our integration test infrastructure, but a simple command line execution of 'dbt run' fails with: "Encountered an error:
expected str, bytes or os.PathLike object, not NoneType".

This ticket will fix some places that were not updated to use flags.PROFILES_DIR instead of args.profiles_dir.

@gshank gshank self-assigned this Sep 22, 2021
gshank added a commit that referenced this issue Sep 23, 2021
[#3940] Use flags.PROFILES_DIR in a few more places
iknox-fa pushed a commit that referenced this issue Feb 8, 2022
automatic commit by git-black, original commits:
  fda17b4
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

Successfully merging a pull request may close this issue.

1 participant