prov-db-connector icon indicating copy to clipboard operation
prov-db-connector copied to clipboard

CypherSyntaxError when trying to execute the examples with neo4j

Open Benjamin2107 opened this issue 1 year ago • 3 comments

When trying to execute any of the examples that work with a neo4j db, the same error occurs:

neo4j.exceptions.CypherSyntaxError: {code: Neo.ClientError.Statement.SyntaxError} {message: "Support for setting Cypher Version has been removed (line 2, column 40 (offset: 40)) CYPHER 3.5"}

Changing to an older version of neo4j (4.4.1) didn't work and caused the same error. Removing the CYPHER 3.5 commands in cypher_commands.py causes another error:

neo4j.exceptions.CypherSyntaxError: {code: Neo.ClientError.Statement.SyntaxError} {message: Invalid input '{': expected "+" or "-" (line 2, column 39 (offset: 103)) " MERGE (node:Agent {meta:identifier: {meta:identifier}})"}

Do you know a possible solution for this?

Benjamin2107 avatar May 23 '23 09:05 Benjamin2107

I will try to reproduce this issue today.

B-Stefan avatar May 30 '23 11:05 B-Stefan

If you want, you could check out an older release of the lib. E.g. https://github.com/DLR-SC/prov-db-connector/releases/tag/v0.4.0

B-Stefan avatar May 30 '23 11:05 B-Stefan

Hi has this issue being fixed yet? Still getting the same error despite downgrading the library and the neo4j library too.

parth-kulkarni1 avatar Nov 16 '23 23:11 parth-kulkarni1