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(CallbackClient.java:397)
	at py4j.CallbackClient.sendCommand(CallbackClient.java:356)
	at py4j.reflection.PythonProxyHandler.invoke(PythonProxyHandler.java:106)
	at jdk.proxy10/jdk.proxy10.$Proxy46.execute(Unknown Source)
	at org.knime.python3.nodes.CloseablePythonNodeProxy.execute(CloseablePythonNodeProxy.java:314)
	at org.knime.python3.nodes.DelegatingNodeModel.lambda$4(DelegatingNodeModel.java:145)
	at org.knime.python3.nodes.DelegatingNodeModel.runWithProxy(DelegatingNodeModel.java:204)
	at org.knime.python3.nodes.DelegatingNodeModel.execute(DelegatingNodeModel.java:143)
	at org.knime.core.node.NodeModel.executeModel(NodeModel.java:549)
	at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1267)
	at org.knime.core.node.Node.execute(Node.java:1041)
	at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:595)
	at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:98)
	at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:201)
	at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:117)
	at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:367)
	at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:221)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
	at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
Caused by: py4j.Py4JNetworkException: Error while sending a command: c
p0
execute
to7
ro8
e

	at py4j.ClientServerConnection.sendCommand(ClientServerConnection.java:253)
	at py4j.CallbackClient.sendCommand(CallbackClient.java:384)
	... 20 more
Caused by: py4j.Py4JException: Received empty command
	at py4j.ClientServerConnection.sendCommand(ClientServerConnection.java:236)
	... 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.

@artem
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

UPDATE
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.