RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

RecursionError: maximum recursion depth exceeded

Open sfdcselenium01 opened this issue 4 years ago • 5 comments

RIDE freezes windows 10 for a few minutes, then it recovers with errors in the log:

[Previous line repeated 11 more times] File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 47, in _coloring_task self._coloring_task(selection_content, row+1, 0) File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 45, in _coloring_task self._coloring_task(selection_content, row, col+1) File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 45, in _coloring_task self._coloring_task(selection_content, row, col+1) File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 45, in _coloring_task self._coloring_task(selection_content, row, col+1) [Previous line repeated 4 more times] File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 44, in _coloring_task self._colorize_cell(row, col, selection_content) File "C:\Ride\lib\site-packages\robotide\editor\gridcolorizer.py", line 50, in _colorize_cell cell_info = self._controller.get_cell_info(row, col) File "C:\Ride\lib\site-packages\robotide\controller\macrocontrollers.py", line 171, in get_cell_info steps = self.steps RecursionError: maximum recursion depth exceeded

sfdcselenium01 avatar Aug 11 '20 21:08 sfdcselenium01

Unusual installation path C:\Ride... What is the Python version? What is the RIDE version? How was it installed?

Why must I ask these questions?

HelioGuilherme66 avatar Aug 11 '20 22:08 HelioGuilherme66

@HelioGuilherme66 We can create an issue template.

jnhyperion avatar Aug 12 '20 02:08 jnhyperion

@jnhyperion I don't want to. I explain why in #2097.

HelioGuilherme66 avatar Aug 12 '20 09:08 HelioGuilherme66

RIDE 1.7.4b2 running on Python 3.6.4. RIDE is installed: pip install -U --pre robotframework-ride

sfdcselenium01 avatar Aug 12 '20 14:08 sfdcselenium01

@sfdcselenium01 You should upgrade at least to use 1.7.4.2 (not the Beta2). But it is better to upgrade to new 2.0b1, because there are a lot of fixes. Use this command:

pip install -U --force --pre robotframework-ride==2.0b1

Then confirm the problem does not exist anymore. Thanks.

HelioGuilherme66 avatar Aug 12 '20 17:08 HelioGuilherme66