-
Notifications
You must be signed in to change notification settings - Fork 32
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
Connect to OrientDB through gremlin-python #143
Comments
|
As you can see in |
That's why i suggested http://tinkerpop.apache.org/docs/current/reference/#connecting-via-python |
I will try this. I also suggest you update the dockerfile to explicitly expose port 8182 (: (Dockerfile) |
Hi, I run a docker image with the gremlin server:
Here's a python snippet to connect with the generic gremlin client and execute a query:
|
For the OrientDB section of http://wiki.bitplan.com/index.php/Gremlin_python#Connecting_to_Gremlin_enabled_graph_databases |
Could you please describe the version issue? |
The version conflict is just an assumption. Steps to reproduce:
result:
|
Hi Wolfgang, it looks like a serialization issue. The log of the gremlin server inside docker shows:
I've had similar issues when using gremlin with ODB from java and solved it by specifying an IORegistry or changing the default serialization method. I'm not sure how to do this in python. |
While this may be the wrong place for such an inquiry, I try, nonetheless:
Using gremlin-python, how can I connect to OrientDBs gremlin-server?
I have tried running
docker run -d --name orientdb -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:3.0.0RC2
with the followingAlso, with variations in the connect string. This results in a timeout.
The text was updated successfully, but these errors were encountered: