Skip to main content
Question

FME license system failure from changing Python interpreter


Hi,

i tried to change the Python Interpreter from my fresh FME Server 2017, with a 60 day Trial license, to use the ArcGIS Python Interpreter and was getting following error:

Any suggestions how to handle this problem?

5 replies

david_r
Evangelist
  • July 25, 2017

Did you open the console as a local admin?

From the FME Server 2016 documentation (for some reason this tidbit was left out from the 2017 version, I have no idea why):

Note: To avoid errors, the Windows Command Prompt must likely be run as administrator, even if you are currently running your machine with administrator privileges. From the Start Menu, right-click on Command Prompt and select Run as administrator.

Also try putting quotes around the dll filename, e.g.

fme.exe APPLY_SETTINGS SYSTEM "Python/Python Interpreter" "C:\Windows\SysWOW64\python27.dll"

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • July 25, 2017
david_r wrote:

Did you open the console as a local admin?

From the FME Server 2016 documentation (for some reason this tidbit was left out from the 2017 version, I have no idea why):

Note: To avoid errors, the Windows Command Prompt must likely be run as administrator, even if you are currently running your machine with administrator privileges. From the Start Menu, right-click on Command Prompt and select Run as administrator.

Also try putting quotes around the dll filename, e.g.

fme.exe APPLY_SETTINGS SYSTEM "Python/Python Interpreter" "C:\Windows\SysWOW64\python27.dll"
FME Server 2017 Using Python with FME Server

 

It does mention the following: 

 

Windows

 

Open a command prompt, specifying Run as administrator, and run the following commands:

 

<FMEServerDir>Server/fme/fme.exe APPLY_SETTINGS SYSTEM "Python/Use Custom Python" true<br><FMEServerDir>Server/fme/fme.exe APPLY_SETTINGS SYSTEM "Python/Python Interpreter" c:/<path_to_dll>/python27.dll

 

@david_r what do you believe to be missing between 2016 and 2017 documentation? 

 

 

 


david_r
Evangelist
  • July 25, 2017
fmelizard wrote:
FME Server 2017 Using Python with FME Server

 

It does mention the following: 

 

Windows

 

Open a command prompt, specifying Run as administrator, and run the following commands:

 

<FMEServerDir>Server/fme/fme.exe APPLY_SETTINGS SYSTEM "Python/Use Custom Python" true<br><FMEServerDir>Server/fme/fme.exe APPLY_SETTINGS SYSTEM "Python/Python Interpreter" c:/<path_to_dll>/python27.dll

 

@david_r what do you believe to be missing between 2016 and 2017 documentation? 

 

 

 

Hi Natalie, sorry, you're right, it's there :-) I was expecting a big fat notice like in 2016 so I didn't see that it had been slightly reorganized. Thanks for the quick follow-up.

  • Author
  • July 26, 2017
david_r wrote:

Did you open the console as a local admin?

From the FME Server 2016 documentation (for some reason this tidbit was left out from the 2017 version, I have no idea why):

Note: To avoid errors, the Windows Command Prompt must likely be run as administrator, even if you are currently running your machine with administrator privileges. From the Start Menu, right-click on Command Prompt and select Run as administrator.

Also try putting quotes around the dll filename, e.g.

fme.exe APPLY_SETTINGS SYSTEM "Python/Python Interpreter" "C:\Windows\SysWOW64\python27.dll"
Thanks for the fast reply, but still get this error.

 

Coud it be that the FME Server needs more than just the Server license ?

 

Tried to Bypass this issue an set the python compatiblity in my workbench on  "Esri ArcGIS Desktop" ... now the job blocks the engine when it has passed

 


david_r
Evangelist
  • July 26, 2017

In the FME Server admin GUI, check that you have at least one engine running when trying to change the Python interpreter.

If you do and the error still occurs, consider contacting Safe support.


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