Skip to main content

I'm attempting to run a workbench from a python script:

import sys
sys.path.append(r'C:\Program Files (x86)\FME_2019.1.1\fmeobjects\python27')
 
import fmeobjects
runner = fmeobjects.FMEWorkspaceRunner() 
workspace = r'E:\TFS\GeospatialA\Maritime\Misc_Tools\ESRI_INIT\fmw\gdb_notes_extract.fmw'
 
runner.promptRun(workspace)

I do get the prompts to input paramaters as expected. After clicking OK to run the workbench, I immediately get the error as seen in the attachment. I can't seem to find any details about what might be causing this. The workbench simply reads in a file geodatabase, does some relations, and output a new geodatabase. Any ideas?

As it turns out, the issue was in the workbench. The Python Compatibility was set to Python 3.7+. After setting this to Esri ArcGIS Desktop (Python 2.7), it works as intended.


Reply