Skip to main content
Question

FMEException :896902 while initializing fmeobjects.FMEWorkspaceRunner() using ArcGIS 10.7 64 bit python.

  • August 7, 2020
  • 1 reply
  • 35 views

raaaju1990
Contributor
Forum|alt.badge.img+6

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.

1 reply

debbiatsafe
Safer
Forum|alt.badge.img+20

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.


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