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 OSError in pathlib.py line 1116 #2421

Open
arthur-brainchain opened this issue Nov 21, 2024 · 0 comments
Open

Uncaught OSError in pathlib.py line 1116 #2421

arthur-brainchain opened this issue Nov 21, 2024 · 0 comments

Comments

@arthur-brainchain
Copy link

Aider version: 0.63.2
Python version: 3.11.5
Platform: macOS-14.6.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 23.6.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)

An uncaught exception occurred:

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

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 507, in main
    analytics = Analytics(logfile=args.analytics_log, permanently_disable=args.analytics_disable)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "analytics.py", line 35, in __init__
    self.get_or_create_uuid()
  File "analytics.py", line 74, in get_or_create_uuid
    self.load_data()
  File "analytics.py", line 82, in load_data
    data_file = self.get_data_file_path()
                ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "analytics.py", line 70, in get_data_file_path
    data_file.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)
OSError: [Errno 30] Read-only file system: '/root'

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