Skip to main content
Solved

FME Floating License Error

  • October 8, 2014
  • 1 reply
  • 21 views

Hello,

 

 

I have a workspace in which depending on certain conditions I am calling another workspace using python shutdown script.

 

This is my script

 

 

if DataType == 'ABCD':

 

   wsr.runWithParameters(current_workspace_dir+"/test1.fmw",{"SourceDataset_GENERIC": FME_MacroValues["Input_FileName"]})

 

else....

 

 

If I run this from desktop works fine. but when I publish it to the server. It gives error in processmonitor log as "No FME Floating Licenses are available.  Contact your distributor to purchase additional licenses."

 

 

Other workspaces without chainig works fine. Is this something to do with licensing?

 

 

Cheers

 

 

 

 

Best answer by david_r

Hi,

 

 

looks like you're trying to run fme.exe on your server, where you probably haven't got any FME Desktop licenses. This is not something I'd recommend, as you're effecively treating FME Server like a desktop machine and thereby losing out on a lot of server-specific functionality.

 

 

You should look into using the FME Server REST API (http://docs.safe.com/fme/html/FME_REST/) to start jobs on FME Server. You can call the API functions in your shutdown script using e.g. the python module urllib (https://docs.python.org/2/library/urllib.html). Look also at the FME Server Playground (http://playground.fmeserver.com/) for more examples.

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

1 reply

david_r
Evangelist
  • Best Answer
  • October 8, 2014
Hi,

 

 

looks like you're trying to run fme.exe on your server, where you probably haven't got any FME Desktop licenses. This is not something I'd recommend, as you're effecively treating FME Server like a desktop machine and thereby losing out on a lot of server-specific functionality.

 

 

You should look into using the FME Server REST API (http://docs.safe.com/fme/html/FME_REST/) to start jobs on FME Server. You can call the API functions in your shutdown script using e.g. the python module urllib (https://docs.python.org/2/library/urllib.html). Look also at the FME Server Playground (http://playground.fmeserver.com/) for more examples.

 

 

David

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