Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
3.3.8
-
None
-
None
Description
Steps to reproduce:
So i wanted to tryout gremlin-python. I found https://pypi.org/project/gremlinpython/ and happily added
gremlinpython
to my requirements.txt
sudo -H pip install -r requirements.txt
ran successfully- great. Let's find some python code to play with .
has it.
Oh - I need a server ...
Let's download it
unzip it and create a starter file for it as outlined in the example above:
gspath=$HOME/Downloads/apache-tinkerpop-gremlin-server-3.4.3#$gspath/bin/gremlin-server.sh install org.apache.tinkerpop gremlin-python 3.4.3$gspath/bin/gremlin-server.sh $gspath/conf/gremlin-server-modern-py.yaml
It doesn't work - get a 599 timeout from tornado.
Look at:
Why can't I connect to Gremlin-Server?
Try hints e.g. using 0.0.0.0 as host
Check the startup.
Oops - there is an error:
ServerGremlinExecutor - Could not initialize gremlin-python GremlinScriptEngine as init script could not be evaluated
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: gremlin-python is not an available GremlinScriptEngine
at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
Same for gremlin-jython.
sudo port install jython
does not change the situation.
At least there are some things that would improve the situation:
- add a complete example for python3 including requirements.txt, python code install script and description how to configure and start server
- fix the gremlin-server-modern-py.yaml
the "-i" optione mentioned in this file does not seem to exist any more.
Attachments
Issue Links
- links to