Gds 2.5.4 crashes neo4j desktop 1.5.9 on install and restart

Please keep the following things in mind:

  1. did you search for what you want to ask before posting?
  2. please use tags for additional info
  3. use a self-descriptive title

Please format code + Cypher statements with the code </> icon, it's much easier to read.

Please provide the following information if you ran into a more serious issue:

  • neo4j version, desktop version, browser version
  • what kind of API / driver do you use
  • screenshot of PROFILE or EXPLAIN with boxes expanded (lower right corner)
  • a sample of the data you want to import
  • which plugins / extensions / procedures do you use
  • neo4j.log and debug.

I am using the neo4j 1.5.9, dbms 5.3.0 , my dbms shuts down once I install the gds 2.5.4 via plugins but dbms starts fine once I uninstall the GDS plugin but the dbms starts fine with the APOC plugin installed.

please find the neo4j.log

2023-11-20 04:20:31.453+0000 WARN Use of deprecated setting 'dbms.windows_service_name'. It is replaced by 'server.windows_service_name'.
2023-11-20 04:20:31.453+0000 WARN Use of deprecated setting 'dbms.jvm.additional'. It is replaced by 'server.jvm.additional'.
2023-11-20 04:20:31.454+0000 WARN Use of deprecated setting 'dbms.memory.pagecache.size'. It is replaced by 'server.memory.pagecache.size'.
2023-11-20 04:20:31.454+0000 WARN Use of deprecated setting 'dbms.memory.heap.max_size'. It is replaced by 'server.memory.heap.max_size'.
2023-11-20 04:20:31.454+0000 WARN Use of deprecated setting 'dbms.memory.heap.initial_size'. It is replaced by 'server.memory.heap.initial_size'.
2023-11-20 04:20:31.457+0000 INFO Starting...
2023-11-20 04:20:39.999+0000 INFO ======== Neo4j 5.3.0 ========
2023-11-20 04:20:40.327+0000 INFO This instance is ServerId{4073c088} (4073c088-3ca5-4314-a7bb-b7f77cecd807)
2023-11-20 04:20:54.294+0000 INFO Default database 'neo4j' is created
2023-11-20 04:20:59.038+0000 INFO Sending metrics to CSV file at C:\Users\USER.Neo4jDesktop\relate-data\dbmss\dbms-8e86a79e-3abc-47a6-83aa-28ccd0c3cd77\metrics
2023-11-20 04:20:59.170+0000 INFO Bolt enabled on localhost:7687.
2023-11-20 04:20:59.175+0000 INFO Bolt (Routing) enabled on localhost:7688.
2023-11-20 04:21:02.917+0000 INFO Remote interface available at http://localhost:7474/
2023-11-20 04:21:02.961+0000 INFO id: 02C1C263B46710A5D8B0CC3AD2140ACF12F29CE132B62893726EB27D1AAFE0F4
2023-11-20 04:21:02.962+0000 INFO name: system
2023-11-20 04:21:02.978+0000 INFO creationDate: 2023-11-20T04:20:47.333Z
2023-11-20 04:21:02.979+0000 INFO Started.
2023-11-20 04:21:16.134+0000 ERROR [bolt-7] Terminating connection due to unexpected error
org.neo4j.bolt.protocol.error.streaming.BoltStreamingWriteException: Failed to finalize batch: Cannot write result response
at org.neo4j.bolt.protocol.common.transaction.result.ResultHandler.onFinish(ResultHandler.java:116) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.fsm.AbstractStateMachine.after(AbstractStateMachine.java:126) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.fsm.AbstractStateMachine.process(AbstractStateMachine.java:99) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.connector.connection.AtomicSchedulingConnection.lambda$submit$4(AtomicSchedulingConnection.java:113) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.connector.connection.AtomicSchedulingConnection.executeJob(AtomicSchedulingConnection.java:336) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.connector.connection.AtomicSchedulingConnection.doExecuteJobs(AtomicSchedulingConnection.java:306) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at org.neo4j.bolt.protocol.common.connector.connection.AtomicSchedulingConnection.executeJobs(AtomicSchedulingConnection.java:212) ~[neo4j-bolt-5.3.0.jar:5.3.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: io.netty.channel.StacklessClosedChannelException
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source) ~[netty-transport-4.1.84.Final.jar:4.1.84.Final]
2023-11-20 04:33:48.579+0000 INFO Neo4j Server shutdown initiated by request
2023-11-20 04:33:48.579+0000 INFO Stopping...
2023-11-20 04:33:48.579+0000 INFO Stopped.

Hello @olojolabamiji ,
We had an error in our version mapping. As you can see at Supported Neo4j versions - Neo4j Graph Data Science for Neo4j 5.3 - GDS 2.4.6 should be installed by Neo4j Desktop.

We just pushed a fix, so it should resolve itself if you reinstall the GDS plugin.
I would recommend though, to use the latest Neo4j version

1 Like

thank you for the prompt response. I installed the GDS 2.4.6 and it works well. Thanks again. I also noticed the syntax of using the gds has changed like create to project. I have been able to make the necessray update to my python code but I have challenges with dropping the created graph in python. It used to be " call gds.drop("Graph")" which worked. I tried using the "gds.graph.nodeProperties.drop" but it gives an error
py2neo.errors.ClientError: [Statement.SyntaxError] Procedure call does not provide the required number of arguments: got 1 expected at least 2 (total: 3, 1 of which have default values).

Procedure gds.graph.nodeProperties.drop has signature: gds.graph.nodeProperties.drop(graphName :: STRING?, nodeProperties :: ANY?, configuration = Map{} :: MAP?) :: graphName :: STRING?, nodeProperties :: LIST? OF STRING?, propertiesRemoved :: INTEGER?
meaning that it expects at least 2 arguments of types STRING?, ANY?
Description: Removes node properties from a projected graph. (line 2, column 1 (offset:
9))
" call gds.graph.nodeProperties.drop("Graph")"

sorted the syntax issue relating to the drop. thanks

1 Like

Good morning Florentin, I upgraded the GDS to 2.5.6 and the same problem I had before installing 2.4.6 started all over again. I am running desktop 1.5.9 version with the APOC 5.3.0. The GDS 2.5.6 crashes the desktop on startup. Is it something you are aware off? If I want to re-install the 2.4.6 how do I go about it as it was working fine.
best regards

Hello @olojolabamiji ,
thanks for reporting this issue and sorry for the inconvenience!
I am very embarrassed to say, that the fix was not applied on all places.
Now we updated them all and it should be running smoothly again :crossed_fingers: