I'm confused. I can't open my python scripts in the IDE any more.
Using Thonny 4.0.2
Python 3.10.9
Tk 8.6.12
I get an internal error message like this one:
Traceback (most recent call last):
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/workbench.py", line 189, in __init__
self._editor_notebook.load_startup_files()
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 791, in load_startup_files
self.show_file(filename)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 1043, in show_file
editor = self.get_editor(filename, True)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 1134, in get_editor
return self._open_file(filename_or_id)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 1116, in _open_file
if editor._load_file(filename):
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 208, in _load_file
result = self._load_local_file(filename, keep_undo)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 244, in _load_local_file
self.master.remember_recent_file(filename)
File "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/thonny/editors.py", line 815, in remember_recent_file
if filename in recents:
TypeError: argument of type 'NoneType' is not iterable