Skip to content

Not working with Gremlins 3.3.3 #2

@cscetbon

Description

@cscetbon

Hey,

gremlinpython works well with this Gremlins version however I got issues with your package(ipython-gremlin==1.0.0). The following code does not return :

In [1]: %load_ext gremlin
In [2]: %gremlin.connection.set_current ws://gremlins:8182/gremlin
Alias-- gremlins --created for database at ws://gremlins:8182/gremlin
Now using connection at ws://gremlins:8182/gremlin
In [3]: %gremlin g.V()     <====== Stuck here

Here is what I can see in the gremlins server logs https://pastebin.com/raw/MQfxGpN0

The same code with gremlinpython does the job :

In [1]: from gremlin_python import statics
   ...: from gremlin_python.structure.graph import Graph
   ...: from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
   ...: statics.load_statics(globals())
   ...: graph = Graph()
   ...: g = graph.traversal().withRemote(DriverRemoteConnection('ws://gremlins:8182/gremlin','g'))

In [2]: g.V().toList()
Out[2]: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions