allenai / allenai/objaverse-xl

PermissionError on download with objaverse-xl files

Abierto
#55 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
1.4k
Forks
93
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.