Question

Problems with FME desktop 2015 and .bat files

  • 29 April 2015
  • 2 replies
  • 3 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

2 replies

Userlevel 2
Badge +17
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
Userlevel 2
Badge +17
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.

Reply