Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
20.94k stars 1.93k forks source link

Uncaught FileNotFoundError in posixpath.py line 384 #1887

Closed dzineer closed 3 weeks ago

dzineer commented 3 weeks ago

Aider version: 0.58.1.dev9+gadde5e08 Python version: 3.10.15 Platform: macOS-14.5-arm64-arm-64bit Python implementation: CPython Virtual environment: No OS: Darwin 23.5.0 (64bit) Git version: git version 2.44.0

An uncaught exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
  File "main.py", line 350, in main
    default_config_files = [conf_fname.resolve()]  # CWD
  File "pathlib.py", line 1077, in resolve
    s = self._accessor.realpath(self, strict=strict)
  File "posixpath.py", line 397, in realpath
    return abspath(path)
  File "posixpath.py", line 384, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
fry69 commented 3 weeks ago

Duplicate #1845