laptop and a wrench

漏洞

The Copy Raster tool from ArcPy executed in ArcGIS Online notebook results in a failure.

ArcGIS Online
漏洞 ID 编号 BUG-000171602
已提交October 18, 2024
上次修改时间June 19, 2025
适用范围ArcGIS Online
找到的版本June 2024
操作系统N/A
操作系统版本N/A
状态As Designed

附加信息

The map service causing the error requires an ArcGIS Online login, so ArcPy must be signed in to access it. This can be done by calling `arcpy.SignInToPortal("notebook")` before running `arcpy.management.CopyRaster()`. The code works in ArcGIS Pro without an explicit sign-in because ArcGIS Pro Notebooks automatically sign in to the active portal, which, in this case, is ArcGIS Online. Please also note that map services are not officially supported by the Copy Raster tool. Typically, you would use an image service instead. For more details, refer to the Copy Raster (Data Management) documentation: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm.

重现步骤

漏洞 ID: BUG-000171602

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项