Skip to main content
Solved

Workspace doesn't use parameter


mathiku
Supporter
Forum|alt.badge.img+7

Child workspace is using a published parameter (integer) in a RasterExpressionEvaluator.

The parameter is sent from a WorkspaceRunner.

Translation fails with a fatal error. From log:"

2021-11-07 13:01:35|  0.5| 0.0|ERROR |RasterExpressionEvaluator_3 (RasterEvaluationFactory): Failed to parse the EXPRESSION_LIST clause. 'A[0]' was successfully parsed, but '-/10' could not be parsed. Please ensure that your syntax is correct"

 

The evaluated expression was supposed to be: A[0]- $parameter/10, but is left blank.

Best answer by gazza

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.

View original
Did this help you find an answer to your question?

3 replies

gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • Best Answer
  • November 7, 2021

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.


mathiku
Supporter
Forum|alt.badge.img+7
  • Author
  • Supporter
  • November 8, 2021
gazza wrote:

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.

Thank you - although it feels a bit like duct-taping a brand new Porsche it does the trick.


gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • November 8, 2021
mathiku wrote:

Thank you - although it feels a bit like duct-taping a brand new Porsche it does the trick.

I've got a feeling this is a known issue that has recently been fixed.


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