| Bug-ID-Nummer |
BUG-000166951 |
| Eingereicht | April 23, 2024 |
| Zuletzt geändert | October 7, 2024 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 3.2.2 |
| Betriebssystem | N/A |
| Betriebssystemversion | N/A |
| Status | Duplicate
Das Problem ist ein Duplikat eines vorhandenen Problems. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems. Kunden, die mit dem Duplikat des Problems verknüpft sind, werden automatisch an das offene Problem angefügt.
|
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