laptop and a wrench

Erro

Running a Notebook as a web tool in Map Viewer causes a permission error. The error returned is "Permission denied: '/arcgis/home/data'".

ArcGIS Online
Número de ID do Erro BUG-000172250
EnviadoNovember 14, 2024
Última ModificaçãoJanuary 5, 2025
Aplica-se àArcGIS Online
Versão encontradaNov 2024
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

Files created during notebook web tool runs are not stored in the workspace directory (/arcgis/home). Instead, specify a relative path when writing the file. Here is an example of how a variable named "output_csv" configured as a file output parameter should be created: csv_path = f"test.csv" f = open(csv_path, mode="a", encoding="utf-8") f.write("test1, test2, test3, test4") f.close() output_csv = {"url": csv_path} With the configurations above, the web tool should output a CSV file that can be downloaded from the analysis result in Map Viewer. To retain a file output from notebook web tools, add logic in the notebook code to add the file to the ArcGIS content as an item.

Solução Provisória

Run straight from Notebook.

Etapas para Reproduzir

ID do Erro: BUG-000172250

Software:

  • ArcGIS Online

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