pyorient
pyorient copied to clipboard
Orient 3.1.0 - protocol versions
pip install pyorient
import pyorient
client = pyorient.OrientDB("localhost", 2424)
client.db_exists( 'demodb', pyorient.STORAGE_TYPE_MEMORY )
The error - "PyOrientWrongProtocolVersionException: Protocol version 38 is not supported yet by this client."
This hopefully will be fixed in august/september. Stay tuned ;)
Is there any progress yet?
~Works for me in 3.1.x branch - have you tried installing from the git repo?~
Okay, it doesn't give /that/ warning, but it doesn't actually work :(
pyorient==1.5.5 pyorident doesn't with 3.x version of the database, it only supports 2.x version, I just tested with orientdb 2.2 version and it works.
There are community attempts to patch this library to work with OrientDB 3.x, but there hasn't been much progress. If you comment out the version check, everything working with OrientDB 3.0, but using version 3.1+ will cause a decoding error.