Skip to main content
Question

Make it easier not to mix different python versions (2.7 - 3.6) on FME Server


sigtill
Supporter
Forum|alt.badge.img+24

Simplified story: One engine can only use one specific python version. So if you have 2 workspaces running - with different versions of python, they will fail giving this error:

The Workspace requires Python version 3.6, but Python version 2.7 is already loaded Workspace requiring Python 3.6 is requested to run on an FME Engine configured to use a Python 2.7 interpreter. FME cannot continue given the Python version mismatch
A fatal error has occurred. Check the logfile above for details

GUI-suggestion on FME Server:

0684Q00000ArCLbQAN.png

Which will result in a warning when publishing workspaces to that server:

0684Q00000ArC57QAF.png

 

3 replies

david_r
Celebrity
  • March 21, 2018

That's a great improvement.

Alternatively, I would prefer the Engine to just automatically restart and get on with it when encountering a different Python version, rather than raising a fatal error.


Forum|alt.badge.img+2
david_r wrote:

That's a great improvement.

Alternatively, I would prefer the Engine to just automatically restart and get on with it when encountering a different Python version, rather than raising a fatal error.

You can set this in the config files as a workaround to restart after every one, but it'd be great if it detected this and then restarted itself.

 

 


sigtill
Supporter
Forum|alt.badge.img+24
  • Author
  • Supporter
  • April 30, 2018
jlutherthomas wrote:
You can set this in the config files as a workaround to restart after every one, but it'd be great if it detected this and then restarted itself.

 

 

This workaround does not work when a workspace failes within a Custom Transformer in Parallell mode (as it is the fmeworker.exe failing - not fme.exe) - so it will not restart these processes.

 


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