laptop and a wrench

Erro

RasterManager.add() fails to add image services.

Última Publicação: June 12, 2019 ArcGIS API for Python
Número de ID do Erro BUG-000122655
EnviadoMay 28, 2019
Última ModificaçãoJune 28, 2025
Aplica-se àArcGIS API for Python
Versão encontrada1.6.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa1.9.0
StatusFixed

Solução Provisória

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.

 

Etapas para Reproduzir

ID do Erro: BUG-000122655

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download