laptop and a wrench

Bug

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

ArcGIS Pro
Bug-ID-Nummer BUG-000166951
EingereichtApril 23, 2024
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Pro
Gefunden in Version3.2.2
BetriebssystemN/A
BetriebssystemversionN/A
StatusDuplicate

Zusätzliche Informationen

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.

Workaround

  • 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.

Schritte zur Reproduzierung

Bug-ID: BUG-000166951

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln