Skip to main content
Question

Problems with FME desktop 2015 and .bat files

  • April 29, 2015
  • 2 replies
  • 11 views

Hi everybody,

 

 

I have run scripts (.bat files)  with FME 2014 without  problems, but after

 

the update to 2015 and make some changes in my workbenchs these  files don't work.

 

 

This message appear: "This FME edition does not recognize the 'RoutingFactory' factory.

 

What means that? and how can i run my tasks?.

 

 

P.S My .bat files run 2014 workbenchs yet. How can update my .bat files to run 2015 workbenchs?

 

 

Thanks
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

takashi
Celebrity
  • May 7, 2015
Hi,

 

 

Possibly the FME home directory path of the previous version (FME 2014 or earlier) is written before the path for FME 2015, in the environment variable "Path" in your computer.

 

 

I found a good page describing about environment variables. See here first if you are not familiar with Windows environment variables.

 

> How to set the path and environment variables in Windows (http://www.computerhope.com/issues/ch000549.htm)

 

 

If you have installed FME 2014 and FME 2015 in the machine, you can see their home directory paths in the "Path" variable, like this.

 

----

 

<others>;C:\\Program Files\\FME_2014;<others>;C:\\Program Files\\FME_2015;<others>

 

----

 

 

If the path for FME 2014 (or erlier) was written before FME 2015, such an error could occur when running the workspace created with FME 2015.

 

If so, try editing the "Path" variable so that the path for FME 2015 is located before previous version(s).

 

 

Be careful not to destroy individual path strings. I recommend you to save the original string before editing as a backup.

 

 

Hope this helps.

 

 

Takashi

takashi
Celebrity
  • May 7, 2015
P.S. If you are using the command prompt to run the bat files, you will have to reboot it after editing the "Path" variable.