opensemanticsearch / open-semantic-etl

Python based Open Source ETL tools for file crawling, document processing (text extraction, OCR), content analysis (Entity Extraction & Named Entity Recognition) & data enrichment (annotation) pipelines & ingestor to Solr or Elastic search index & linked data graph database
https://opensemanticsearch.org/etl
GNU General Public License v3.0
255 stars 69 forks source link

Updated the py2neo version to use v3 #77

Closed ptmaroct closed 5 years ago

ptmaroct commented 5 years ago

The latest version of py2neo, v4 has breaking changes in API and hence the export_neo4j.py is not working. When this dependency was uninstalled and the version 3.1.2 was installed, the functionality worked!

Mandalka commented 5 years ago

I upgraded to newest Neo4j and the new py2neo 4 seems to work with the py2neo lib instead of underlaying Neo4j Driver for Python, so i changed the pip3 install to use py2neo 4 again.

Maybe for upgrading you need to pip3 uninstall py2neo first if yet pinned to version 3.x

Maybe the DB format changed, so Neo4j db has to be deleted like described below.

Please reopen #76 (or i will if further tests on fresh debian will cause problems) if yet problems after upgrade to Neo4j 3.5.2 and Py2neo 4.x and newest Open Semantic ETL.

Mandalka commented 5 years ago

Since doesn't work on fresh Debian pinned again to py2neo 3.x until upgrade when migrate to new ID/URI instead string based entities in Neo4j.