laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000172250
已提交November 14, 2024
上次修改时间January 5, 2025
适用范围ArcGIS Online
找到的版本Nov 2024
操作系统N/A
操作系统版本N/A
状态As Designed

附加信息

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.

解决办法

Run straight from Notebook.

重现步骤

漏洞 ID: BUG-000172250

软件:

  • ArcGIS Online

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项