aider
aider copied to clipboard
Uncaught FileNotFoundError in base.py line 217
Aider version: 0.56.0 Python version: 3.10.14 Platform: macOS-15.0-arm64-arm-64bit Python implementation: CPython Virtual environment: No OS: Darwin 24.0.0 (64bit) Git version: git version 2.45.0
An uncaught exception occurred:
Traceback (most recent call last):
File "aider", line 8, in <module>
sys.exit(main())
File "main.py", line 336, in main
git_root = get_git_root()
File "main.py", line 32, in get_git_root
repo = git.Repo(search_parent_directories=True)
File "base.py", line 217, in __init__
epath = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Thank you for filing this issue.
The error you reported
FileNotFoundError: [Errno 2] No such file or directory
is not conclusive without more context. Can you please describe what you did when this error occurred? Did you start aider inside a git repository folder?
Thank you.
Duplicate #1550
This looks like a duplicate of #1550, so I'm going to close it so discussion can happen there. Please let me know if you think it's actually a distinct issue.