Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1933

gremlin-python maximum recursion depth exceeded on large responses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.1
    • 3.4.0, 3.3.4, 3.2.10
    • python
    • None

    Description

      gremlin-python fails to deserialize large lists returned from the server, giving the error:

       

      >>> x = g.V().limit(65000).toList()
      Traceback (most recent call last):
        File "/usr/lib/python2.7/logging/_init_.py", line 861, in emit
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/process/traversal.py", line 52, in toList
          return list(iter(self))
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/process/traversal.py", line 70, in next
          return self._next_()
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/process/traversal.py", line 43, in _next_
          self.traversal_strategies.apply_strategies(self)
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/process/traversal.py", line 352, in apply_strategies
          traversal_strategy.apply(traversal)
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/driver/remote_connection.py", line 143, in apply
          remote_traversal = self.remote_connection.submit(traversal.bytecode)
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/gremlin_python/driver/driver_remote_connection.py", line 54, in submit
          results = result_set.all().result()
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 462, in result
          return self.__get_result()
        File "/ascldap/users/bjmoor/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414, in __get_result
          raise exception_type, self._exception, self._traceback
      RuntimeError: maximum recursion depth exceeded while calling a Python object

      Attachments

        Issue Links

          Activity

            People

              davebshow David Brown
              bjmoor Branden Moore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: