laptop and a wrench

漏洞

A non-dictionary object does not have a get method in nested dictionary objects using the ArcGIS API for Python.

ArcGIS API for Python
漏洞 ID 编号 BUG-000169476
已提交July 26, 2024
上次修改时间June 15, 2025
适用范围ArcGIS API for Python
找到的版本N/A
操作系统Windows OS
操作系统版本11.0 64 bit
状态Non-Reproducible

附加信息

This issue is not reproducible in the latest version based on the information provided. If still experiencing this issue, contact Esri Technical Support and reference the record number for this issue.

解决办法

A simple fix is not just verifying d is True, but checking if it is a dictionary, because if it is not typed, likely it does not have a get method.

'If d' to 'if isinstance(d,dict)'.

重现步骤

漏洞 ID: BUG-000169476

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项