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

Prevent maximum recursion depth failure

    XMLWordPrintableJSON

Details

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

    Description

      There have been at least two separate reported errors around "maximum recursion depth":

      https://groups.google.com/d/msg/gremlin-users/9X9wuUnrFAQ/-cIUYPDYCwAJ

      https://stackoverflow.com/q/51741181/1831717

      Typical error message looks like this:

      ERROR | tornado.application | function: handle_callback_exception | line: 638 | Exception in callback functools.partial(<function wrap.<locals>.null_wrapper at 0x1097911e0>)
      Traceback (most recent call last):
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/ioloop.py", line 605, in _run_callback
          ret = callback()
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/stack_context.py", line 277, in null_wrapper
          return fn(*args, **kwargs)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/iostream.py", line 562, in wrapper
          return callback(*args)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/stack_context.py", line 345, in wrapped
          raise_exc_info(exc)
        File "<string>", line 4, in raise_exc_info
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/stack_context.py", line 316, in wrapped
          ret = fn(*args, **kwargs)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/websocket.py", line 869, in _on_frame_length_64
          self._read_frame_data(False)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/websocket.py", line 849, in _read_frame_data
          self._on_masked_frame_data if masked else self._on_frame_data)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/lib/python3.6/site-packages/tornado/iostream.py", line 319, in read_bytes
          assert isinstance(num_bytes, numbers.Integral)
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/bin/../lib/python3.6/abc.py", line 184, in __instancecheck__
          if subclass in cls._abc_cache:
        File "~/.local/share/virtualenvs/caladrius-5FocEuMm/bin/../lib/python3.6/_weakrefset.py", line 75, in __contains__
          return wr in self.data
      RecursionError: maximum recursion depth exceeded in comparison
      

      doesn't seem to happen on 3.2.9.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: