nodebox crashes everytime with a delete and compund node
Hello, I created a very nice generative design system. While finishing the work, I just connected a rectangle node to a delete node with another compound node, which also has that rectangle node as one of its items. I think I created an infinite loop. Nodebox crashed immediately and as soon as I open the file again, Nodebox instantly crashes with a bunch or errors. Please help me, I spent 3 days on it and I have started to like Nodebox so much. I attached the file. Please if anyone can open it, just remove the delete node and save it.
Thank you very much.
- generativeSystem.ndbx 106 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by john on 22 Jan, 2016 12:08 AM
Hi Buraque,
I was able to open the file and delete the delete node. I also tidied up the main network a bit - it's a good habit to get into with NodeBox.
File attached.
You could have done this yourself. When the error messages pop up just hit the close button (several times if need be), then delete the node, dismiss more error messages, save and quit.
The network seems to be working, but some of the subnetworks crash with the infamous heisenbug (see "Intermittent NodeBox Bug" in the NodeBox 2 and 3 Forum). This bug occurs when you copy/paste subnetworks and create duplicate nodes with the same name. The bug should be fixed in the next release, but in the meantime you can drill into your subnetworks and rename the offending nodes (referenced in error message).
There is also something else wrong with this network that I've never seen before. The subnetwork nodes are drawn in the wrong place so that incoming nodes arrive a bit to the right of the nodes. This may be a corruption of some kind in the ndbx file. I would recommend rebuilding this network from scratch if you can.
Interesting design. Please consider sharing it when you're done.
Welcome to the NodeBox community!
John
Support Staff 2 Posted by john on 22 Jan, 2016 12:11 AM
P.S. You can't create infinite loops in NodeBox - or loops of any kind. But there sure was something about that Delete node NodeBox didn't like.
3 Posted by buraquex on 22 Jan, 2016 12:54 AM
Thank you John for quick reply and fixing my file, I really appreciate it.
I should check that weirdness asap.
I am definitely enjoying NodeBox so much, so I will share all my work with you guys. I also have some suggestions which I will later wrlte in a new thread.
Thanks,
buraque
Support Staff 4 Posted by Frederik De Ble... on 22 Jan, 2016 10:05 AM
Note that
ndbx
files are XML files, so you can open them in any text editor (e.g. Sublime Text) and remove nodes from there. Make sure to also delete any connections that the node might have, though.That said, it would make sense to tighten up error handling in the case of badly behaved networks. The error dialogs are annoying...
5 Posted by buraquex on 23 Jan, 2016 10:43 PM
Thank you, Frederik.