Question

What does this error means?

  • 2 January 2014
  • 1 reply
  • 6 views

Below you see what I get when I run the translation. What can I do about it?

 

 

  INCLUDE -- failed to evaluate TCL expression `  if {[string equal -length 15 {FM E_CONDITIONAL} {P:\\82\\8213-0081-000\\22_Uitvoering_geodesie\\40_Dataprocessing\\03_ mapping\\06_DGN2MDB\\GIS-BLOCK-45\\*.dgn} ] == 0} {                set encodedVal [ FME_EncodeText {P:\\82\\8213-0081-000\\22_Uitvoering_geodesie\\40_Dataprocessing\\03_ mapping\\06_DGN2MDB\\GIS-BLOCK-45\\*.dgn}];                puts "MACRO IN_DGNV8__FM EENCODED__ $encodedVal" ; } else {              set encodedVal {P:\\82\\8213-0081- 000\\22_Uitvoering_geodesie\\40_Dataprocessing\\03_mapping\\06_DGN2MDB\\GIS-BLOCK-45\\ *.dgn};                 puts "MACRO IN_DGNV8__FMEENCODED__ $encodedVal" ; };  ' -- invalid command name "FME_EncodeText"     while executing "FME_EncodeText {P:\\82\\8213-0081-000\\22_Uitvoering_geodesie\\40_Dataprocessing\\03 _mapping\\06_DGN2MDB\\GIS-BLOCK-45\\*.dgn}"     invoked from within "if {[string equal -length 15 {FME_CONDITIONAL} {P:\\82\\8213-0081-000\\22_Uitvoeri ng_geodesie\\40_Dataprocessing\\03_mapping\\06_DGN2MDB\\GIS-BLOCK-45\\*.dgn}..." Program Terminating   Translation FAILED. . . Press any key to continue . . .

1 reply

Hi

 

 

The problem is that you can't run the tcl function 'FME_EncodeText' within an INCLUDE TCL or INCLUDE [ ] block, that is the tcl compiler dont know the function. You can se the descrition of ther error here invalid command name "FME_EncodeText" 

 

 

Why you can't do it I dont know

 

 

Are you running on an old version of FME?

 

 

Is it a new instalation ? then try and install again

 

 

Can you run other workspaces or is it only this workpspace that has a problem?

 

 

Peter

Reply