Hey guys, I'm having problems with the Workspace runner transformer and I'm completely stuck. I have a very simple workspace that I want to run a large number of files through. It consists of no more than a reader(which is set to merge feature types), a transformer, and a writer (which is set to dynamic schema). I have two published parameters, Source file and Destination.
The runner workspace is equally simple, I use a file and Directory and file pathnames reader to read some files. In the WorkspaceRunner parameters I use "path_windows" as source and the path of a folder for destination.
When I run this with the "Wait for job to complete" option set to No, things will run seemingly without error, but there is no output. When I set the option to Yes, I get the error "Failed to run workspace xxxx.fmw -- Trace was:FME2015.0 .... A fatal error has occurred. Check the logfile above for details" with no further clues of what went wrong.
I have googled quite alot and found no one else with this issue, so any help would be appreciated.
Best answer by takashi
I was able to reproduce the same error with FME 2015.0.
Possibly it's a bug in FME 2015.0, the same workspace works fine with FME 2015.1.
WorkspaceRunner: Fixed an encoding problem where parameter values assigned from attributes didn't work in some cases (C99188 PR#59727 PR#59769)
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.
Thank you very much Takashi, the logfile did indeed help me figure out what's going on!
When I send "path_windows" to the main workspace it looks like this in the other end: 'C:<backslash>Data<backslash>Files_to_convert<backslash>File1' The main workspace can't find the files with a syntax like that. When I enter the path to the file manually in the runner, it all works like it should.
So now the question is, why is the path syntax changed like this, and how do I fix it? Placing an inspector right after the Folder and File pathnames reader, the attribute "path_windows" contains the path to the file in the correct syntax (C:\\Data\\Files_to_convert\\File1)