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

PermissionError on download with objaverse-xl files #55

Open
johanneszellinger opened this issue Oct 23, 2024 · 0 comments
Open

PermissionError on download with objaverse-xl files #55

johanneszellinger opened this issue Oct 23, 2024 · 0 comments

Comments

@johanneszellinger
Copy link

Using the download_objects() function results in the error PermissionError: [Errno 13] Access is denied

After debugging a bit through the objaverse package code, it turned out that the problem is in line 322 of the github.py file:

shutil.rmtree(os.path.join(target_directory, ".git"))

Seems like the .git folder is not accessible at this point in time. Not sure if this is a windows-specific or maybe even a os-settings-specific issue is, but it prevents me from using the objaverse package without modifying it, so I wanted to report it here.

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