bartbutenaers / node-red-contrib-ui-svg

A Node-RED widget node to show interactive SVG (vector graphics) in the dashboard
Apache License 2.0
94 stars 27 forks source link

Error: "None of the specified bindings fields ..." #88

Closed IoTPlay closed 3 years ago

IoTPlay commented 3 years ago

I stream in info from a solar system to an SVG panel - and every so often I get this message - it looks like this is a field sent to SVG which does not exist in the SVG fields defined. Error message below. "None of the specified bindings fields (in the config screen or data-bind-text or data-bind-values) are available in this message."

Am I on the right track?

bartbutenaers commented 3 years ago

Hi Jéan, I think you send - at those moments - a message with msg.topic == "databind", but none of binding fields (specified in the "Bindings" tabsheet) is available in that message. If you send a message with that topic, the node assumes you want to use data binding, so at least one of the data binding fields (from the "Bindings" tabsheet) should be available in that message.

Does that make sense in your case? Can you verify:

If your setup is ok, then perhaps you found a bug ... Bart

IoTPlay commented 3 years ago

Sorted out, it happens when I send a payload which does not exist in the svg def. A bit difficult to fault find - but found it, thank you

IoTPlay commented 3 years ago

closed