Skip to main content

I am trying to create an instance of the FMEWorkspaceRunner in python so I can kick off a workspace. I am able to import fmeobjects, but when I try to create an instance of the FMEWorkspaceRunner I get the following error:

FMEException: FMEException: 395013: OEM License failure.

I'm not sure how to fix this. If i start a command line terminal from within my FME installation folder, I can create an instance of fmeobjects.FMEWorkspaceRunner(). It's only when I try to create it in a script that I'm having a problem. I am also using arcpy within the same script, so could it be something to do with Python paths that I can't figure out? Any help would be appreciated.

Hi @calvinmccoy,

FMEObjects will search the system path for the first fme.dll it can find to connect to. However, an OEM version of FME is included with some versions of ArcGIS. If your ArcGIS is ahead of FME in the system path, then this OEM FME is being invoked by FMEObjects, but has a license that locks its usage to ArcGIS.

Please use your Windows Control Panel to edit System Properties - Advanced - Environment Variables - System Variables - Path. Move the FME folder above the ArcGIS folder(s).

This should allow FMEObjects to connect to the correct fme.dll.


Hi @calvinmccoy,

FMEObjects will search the system path for the first fme.dll it can find to connect to. However, an OEM version of FME is included with some versions of ArcGIS. If your ArcGIS is ahead of FME in the system path, then this OEM FME is being invoked by FMEObjects, but has a license that locks its usage to ArcGIS.

Please use your Windows Control Panel to edit System Properties - Advanced - Environment Variables - System Variables - Path. Move the FME folder above the ArcGIS folder(s).

This should allow FMEObjects to connect to the correct fme.dll.

That's great thanks for your help!