Dear All,
I have just installed the 64-bit version of KNIME on Windows7. There seem to be some issues with the JPython Script nodes when importing other modules - eg import re, or import os. I get the following sort of error in the log, whereas the same node executes fine under the 32-bit version of KNIME. Also, the JPython nodes execute ok under 64-bit if extra modules aren't imported. Any help/advice greatly appreciated:
2011-07-15 00:50:25,492 ERROR KNIME-Worker-1 JPython Script 1:1 : Execute failed: Jython error (see console for error log).
2011-07-15 00:50:25,492 DEBUG KNIME-Worker-1 JPython Script 1:1 : Execute failed: Jython error (see console for error log).
java.lang.Exception: Jython error (see console for error log).
at org.knime.ext.jython.PythonScriptNodeModel.execute(PythonScriptNodeModel.java:256)
at org.knime.core.node.NodeModel.execute(NodeModel.java:668)
at org.knime.core.node.NodeModel.executeModel(NodeModel.java:524)
at org.knime.core.node.Node.execute(Node.java:873)
at org.knime.core.node.workflow.SingleNodeContainer.performExecuteNode(SingleNodeContainer.java:840)
at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:100)
at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:124)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:239)
Caused by: Traceback (innermost last):
File "<>", line 25, in ?
ImportError: no module named re
at org.python.core.Py.ImportError(Unknown Source)
at org.python.core.imp.import_first(Unknown Source)
at org.python.core.imp.import_name(Unknown Source)
at org.python.core.imp.importName(Unknown Source)
at org.python.core.ImportFunction.load(Unknown Source)
at org.python.core.ImportFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.__builtin__.__import__(Unknown Source)
at org.python.core.imp.importOne(Unknown Source)
at org.python.pycode._pyx0.f$0(<>:25)
at org.python.pycode._pyx0.call_function(<>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.knime.ext.jython.PythonScriptNodeModel.execute(PythonScriptNodeModel.java:251)
... 11 more