Skip to content

Uncaught PermissionError in pathlib.py line 1116 #4690

@himentpear

Description

@himentpear

Aider version: 0.86.1
Python version: 3.11.9
Platform: Windows-10-10.0.26100-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.51.0.windows.1

An uncaught exception occurred:

Traceback (most recent call last):
  File "pathlib.py", line 1116, in mkdir
    os.mkdir(self, mode)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\jisub\\.aider\\caches'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 738, 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 1120, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "pathlib.py", line 1116, in mkdir
    os.mkdir(self, mode)
PermissionError: [WinError 5] 拒绝访问。: 'C:\\Users\\jisub\\.aider'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions