Stuck in a very simple thing it seems . I am trying to call a separate workbench from another by a python caller .Following is the code
#import fmeobjects
import os
# Template Function interface:
def processFeature(feature):
import os
os.system("fme.exe MY-WORKBENCH.fmw")
Entry point : processFeature
Error during translation :
processFeature
2013-05-26 09:26:34| 1.7| 0.0|ERROR |Error executing string `import fmeobjects
import os
# Template Function interface:
def processFeature(feature):
import os
os.system("fme.exe MBLB-WORKBENCH.fmw")
'
2013-05-26 09:26:34| 1.7| 0.0|FATAL |Factory proxy not initialized
2013-05-26 09:26:34| 1.7| 0.0|FATAL |PythonFactory failed to process feature
2013-05-26 09:26:34| 1.7| 0.0|FATAL |PythonFactory failed to process feature
Please help