Skip to main content
Question

Error while running published FME workbench which contains python (Arcpy library)


Hi,

I created an FME workbench which contains python script at FME shutdown. This python script uses Arcpy library to make database connection. The workbench execute successfully and insert the data in database when executed manually. However, the script fails when we publish the FME workbench in FME server. It shows transaction is successful with message as 'FAILURE'. The FME job fails to insert data in database. Please advice.

2 replies

david_r
Evangelist
  • October 25, 2021

What kind of ArcGIS product is licensed on the FME Server, and how is the workspace Python interpreter configured?


rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • October 28, 2021

Hi @mehrotrarishi24​  as @david_r​ mentioned to run workspaces with arcpy embedded, you will need to set the PythonCompatability to Esri Python 2.7 or 3.6 based on whether you have ArcGIS Desktop or ArcGIS Pro installed.

If you are running the workspace on FME Server, I would recommend going through this article Using ArcGIS Pro with FME Server

You will need to ensure that the account running FMEEngine can access ArcGIS Pro (and ArcGIS Pro is licensed for that user), along with workspace PythonCompatability set to Esri ArcGIS Desktop 3.6+


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings