[Bug]: Error running the cookiecutter project
What happened?
I cloned the repo and ran this command at the orchestrator dev meetup. I have replaced my username with XXX in the output.
orchestrator % uv run orchestrator-cookiecutter ╭───────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────╮ │ /Users/XXX/code/orchestration/orchestrator-cookiecutter/orchestrator/cookiecutter/cli.py:50 in main │ │ │ │ 47 │ template_dir = Path(file).parent / "template" │ │ 48 │ │ │ 49 │ # Run cookiecutter with the bundled template │ │ ❱ 50 │ cookiecutter(str(template_dir), output_dir=str(output_dir), no_input=no_input) │ │ 51 │ │ 52 │ │ 53 if name == "main": │ │ │ │ /Users/XXXs/code/orchestration/orchestrator-cookiecutter/.venv/lib/python3.14/site-packages/cookiecut │ │ ter/main.py:83 in cookiecutter │ │ │ │ 80 │ │ config_file=config_file, │ │ 81 │ │ default_config=default_config, │ │ 82 │ ) │ │ ❱ 83 │ base_repo_dir, cleanup_base_repo_dir = determine_repo_dir( │ │ 84 │ │ template=template, │ │ 85 │ │ abbreviations=config_dict['abbreviations'], │ │ 86 │ │ clone_to_dir=config_dict['cookiecutters_dir'], │ │ │ │ /Users/XXX/code/orchestration/orchestrator-cookiecutter/.venv/lib/python3.14/site-packages/cookiecut │ │ ter/repository.py:139 in determine_repo_dir │ │ │ │ 136 │ │ 'A valid repository for "{}" could not be found in the following ' │ │ 137 │ │ 'locations:\n{}'.format(template, '\n'.join(repository_candidates)) │ │ 138 │ ) │ │ ❱ 139 │ raise RepositoryNotFound(msg) │ │ 140 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ RepositoryNotFound: A valid repository for "/Users/XXX/code/orchestration/orchestrator-cookiecutter/orchestrator/cookiecutter/template" could not be found in the following locations:
Steps to reproduce
- clone the repo
- cd to the dir
- run uv run orchestrator-cookiecutter
Template
No response
Output / traceback
Cookiecutter version
2.6.0
Python version
Other (specify in description)
Operating system
macOS
How did you install Cookiecutter?
Homebrew
Additional context
default macos python 3.9.6
Source: cookiecutter/cookiecutter