orientechnologies / pyorient

OrientDB driver for Python that uses the binary protocol.
Apache License 2.0
119 stars 38 forks source link

Orient 3.1.0 - protocol versions #35

Open DBusAI opened 4 years ago

DBusAI commented 4 years ago

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."

marcauberer commented 4 years ago

This hopefully will be fixed in august/september. Stay tuned ;)

Nix3c3r commented 3 years ago

Is there any progress yet?

azaroth42 commented 3 years ago

~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 :(

116davinder commented 3 years ago

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.

brucetony commented 3 years ago

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.