Knime shutdowns/crashes (but ..)

Hi, I am trying to make a component, it ALWAYS runs very well the first time I executed and opened the Python views. However, everytime it’s ran the second time around, it shutdowns my Knime software abruptly.

Since I can’t share the whole (and complex) sections inside the component, here’s a stripped down version of it (along with dummy data to feed Plotly) that mimics what it does pretty well. Basically, it has a variable that determines which two Python views are chosen for views, out of all four choices.

Python error test.knwf (2.2 MB)

Here’s the latest error I received after the last crash:

error log.log (227.3 KB)

And not sure if this is important, but here’s how my Knime.ini file looks like:

Please have a look, thanks!

Okay, from the latest test, it didn’t shutdown my Knime. Here’s the errors I received:

It is implying that it’s a memory error of some kind.

@badger101 maybe you could try a fresh installation of KNIME 5.4 and the Python extension and make sure that one is used when using Python and then try again. On my macOS M1 KNIME 5.4 installation I was not able to reproduce any error.

Python error test.knwf (99.9 KB)