screenshot of error log!. Your assistance is highly appreciated!
First things first. For ArcGIS Pro 2.9.x you need 2021.2 or newer. See Notes on FME and Esri Versions and Compatibility.
Then, in the Navigator, under Scripting, set the Python Compatibility to "Esri ArcGIS Python 3.6+".
The open a PythonCaller and add arcpy.da to your imports:
import fme
import fmeobjects
import arcpy.da
def processFeature(feature):
pass
If this runs without error, you are good to go.
First things first. For ArcGIS Pro 2.9.x you need 2021.2 or newer. See Notes on FME and Esri Versions and Compatibility.
Then, in the Navigator, under Scripting, set the Python Compatibility to "Esri ArcGIS Python 3.6+".
The open a PythonCaller and add arcpy.da to your imports:
import fme
import fmeobjects
import arcpy.da
def processFeature(feature):
pass
If this runs without error, you are good to go.
Thanks for the reply, we have tested with FME 2022.0 beta version and got the same results.
First things first. For ArcGIS Pro 2.9.x you need 2021.2 or newer. See Notes on FME and Esri Versions and Compatibility.
Then, in the Navigator, under Scripting, set the Python Compatibility to "Esri ArcGIS Python 3.6+".
The open a PythonCaller and add arcpy.da to your imports:
import fme
import fmeobjects
import arcpy.da
def processFeature(feature):
pass
If this runs without error, you are good to go.
As you mentioned, we have tried with the mentioned parameters and results as follows.
As you mentioned, we have tried with the mentioned parameters and results as follows.
Have you tested with a simple workspace, only containing a Creator and a PythonCaller and the default code with only the import of arcpy.da added? Please make sure the error is not caused by something else.
As you mentioned, we have tried with the mentioned parameters and results as follows.
Sample workspace attached.
As you mentioned, we have tried with the mentioned parameters and results as follows.
Thanks Nielsgrreties, I've tested with sample workspace provided and there were no errors and trying to add original my code in it will do the testing.
once testing is complete i ll inform you about results. Thanks again for swift reply.