Windows fatal exception: stack overflow when callback is triggered

For anyone interested, I solved my problem by setting the recursion limit in my callback: sys.setrecursionlimit(1500) If you do this don’t forget to import sys. Truthfully I do not know what the repercussions of changing the recursion limit so I would not recommend this for production apps unless you know what you are doing. My app is only intended to be used by a small group of people so I do not mind taking the risk.

1 Like