prov-db-connector
prov-db-connector copied to clipboard
CypherSyntaxError when trying to execute the examples with neo4j
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?
I will try to reproduce this issue today.
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
Hi has this issue being fixed yet? Still getting the same error despite downgrading the library and the neo4j library too.