Skip to main content

Hello,

I have the following command 

""\\folder\python.exe" "\\filepath\test.py""

that run perfectly with FME desktop.

When I try to run that ETL on FME server, I have the following error

SystemCaller: Failed to Execute `""\\folder_path\python.exe" "\\folder_path\test.py""'

I check and FME Server has the read/write permission on the folder folder_path.

How should I proceed to fix this?

Why doubling the quotes? Have you tried simply:

"\\folder_path\python.exe" "\\folder_path\test.py"

Why doubling the quotes? Have you tried simply:

"\\folder_path\python.exe" "\\folder_path\test.py"

Yes @david_r and it is not working either


Can we assume that neither python.exe or the .py script file are located on a UNC path? If they are, you have to make sure that the Engine service is running as a domain user. See https://knowledge.safe.com/articles/362/workspace-fails-on-fme-server-when-using-unc-paths.html

If that's not the case, then also check the fmeprocessmonitorengine.log on the server for any additional messages.


This issue was resolved via a support ticket. We could not get to the bottom of the UNC path issue (which should work in theory with correct permissions for the FME Server Engine service account). However, placing the Python scripts in the FME Server Engine resources Python Plugins folder and importing 'test' within a PythonCaller worked for the customer.

Nathan


I am suffering the same behavior in FME Server 2019.2. Which version did you use?


I am suffering the same behavior in FME Server 2019.2. Which version did you use?

I am using local paths 😞

 

That also count as UNC?


@xtian79​ 

I was using FMESERVER2018.

As you can see, to solve this issue, the python script was finally placed inside the FME Server Engine resources Python Plugins folder and was called inside a python caller using the import function.


I've similar issue. I'd like to run bat file by System Caller. Bat file body is: "C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\python.exe" "C:\\py_script\\solar_vector_single.py" variable.

Get the message:

There is an error SystemCaller: Failed to Execute `"C:\\py_script\\solar_vector_single.bat"'

I used to run python scribt directly in FME earlier and It worked on FME Desktop. I need a Esri Python interpreter, can't change it on Server. Bat file is more elegnat but, doesnt work eaither.


This issue was resolved via a support ticket. We could not get to the bottom of the UNC path issue (which should work in theory with correct permissions for the FME Server Engine service account). However, placing the Python scripts in the FME Server Engine resources Python Plugins folder and importing 'test' within a PythonCaller worked for the customer.

Nathan

I am having the same issue as the author of this thread. Calling a python script (or a .bat which in turn references a python script) is working fine in FME desktop, but unable to execute via FME Server. Can anyone explain in a little more detail the above solution please? I have added the python script to the FME Server Engine resources Python Plugins folder as suggested, but unsure how I import the python script via the pythoncaller transformer. Thanks in advance


I am having the same issue. The System Caller works on Workbench but not FME Server. We are running FME 2019 any suggestions?

 

The SystemCaller is running the following

 

""C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\python.exe" "D:/Safer Speeds/MobileSpeed/MobileSpeed_Maps.py" Sites""


Check this solution


Reply