Skip to content

Uncaught PermissionError in pathlib.py line 1175 #2865

Open
@shmolf

Description

@shmolf

Aider version: 0.71.1
Python version: 3.10.16
Platform: Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.36
Python implementation: CPython
Virtual environment: Yes
OS: Linux 5.15.167.4-microsoft-standard-WSL2 (64bit)
Git version: git version 2.39.5

An uncaught exception occurred:

Traceback (most recent call last):
  File "pathlib.py", line 1175, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/.aider/caches'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
  File "main.py", line 711, in main
    check_version(io, verbose=args.verbose)
  File "versioncheck.py", line 94, in check_version
    VERSION_CHECK_FNAME.parent.mkdir(parents=True, exist_ok=True)
  File "pathlib.py", line 1179, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "pathlib.py", line 1175, in mkdir
    self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/.aider'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions