Geospatial View node bug

I am participating in JustKnimeIt challenge and to learn how Geospatial nodes work I picked the solution from one of the participants:

However I am getting the error for Geospatial View (other nodes in this workflow work fine) node when I try to visualize my map, or edit the existing I am getting the message:

ERROR Geospatial View      3:6        Execute failed: Error while sending a command.

Here is the full error log:

2023-07-28 14:10:45,394 : ERROR : KNIME-Worker-2-Geospatial View 3:8 :  : Node : Geospatial View : 3:8 : Execute failed: Error while sending a command.
py4j.Py4JException: Error while sending a command.
	at py4j.CallbackClient.sendCommand(
	at py4j.CallbackClient.sendCommand(
	at py4j.reflection.PythonProxyHandler.invoke(
	at jdk.proxy10/jdk.proxy10.$Proxy46.execute(Unknown Source)
	at org.knime.python3.nodes.CloseablePythonNodeProxy.execute(
	at org.knime.python3.nodes.DelegatingNodeModel.lambda$4(
	at org.knime.python3.nodes.DelegatingNodeModel.runWithProxy(
	at org.knime.python3.nodes.DelegatingNodeModel.execute(
	at org.knime.core.node.NodeModel.executeModel(
	at org.knime.core.node.Node.invokeFullyNodeModelExecute(
	at org.knime.core.node.Node.execute(
	at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(
	at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(
	at org.knime.core.node.workflow.NodeExecutionJob.internalRun(
	at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(
	at org.knime.core.util.ThreadUtils$
	at java.base/java.util.concurrent.Executors$ Source)
	at java.base/ Source)
	at org.knime.core.util.ThreadPool$
	at org.knime.core.util.ThreadPool$
Caused by: py4j.Py4JNetworkException: Error while sending a command: c

	at py4j.ClientServerConnection.sendCommand(
	at py4j.CallbackClient.sendCommand(
	... 20 more
Caused by: py4j.Py4JException: Received empty command
	at py4j.ClientServerConnection.sendCommand(
	... 21 more

It seems that the problem is with the communication between Java and Python inside the package, I could not find any settings for Geospatial in Knime preferences. Am I missing anything - should I install special Python environment or packages?

Re-installation of the extension did not help. Some details: I use Knime 4.7.4 on Kubuntu 20.04.

I posted the workflow you’re looking at. I’m not an expert on the internal structure of the Geospatial Analysis extension., but as far as I know its “standalone”, i.e. doesn’t depend on a background Python environment. I’m running Windows 11 and KAP 4.7.5. Could Linux br the problem for you? Hopefully someone more knowledgable about this extension can weigh in.

1 Like

I ran the same workflow on AP 4.7.2 on Windows 10 and I had no issues at all. So perhaps this might be an issue related to Linux.

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