Coder Social home page Coder Social logo

gremlin-python-example's People

Contributors

henzesberger avatar nedlowe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gremlin-python-example's Issues

Installation fails due to conflicting tornado version

Hi, users are unable to run gremlin-python-example due to dependency conflict with tornado package.
As shown in the following full dependency graph of gremlin-python-example, gremlin-python-example requires tornado,while gremlinpython requires tornado>=4.4.1,<5.0.

According to pip’s “first found wins” installation strategy, tornado==6.0.3 is the actually installed version. However, tornado==6.0.3 does not satisfy tornado>=4.4.1,<5.0.

Dependency tree

gremlin-python-example-master
| +-gremlinpython(version range:*)
| | +-aenum(version range:>=1.4.5)
| | +-isodate(version range:>=0.6.0)
| | | +-six(version range:*)
| | +-six(version range:>=1.10.0)
| | +-tornado(version range:>=4.4.1,<5.0)
| +-tornado(version range:*)

Thanks for your help.
Best,
Neolith

gremlin-server

Hello, I am very happy that you can open the code. I have a problem now. Now every time I make a query, you have to establish a connection here. Why didn't you release the connection after establishing the connection?

Tornado throws Stream closed error

I have followed everything you did in your app.py and I am using chalice too. But somehow, when I try to run my lambda functions, I get this error. I am trying to connect to a Neptune db instance and check if I can create my first vertex.
Traceback (most recent call last): File "/var/task/chalice/app.py", line 1104, in _get_view_function_response response = view_function(**function_args) File "/var/task/app.py", line 40, in getPosts raise e File "/var/task/app.py", line 33, in getPosts g.addV("user").property(T.id, 1).next() File "/var/task/gremlin_python/process/traversal.py", line 89, in next return self.__next__() File "/var/task/gremlin_python/process/traversal.py", line 48, in __next__ self.traversal_strategies.apply_strategies(self) File "/var/task/gremlin_python/process/traversal.py", line 573, in apply_strategies traversal_strategy.apply(traversal) File "/var/task/gremlin_python/driver/remote_connection.py", line 149, in apply remote_traversal = self.remote_connection.submit(traversal.bytecode) File "/var/task/gremlin_python/driver/driver_remote_connection.py", line 55, in submit result_set = self._client.submit(bytecode) File "/var/task/gremlin_python/driver/client.py", line 111, in submit return self.submitAsync(message, bindings=bindings).result() File "/var/task/gremlin_python/driver/client.py", line 127, in submitAsync return conn.write(message) File "/var/task/gremlin_python/driver/connection.py", line 55, in write self.connect() File "/var/task/gremlin_python/driver/connection.py", line 45, in connect self._transport.connect(self._url, self._headers) File "/var/task/gremlin_python/driver/tornado/transport.py", line 36, in connect lambda: websocket.websocket_connect(url)) File "/var/task/tornado/ioloop.py", line 576, in run_sync return future_cell[0].result() tornado.simple_httpclient.HTTPStreamClosedError: Stream closed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.