Skip to main content
Question

Shutdown Python Script in FME Server Loops Workspace

  • May 21, 2018
  • 2 replies
  • 47 views

Forum|alt.badge.img+1

I have a Shutdown Python Script published with a Workspace that when ran successfully renames the Feature Classes in the SourceDataset after the Workspace is complete. This executes successfully in Workbench. However, when I published the same Workspace to FME Server and run it, it just loops the Workspace and never executes the Shutdown Python Script.

The only parameter passed is the 'SourceDataset_FILEGDB' and a single value chosen at the start of executing the Workspace.

Any thoughts or suggestions would be greatly appreciated. Thank you in advance.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img+1
I am assuming it has to do something with Python configuration differences between my Desktop environment and the FME Server (Engine) environment.

 

 

I have the "Preferred Python Interpreter" set to "ESRI ArcGIS Desktop Python (2.7)" in my Desktop environment with ArcGIS10.5 and 64bit Background Processing installed and FME 2018.0 64bit. This environment executes the Workspace and Shutdown Script successfully.

 

 

Our Server environment has FME Server 2018 and ArcGIS Enterprise 10.6 installed. This environment loops the Workspace and never executes the Shutdown Script. I can remove the Shutdown Script and the Workspace executes successfully.

 

 


stalknecht
Contributor
Forum|alt.badge.img+22
  • Contributor
  • May 23, 2018

Things to check is 64 bit background processing installed on the server? Is the engine 64 bits?

Can you share the script?