laptop and a wrench

漏洞

ArcGIS Notebooks does not honor edits made to a custom Python module referenced if the module is edited with the project open.

ArcGIS Pro
漏洞 ID 编号 BUG-000166951
已提交April 23, 2024
上次修改时间October 7, 2024
适用范围ArcGIS Pro
找到的版本3.2.2
操作系统N/A
操作系统版本N/A
状态Duplicate

附加信息

Duplicate of BUG-000123059: This has to do with caching imported modules to ArcGIS Pro. This issue can be circumvented by using importlib to force a reload of the module (see added workaround) while efforts are made to fix the related bug.

解决办法

  • Closing and re-opening ArcGIS Pro.
  • Renaming the .py file and the reference to it in the script.

Using importlib allows to reload imported modules. Example: import importlib, import some_module as sm, importlib.reload(sm) # forces reload with every run, so no need to restart ArcGIS Pro.

重现步骤

漏洞 ID: BUG-000166951

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项