I’m testing a simple workbench to fix the geometry of a SHP thought ArcPy RepairGeometry in FME PythonCaller. Here’s is the simple code to run in FME but for reason fails:
FME_MacroValuesa'SourceDataset_SHAPEFILE']
The idea is running the script before writing the data into a GDB,
Thanks @nielsgerrits I have done the test you suggested in the following post by adding the following code in the PythonCaller but still failed. I have also changed my Python Compatibility to Esri ArcGIS Python 3.7+
I can’t understand why am getting the following: “ERROR : A compatible ArcGIS application could not be found or is not licensed for Python Compatibility 'Esri ArcGIS Python 3.7+”
Please check the parameter Esri ArcGIS Compatibility (Navigator window, Workspace Parameters, Translation). You might need to set that from auto to pro.
Have you recently opened arcgis pro on you machine? If I have similair issues I have not opened Pro in a while and I need to sign in again.
Thanks @nielsgerrits I have tried all the scenarios and still can’t get it to work,
ArcPro is also opened with an Advanced license
Sorry, I’m out of ideas. My Python-fu is limited and I believe it should work with these settings. Maybe @birgit has a suggestion?