Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running python3 main.py -u bolt://localhost:7687 -n neo4j -p redacted -d /var/lib/neo4j/import #2

Open
githubjohnk3 opened this issue Oct 25, 2024 · 0 comments

Comments

@githubjohnk3
Copy link

Updating the Database with the latest CWE Files...
Download path: /var/lib/neo4j/importmitre_cwe/
cwec_v4.15.xml.zip unzipped successfully

Transforming file /var/lib/neo4j/importmitre_cwe/cwec_v4.15.xml
/var/lib/neo4j/importmitre_cwe/cwec_v4.15.xml
/var/lib/neo4j/importmitre_cwe/cwec_v4.15.json

Updating the Database with the latest CAPEC Files...
Download path: /var/lib/neo4j/importmitre_capec/
Executing command: dos2unix /var/lib/neo4j/importmitre_capec/capec_v3.9.xml
File /var/lib/neo4j/importmitre_capec/capec_v3.9.xml transformed to unix format
Transforming file /var/lib/neo4j/importmitre_capec/capec_v3.9.xml
/var/lib/neo4j/importmitre_capec/capec_v3.9.xml
/var/lib/neo4j/importmitre_capec/capec_v3.9.json
\Start cleaning Data from from existing nodes and relationships
Deleting CPE
Error occurred: module 'neo4j.exceptions' has no attribute 'CypherError'
(env) neo4j@ip-172-31-20-37:~/GraphKer$

My neo4j won't start with this line in the conf file: cypher.lenient_create_relationship = true

So i commented it out and neo4j started. I couldn't find anything helpful about this setting so here I am... I am assuming that this cypher error is related to this setting?

versions
neo-cli/noble 0.6.1-1 amd64
neo4j-enterprise/stable 1:4.1.13 all
neo4j/stable,now 1:4.1.13 all [installed]

Python3.12.3

Package Version


beautifulsoup4 4.9.3
certifi 2024.8.30
charset-normalizer 2.0.12
circuitbreaker 2.0.0
dos2unix 1
idna 3.10
jq 1.8.0
neo4j 4.3.9
pip 24.0
pytz 2024.2
requests 2.26.0
soupsieve 2.6
urllib3 1.26.20
xmltodict 0.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant