| Numéro d’ID de bogue |
BUG-000145328 |
| Envoi | December 16, 2021 |
| Dernière modification | March 28, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.7 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
The .lock files are required for data access optimization. There is no reason to write .lock files into an archive. It is easy to update the code to accomplish this. In the innermost loop just before zipf.write, type `if os.path.splitext(file)[1] == ".lock": continue`.
Solution de contournement
- Run the script in the Python window or in ArcGIS Notebooks within ArcGIS Pro.
- Create the geodatabase within a separate process from the script to release the lock when the process closes.
- Zip the file within the same script.
Étapes pour reproduire
ID de bogue: BUG-000145328
Logiciel: