| Bug ID Number |
BUG-000166951 |
| Submitted | April 23, 2024 |
| Last Modified | October 7, 2024 |
| Applies to | ArcGIS Pro |
| Version found | 3.2.2 |
| Operating System | N/A |
| Operating System Version | N/A |
| Status | Duplicate
The issue is a duplicate of an existing issue. See the issue's Additional Information section for details. Customers associated with the duplicate issue are automatically attached to the open issue.
|
Additional Information
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.
Steps to Reproduce