[
https://issues.apache.org/jira/browse/TINKERPOP-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-2021.
---------------------------------------
Resolution: Fixed
Assignee: stephen mallette
Fix Version/s: 3.3.4
3.4.0
Seemed to be related to a bad merge - fixed with
https://github.com/apache/tinkerpop/commit/69bbbed7b4282c5a7f7439c06e7113c0d99f6566
and a test was added here to protect from regressions:
https://github.com/apache/tinkerpop/commit/425bcd032adc9967a6b575da8042df3806671825
> Prevent maximum recursion depth failure
> ---------------------------------------
>
> Key: TINKERPOP-2021
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2021
> Project: TinkerPop
> Issue Type: Bug
> Components: python
> Affects Versions: 3.3.3
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Major
> Fix For: 3.4.0, 3.3.4
>
>
> 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:
> {code}
> 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
> {code}
> doesn't seem to happen on 3.2.9.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)