Solved

What Python DLL is being used by my FME Server Engines?

  • 22 December 2016
  • 1 reply
  • 1 view

Userlevel 3
Badge +13

How can I tell if FME Server is registering my custom Python interpreter? Is this recorded in any log file?

icon

Best answer by rylanatsafe 22 December 2016, 20:10

View original

1 reply

Badge +11

When an FME Server Engine processes its first job (after starting or restarting), it will record this information in the Job Log:

8INFORM0.00.02016-12-20 14:52:22Using FME's provided Python interpreter from `C:\\Program Files\\FMEServer\\Server\\fme\\fmepython27\\python27.dll'9INFORM0.00.02016-12-20 14:52:22Python version 2.7 loaded successfully10INFORM0.00.12016-12-20 14:52:22FME_BEGIN_PYTHON: evaluating python script from string...11INFORM0.00.12016-12-20 14:52:22FME_BEGIN_PYTHON: python script execution complete.

 

 

This information will be displayed for each FME Server Engine you have licensed.

Subsequent jobs ran on the same FME Server Engine will not post this information about the Python interpreter seen on Line 8 and 9 until the Engine restarts.

When an FME Server Engine starts up, it reads this information and stores it. This is why if you change the Python interpreter for an FME Server Engine, you must restart the Windows Services for the change to take effect.

You can control how many successful or failed translations are required before an FME Server Engine restarts by changing the values of MAX_TRANSACTION_RESULT_SUCCESSES and MAX_TRANSACTION_RESULT_FAILURES.

 

(see https://docs.safe.com/fme/html/FME_Server_Documentation/Content/ReferenceManual/ConfigFileRef.htm)

Reply