Time Series nodes conflict with String Manipulation (Java Snippets) node.

A few days ago, the Time Series nodes were updated. Since then, every (existing) workflow containing the String Manipulation node (Javasnippet extension) opens with a dialog that the String Manipulation node is not installed and offers to install it for me. But then refuses to install the nodes, because they are already installed!

MacOS 14.3 (aarch64)
KNIME 5.2.0 (aarch64)
Time Series Extension 1.0.0.202401242140 org.knime.features.time_series.feature.group
KNIME Javasnippet 5.2.0.v202310301555 org.knime.features.javasnippet.feature.group

On starting KNIME, I see all these errors in the Console pane:

ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.twoports.RuleEngineFilter2PortsNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.RuleEngineNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.preproc.stringmanipulation.StringManipulationNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.twoports.RuleEngineSplitter2PortsNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.jsnippet.JavaSnippetNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.pmml.PMMLRuleEditorNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.preproc.stringmanipulation.variable.StringManipulationVariableNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.jsnippet.JavaEditVarNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.decisiontree.FromDecisionTreeNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.RuleEngineVariableNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.pmml.PMMLRuleSetPredictorNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.RuleEngineFilterNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.twoports.RuleEngineVariable2PortsNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.preproc.stringmanipulation.multicolumn.MultiColumnStringManipulationNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.twoports.RuleEngine2PortsNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.totable.RulesToTableNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
ERROR RepositoryManager               Node 'org.knime.base.node.rules.engine.RuleEngineSplitterNodeFactory' from plugin 'org.knime.jsnippets' could not be created. The corresponding plugin bundle could not be activated!
WARN  NodeFactoryExtension            Could not create node factory
WARN  NodeFactoryExtension            Could not create node factory
WARN  NodeFactoryExtension            Could not create node factory
WARN  NodeFactoryExtension            Could not create node factory

If I uninstall the Time Series Extension and restart KNIME, there are no errors in the console, and the String Manipulation node is found. But then there are no Time Series nodes available.

I have checked also on Win10-64/KNIME-5.2.0 and this is not a problem on Windows.

(the other)
Simon

@sauberns unfortunately this seems to be a constant problem with Apple silicon machines. Extensions will not be installed correctly and the system not recognizing that an extension is already installed. It seems to randomly affect various extensions.

I have not yet seen enough focus on this problem (yet). My current ‘solution’ is to use the intel version of KNIME on my M1 machine. This does work but I am missing out on the 20% performance boost.

@ScottF it would be great if there could be a general fix for this.

Hi @sauberns,

This is very curious. I just tried it in KNIME AP 5.2.1 (internal build, to be released soon) and 5.3 (nightly) on my M1 mac with KNIME aarch64 builds. I can use both extensions Timeseries and Javasnippet fine together and don’t get any warnings (note the nodes in the workflow in the background).

Did you upgrade KNIME from an older version? And you say it worked with the previous version of the Timeseries extension?

2 Likes

@carstenhaubold this problem seems to (randomly) pop up with various extensions under somewhat mysterious circumstances. It is not reliably reproducible on all (M1) machines only once it has ‘affected’ one machine with certain packages (if this is the same phenomenon at all - which is my guess). This makes it hard to pin it down because the (debug) logfiles do not give you much ideas. It seems mainly to occur on Apple Silicon machines.

Yes I am aware such problems are the most fun to find and fix where the user cannot provide a clear error that can be reproduced on any similar machine :slight_smile:

AP-20587, AP-19894, AP-19918

1 Like

@mlauber71 the mentioned tickets are resolved, at least for 5.1 and 5.2 I think.

1 Like

@steffen_KNIME yes, but the underlying problems might still persist. Question is why there are always new problems popping up with extensions not being correctly identified and installed …

New install of 5.2. Previously using 4.7.8. And yes, a few days ago there were no errors in the console and the String Manipulation node could be found. Only after the last update of the Time Series Extension did errors appear.

So today the String Manipulation (Javasnippet) nodes won’t load. But I don’t have the Time Series Extension installed. Except the Node Repository thinks that I do have all the Time Series nodes installed! :weary:

And today the String Manipulation nodes load OK, but some of the CDK nodes are shunned:

ERROR CDKNodeUtils                    Failed to load the InChIGeneratorFactory.
WARN  NodeFactoryExtension            Could not create node factory
WARN  NodeFactoryExtension            Could not create node factory

@sauberns have you tried to install the Intel version of KNIME?

Seems to work. All nodes present. But also get ‘can’t access tmp directory’ errors, and some ‘Could not create node factory’ errors without identifying problem extension.

WARN  Create File Name (legacy) 2:25:9     Selected directory '/private/tmp/knime_tc_ymspt5zr8xzc' cannot be accessed!
WARN  Create File Name (legacy) 2:26:9     Selected directory '/private/tmp/knime_tc_lwvx5pfagqfo' cannot be accessed!
WARN  NodeFactoryExtension            Could not create node factory
WARN  NodeFactoryExtension            Could not create node factory

I’ll monitor for a few days to see how it goes.

1 Like

Have updated aarch64 version to 5.2.1. Same problem. Sometimes only the CDKnodes are rejected and the String Manipulation node is found, sometimes the JavaSnippet nodes are all rejected.
The Intel version continues to behave.
On the plus side, the inverted Splash Screen no longer happens!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.