Hi everyone, thought I’d share…
Working with Jay on my code and we were getting this recursive error:
An error occurred: maximum recursion depth exceeded while encoding a JSON object, traceback: Traceback (most recent call last):
File "/home/anvil/downlink/anvil/tables/v2/_search.py", line 53, in __next__
row_id = self._row_ids[self._idx]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/anvil/downlink/anvil/tables/v2/_search.py", line 53, in __next__
row_id = self._row_ids[self._idx]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
on trying to access our search iterator.
After 5 hours of debugging…
NEWSFLASH: Do not set your q.page_size in the iterator to a variable that can go to 0!
q.page_size = 0 is bad. For anyone wondering.
Thanks and good night
PS: I have a simple object column in my table, which may be leading to this particular error showing up.