laptop and a wrench

Error

RasterManager.add() fails to add image services.

Última publicación: June 12, 2019 ArcGIS API for Python
Número de ID del error BUG-000122655
EnviadoMay 28, 2019
Última modificaciónJune 28, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.6.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
Versión corregida1.9.0
EstadoFixed

Solución alternativa

It is possible to resolve this issue by manually changing the source code, however only follow this instruction if it's required.

  1. Make a backup of the _layer.py file referenced in the runtime error (e.g. /opt/anaconda3/envs/gdal/lib/python3.6/site-packages/arcgis/raster/_layer.py).
  2. Open the original _layer.py file to perform edits.
  3. Locate the _add_rasters function.
  4. Modify the line that reads "service_url = [service_url]" to "service_url = service_url"
  5. Save changes (if using a Jupyter Notebook also restart the kernel).

 

After making the above changes the function works as expected with a service URL.

 

Pasos para reproducir

ID del error: BUG-000122655

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