laptop and a wrench

Bogue

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

ArcGIS Pro
Numéro d’ID de bogue BUG-000166951
EnvoiApril 23, 2024
Dernière modificationOctober 7, 2024
S’applique àArcGIS Pro
Version trouvée3.2.2
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutDuplicate

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000166951

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement