Skip to main content

I have ArcGIS 10.7 64 bit Python, FME 2019 and using FME Python27 fmeobjects. I have added fmeobjects.pyd under Arcgis Python 64 bit->Lib->sitepackages. Also, in the script i'm appending the fmeobjects path like below,

sys.path.append(r"D:\\ProgramFiles\\FME\\Desktop\\fmeobjects\\python27") and then using import fmeobjects. But, when I try to initialize

runner = fmeobjects.FMEWorkspaceRunner() I get FMEException:896902. Not sure what the mistake is. Please give suggestions.

Hi @raaaju1990​ 

 

I suspect you are running into the 2nd issue mentioned in https://community.safe.com/s/article/errors-fmeworkspacerunner-python-errors-fmeobjects

 

Please ensure you are following the instructions for the correct bit-version when renaming fme.dll. Since you have mentioned you are using 64-bit Python, the correct .dll to rename would be C:\\Program Files (x86)\\ArcGIS\\Desktop10.7\\bin64\\fme.dll

 

Note: after renaming fme.dll, it is recommended to close and reopen ArcMap or restart your Python interpreter before running your script. Otherwise, the fmeobjects.FMEException error may still occur.


Reply