Skip to main content
Solved

workspacerunner on fme2018 is not working

  • June 28, 2018
  • 15 replies
  • 96 views

liujisheng
Participant
Forum|alt.badge.img+2

I download the example from the article "

Batch Processing Using the WorkspaceRunner

"

When i run it an the fme2018 and don't change anything it works well. When i update the workspace runner to fme2018 ,it can not work any more. I don't know why. It troubles me a lot.

This is the ordinary one?

Then i update the workspacerunner

Best answer by mark2atsafe

Hi folks. I recreated the problem (thanks Takashi) and have filed a high-priority issue with the developers. I am hoping we're in time for a fix to go into 2018.1. I will keep you posted.

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.

15 replies

liujisheng
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • 11 replies
  • June 28, 2018

 

MY FME IS FME2018 X64. And I tried it on fme2017 X86 ,it works well. So the problem must be in the fme2018 X64

 


debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • 648 replies
  • June 28, 2018

Hi @liujisheng

I think the MIF reader is not reading any features as you have not specified a value in the Feature Types to Read parameter. Can you try removing the Feature Types to Read parameter from your polygonbuilder workspace?


liujisheng
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • 11 replies
  • June 29, 2018

Hi @liujisheng

I think the MIF reader is not reading any features as you have not specified a value in the Feature Types to Read parameter. Can you try removing the Feature Types to Read parameter from your polygonbuilder workspace?

I have tried to remoe the Feature Types to Read parameter from my polygonbuilder. It doesn't work, but also thank you very much.

 

 


liujisheng
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • 11 replies
  • June 29, 2018

 

It will be great for me to find a case from fme2018 x64, but unfortunately I can not find it in the knowledge center.

pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 605 replies
  • June 29, 2018

Yes, I too faced strange behaviour of workspace runner transformer when I installed 2018 version. Workspace is working fine when I worked individually, but the same workspace is not working when I used workspace runner. It showed as successful but the output files will not be present in the directory as desired. I thought, FME was not installed properly until now and I continued working in 2017 rather than taking risk :).

Workspace runner is one of the backbone transformer of FME when we are working in batches/more workspaces.


liujisheng
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • 11 replies
  • June 29, 2018

Yes, I too faced strange behaviour of workspace runner transformer when I installed 2018 version. Workspace is working fine when I worked individually, but the same workspace is not working when I used workspace runner. It showed as successful but the output files will not be present in the directory as desired. I thought, FME was not installed properly until now and I continued working in 2017 rather than taking risk :).

Workspace runner is one of the backbone transformer of FME when we are working in batches/more workspaces.

Yes?we are facing the same question " It showed as successful but the output files will not be present in the directory as desired. "

 

 


takashi
Celebrity
  • 7842 replies
  • June 29, 2018

Hi @liujisheng

I think the MIF reader is not reading any features as you have not specified a value in the Feature Types to Read parameter. Can you try removing the Feature Types to Read parameter from your polygonbuilder workspace?

Hi @DebbiAtSafe, I found the reason for the failure. It seems that the WorkspaceRunner in FME 2018 fails to pass empty string to a (optional) published parameter.

 

Check this repro: fme2018-workspacerunner-defect.zip (FME 2018.0.1.1 build 18312)

 

The symptom will be clearly logged if you set Yes to the Wait for Job to Complete parameter in the WorksaceRunner and run.

 

 

0684Q00000ArMFuQAN.png

 

0684Q00000ArME4QAN.png

 

 

Expected an even number of command line arguments, instead got 1 for command line: >>  `--PARAM' <<An error occurred during the batch file execution, 1 translation failed. The following error message was raised: #2 : Expected an even number of command line arguments, instead got 1 for command line: >>  `--PARAM' <<Program TerminatingTranslation FAILED.

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • June 29, 2018
Hi @DebbiAtSafe, I found the reason for the failure. It seems that the WorkspaceRunner in FME 2018 fails to pass empty string to a (optional) published parameter.

 

Check this repro: fme2018-workspacerunner-defect.zip (FME 2018.0.1.1 build 18312)

 

The symptom will be clearly logged if you set Yes to the Wait for Job to Complete parameter in the WorksaceRunner and run.

 

 

0684Q00000ArMFuQAN.png

 

0684Q00000ArME4QAN.png

 

 

Expected an even number of command line arguments, instead got 1 for command line: >>  `--PARAM' <<An error occurred during the batch file execution, 1 translation failed. The following error message was raised: #2 : Expected an even number of command line arguments, instead got 1 for command line: >>  `--PARAM' <<Program TerminatingTranslation FAILED.
Hi Takashi,

 

Yes, this is what I am finding too. In the example of the user the command is:

 

 

C:/Users/imark/Documents/Testing/polygonbuilder_2018.fmw --SourceDataset_MIF C:\Users\imark\Documents\Testing\BatchProcessingData\Data\parcel_L24.mif --FEATURE_TYPES --DestDataset_ESRISHAPE C:\Users\imark\Documents\Testing/BatchProcessingData\Output

 

 

Without a value for FEATURE_TYPES, FME fails. I'll file something with our developers immediately.

 


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • Best Answer
  • June 29, 2018

Hi folks. I recreated the problem (thanks Takashi) and have filed a high-priority issue with the developers. I am hoping we're in time for a fix to go into 2018.1. I will keep you posted.


pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 605 replies
  • June 30, 2018

Hi folks. I recreated the problem (thanks Takashi) and have filed a high-priority issue with the developers. I am hoping we're in time for a fix to go into 2018.1. I will keep you posted.

Thanks @Mark2AtSafe

 


liujisheng
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • 11 replies
  • June 30, 2018

Hi folks. I recreated the problem (thanks Takashi) and have filed a high-priority issue with the developers. I am hoping we're in time for a fix to go into 2018.1. I will keep you posted.

Thanks @Mark2AtSafe

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • July 2, 2018
Hi @pratap and @liujisheng - I wanted to let you know that this has been fixed. It will be available in 2018.1 - that should be released maybe later this week.

 


takashi
Celebrity
  • 7842 replies
  • July 2, 2018
Hi @pratap and @liujisheng - I wanted to let you know that this has been fixed. It will be available in 2018.1 - that should be released maybe later this week.

 

Good to hear. Thanks for the quick fix.

 

 


pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 605 replies
  • July 3, 2018
Hi @pratap and @liujisheng - I wanted to let you know that this has been fixed. It will be available in 2018.1 - that should be released maybe later this week.

 

Thank you @Mark2AtSafe for updating us on proceedings...

 


  • 1 reply
  • July 12, 2018

Hi folks. I recreated the problem (thanks Takashi) and have filed a high-priority issue with the developers. I am hoping we're in time for a fix to go into 2018.1. I will keep you posted.

Glad I found this thread...I thought I was losing my mind. Looking forward to resolution of this issue soon.