Skip to content

Resizing Crashes with RecursionError #28

@TanookiMario65537

Description

@TanookiMario65537

Increasing the width of the window causes the following:

Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.10/tkinter/init.py", line 1921, in call
return self.func(*args)
File "timer/Apps/app.py", line 121, in updateWeights
self.root.rowconfigure(i, weight=self.components[i].winfo_height())
File "/usr/lib/python3.10/tkinter/init.py", line 1842, in grid_rowconfigure
return self._grid_configure('rowconfigure', index, cnf, kw)
File "/usr/lib/python3.10/tkinter/init.py", line 1793, in _grid_configure
options = self._options(cnf, kw)
File "/usr/lib/python3.10/tkinter/init.py", line 1500, in _options
cnf = _cnfmerge((cnf, kw))
File "/usr/lib/python3.10/tkinter/init.py", line 103, in _cnfmerge
if isinstance(cnfs, dict):
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "timer/runTimer.py", line 56, in
exitCode = app.startGui()
File "timer/Apps/app.py", line 116, in startGui
self.root.mainloop()
File "/usr/lib/python3.10/tkinter/init.py", line 1458, in mainloop
self.tk.mainloop(n)
File "/usr/lib/python3.10/tkinter/init.py", line 1925, in call
self.widget._report_exception()
File "/usr/lib/python3.10/tkinter/init.py", line 1641, in _report_exception
root.report_callback_exception(exc, val, tb)
File "/usr/lib/python3.10/tkinter/init.py", line 2375, in report_callback_exception
print("Exception in Tkinter callback", file=sys.stderr)
RecursionError: maximum recursion depth exceeded while calling a Python object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions