nodebox/nodebox — Issue #22: Problems with data stamping in templates
Author: rjack
Created: 2012-01-10 14:21:14+00:00
State: open

Hello,

I'm following the [Data Visualization using Data Stamping][] tutorial using NodeBox 2.2.1 on Windows XP.

In certain places I cannot use `stamp` as it returns always the default value.

Steps to reproduce:

1. follow the turorial
2. at step seven, don't hardcode the `14` value in the Points value of line1 but try using `stamp("data_row_count", 1)`
3. an error occurs: **nodebox.node.ProcessingError: Error occurred while updating parameter : Parameter points: value 1 is too small. (minimum=2.0)Caused by:
java.lang.IllegalArgumentException: Parameter points: value 1 is too small. (minimum=2.0)**

Looks like `stamp` connot find a value for `"data_row_count"` and uses the default value.

Strage things:

* With `stamp("data_row_count", 1)` as the Points value, if I deselect Toggle Expression 14 appears.
* it works as expected if I put `stamp("data_row_count", 1)` as Text value of a textpath node

Tell me if you need additional details.

Cheers,
Giacomo

[Data Visualization using Data Stamping]: http://beta.nodebox.net/documentation/using/data-stamping.html