knime-mpicbg / knime-scripting

knime-scripting includes scripting extensions for KNIME to integrate R, Matlab, Python and Groovy scripts. These extensions include a collection of nodes to develop and deploy templates in the respective languages.
https://github.com/knime-mpicbg/knime-scripting/wiki
Other
43 stars 25 forks source link

open in python should support linux #29

Closed niederle closed 3 years ago

niederle commented 9 years ago

linux is reported as unsupported platform. is there any reason, why?

fmeyenhofer commented 9 years ago

no, there shouldn't be. The python server at the CBG was a Linux server (at least when I was working there). So I don't know who and why this reported. Is there more information?

niederle commented 9 years ago

no, there is no further documentation at the source code. look at line 84: https://github.com/knime-mpicbg/knime-scripting/blob/develop/de.mpicbg.knime.scripting.python/src/de/mpicbg/knime/scripting/python/OpenInPythonNodeModel.java

fmeyenhofer commented 9 years ago

ok right. The server runs in linux (there is no script for windows yet) but the node (OpenInPython) does not support linux (should read the title of the issue ;)

This might help http://stackoverflow.com/questions/9952680/firing-a-command-through-terminal-in-ubuntu-using-java-runtime-exec .. at least for Ubuntu

together with

System.getProperty("os.name");

... this should pretty much be the solution will go after this asap. (Have already a Ubuntu VM for testing...)