Skip to main content
Solved

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


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.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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+11
  • 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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings