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

Key error when using nested configuration files. #1514

Closed
acturner opened this issue Apr 10, 2021 · 4 comments · Fixed by #1516
Closed

Key error when using nested configuration files. #1514

acturner opened this issue Apr 10, 2021 · 4 comments · Fixed by #1516
Assignees
Labels
bug This issue/PR relates to a bug.

Comments

@acturner
Copy link

acturner commented Apr 10, 2021

Description:

When using a nested configuration file, we get a key error because the key can't be found in the default cookiecutter.json config file (even when it exists). I will open a pull request with a one-line change that doesn't require the key to exist in the cookiecutter.json config, but I don't know why the key doesn't exist in the default.

What I've run:

  1. git clone https://github.com/acturner/cookiecutter-key-error
  2. cookiecutter cookiecutter-key-error --config-file=cookiecutter-key-error/init.yaml --no-input
@simobasso
Copy link
Member

Hey @acturner, thanks for spotted out. Can you please check #1516 if fix your issue?

@acturner
Copy link
Author

@simobasso #1516 does fix this issue.

@simobasso
Copy link
Member

@acturner, thanks for the update; we should wait for a maintainer to merge #1516

@simobasso simobasso added the bug This issue/PR relates to a bug. label Apr 20, 2021
@simobasso simobasso self-assigned this Apr 20, 2021
simobasso added a commit to simobasso/cookiecutter that referenced this issue Apr 22, 2021
@simobasso
Copy link
Member

@acturner just merged #1516 👍 let me know!

cagonza6 pushed a commit to cagonza6/cookiecutter that referenced this issue Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants