Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught PermissionError in io.py line 352 #2443

Open
ClappeDiya opened this issue Nov 24, 2024 · 0 comments
Open

Uncaught PermissionError in io.py line 352 #2443

ClappeDiya opened this issue Nov 24, 2024 · 0 comments

Comments

@ClappeDiya
Copy link

Aider version: 0.64.1
Python version: 3.12.1
Platform: Windows-11-10.0.22631-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 11 (64bit)
Git version: git version 2.47.0.windows.2

An uncaught 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 606, in main
    check_gitignore(git_root, io)
  File "main.py", line 177, in check_gitignore
    io.write_text(gitignore_file, content)
  File "io.py", line 352, in write_text
    with open(str(filename), "w", encoding=self.encoding) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\md\\.cursor-tutor\\projects\\Clapbill_both\\.gitignore'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant