Closed guardiande closed 5 years ago
... same problem here :(
I have the same problem here:
I upgraded my Node-Red install to version 0.20.2 and now it's constantly restarting or crashing with the following error:
18 Mar 14:49:50 - TypeError: Converting circular structure to JSON
at JSON.stringify (
Have Openhab nodes available (node-red-contrib-openhab2 - v1.1.4) Have huemagic nodes available that contain a Hue bridge configuration (node-red-contrib-huemagic - v1.9.0) Just having my openhab nodes in a flow does not cause any problems Just having the HueMagic nodes in a flow does not cause any problems
A soon as you make the combination, only when the hue bridge is configured, the above error is triggered.
I've also tried changing to other HUE nodes and this triggers the exact same behaviour.
Downgrading to version 0.18.x seems to resolve the issue.
Please point me in the right direction for a possible solution.
Thnx!
Node-red version: 0.20.2 node.js version: 10.15.3 OS: Ubuntu 18.04 LTS
Working on a fix for Node-RED - expect 0.20.3 soon.
Thats great news! any estimate on the ETA? Just for me to determine if it is worth using the workaround as described above.
thnx!
ETA: either later today, or Wednesday.
soon enough. many thanks!
Just open the code (77-openhab2.js) and comment out the two log lines causing the issue. Works great after that. These are just log statement, line 100 and search for the other.
Fixed in version 1.1.5
I just upgraded from 0.19.6 to 0.20 and node red crashed with this exception:
Uncommenting line 100 in
node-red-contrib-openhab2/77-openhab2.js
solves the problem for the moment:Not sure if my OpenHAB or Node Red flow setup is somehow special that it contains circles.