laptop and a wrench

Error

The validate() method of the DataStoreManager class in the ArcGIS API for Python incorrectly returns False.

ArcGIS API for Python
Número de ID del error BUG-000172692
EnviadoNovember 27, 2024
Última modificaciónApril 9, 2025
Relacionado conArcGIS API for Python
Versión encontrada2.4
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
Versión corregida2.4.1
EstadoFixed

Información adicional

Reproduced and have a fix.

Solución alternativa

Adding a call to the datastore's properties.path when accessing the same datastore for a loop, for example, causes it to validate as True.

Example:

server_test = gis_114.admin.servers.list()[0]

 

for d_store in server_test.datastores.list():

   print(d_store.properties.path)

   print(d_store.validate())

Pasos para reproducir

ID del error: BUG-000172692

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga