Skip to main content
Solved

User Parameter / Process does't work when Optional Reader is empty

  • October 20, 2015
  • 3 replies
  • 47 views

My Process has several Reader: 
  • DWG-Reader
  • TAB-Reader
  • ECW(Orthophoto)-Reader optional
  • PointcloudXYZ(DEM)-Reader optional
 I want to adjust my FME process so that my colleagues have to make no adjustments on the actual process. They are not familar with FME. The colleagues should only press the "Prompt an Run Workspace"-Button and then select the files which are needed.

 

 

The ECW and DEM files are not needed every time. At the Parameter (Type: Filename(Multiple)) Published and Optional are activated.

 

 

The Process only run when i select some ECW and DEM files.

 

When i don´t select i get this error message in the log: 
  
 
 INFORM|POINTCLOUDXYZ reader: Directive '_FIELD_NAMES' has the value 'NO' |INFORM|POINTCLOUDXYZ reader: Directive '_FIELD_NAMES_AFTER_HEADER' has the value 'NO' |ERROR |POINTCLOUDXYZ reader: Failed to open file '.' for reading.  Please ensure that the file exists and you have sufficient privileges to read it |ERROR |BADNEWS: A fatal error has occurred. Check the logfile above for details (dynaread.cpp:265)
 

 

If I disable the ECW/DEM-Reader in the Navigator the process runs without an error. However, then my Colleagues have to intervene manually. This, however, I want to avoid.

 

 

 

how can I solve this problem?

 

 

 

Best answer by pratap

Try setting "Ignore failed readers" to "Yes" in the Navigator under Workspace parameters -> Advanced.
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.

3 replies

pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • Best Answer
  • October 20, 2015
Try setting "Ignore failed readers" to "Yes" in the Navigator under Workspace parameters -> Advanced.

  • Author
  • October 20, 2015
quick and easy solution. thank you

david_r
Celebrity
  • October 20, 2015
Alternatively, consider ditching the readers and let a Creator trigger your workspace and read the data using a FeatureReader. You can then easily check and validate published parameters etc before reading the data.

 

 

David