Skip to main content

Hi I am using FME Server 2021.2.3, from which

I am using a SystemCaller to call a python script, which uses ArcGIS API for Python

The python script runs correctly when run manually on the server and also when called in FME Desktop

The command line on SystemCaller is:

"\\\\fme001.dev.stw.co.uk\\C$\\Program Files\\ArcGIS\\Pro\\bin\\Python\\Scripts\\propy.bat \\\\fme001.dev.stw.co.uk\\e$\\FMEShare\\resources\\data\\CheckVersions.py Waste/COR_RX_WASTE https://tt-gis.dev.stw.co.uk "

 

When running the workspace in FME Server, I get 'Failed to execute'

I have tried putting double quote around the whole command line.

Have also granted full access to FME Server domain user for the directories above. The error still persists

Any suggestions ?

 

Have you tried doubling the backslashes? Sometimes they're treated as escape characters so can do some funky things....

"\\\\\\\\fmeoo1.dev.stw.co.uk\\\\C$\\\\Pro......"

 

Have you also considered running it natively in FME using the PythonCaller (with python compatibility set to ArcGIS)?


Reply