Internal Error when opening or saving file in thonny 3.2.7 and 3.3.2

1,038 views
Skip to first unread message

Antonio Mesa Casares

unread,
Jan 20, 2021, 3:50:23 AM1/20/21
to thonny
I have a problem for a few days.
I have installed Thonny 3.2.7 in Kde Neon and it worked without problems, but, a few days ago it began to give me the following error every time I wanted to create a new file or when I was going to open one of the ones that I already had created.
I have tried to uninstall it and reinstall it with both APT and PIP and with both versions 3.2.7 and the last one I think is 3.3.2.
I hope you can give me a hand in this problem since I do not know how to solve it.
This is the error that appears to me.

Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 1883, in __call__
    return self.func(*args)
  File "/usr/lib/python3/dist-packages/thonny/code.py", line 700, in _cmd_open_file
    self.show_file(path, propose_dialog=False)
  File "/usr/lib/python3/dist-packages/thonny/code.py", line 813, in show_file
    editor = self.get_editor(filename, True)
  File "/usr/lib/python3/dist-packages/thonny/code.py", line 891, in get_editor
    filename = normpath_with_actual_case(os.path.abspath(filename))
  File "/usr/lib/python3/dist-packages/thonny/common.py", line 227, in normpath_with_actual_case
    assert os.path.exists(name), "Not exists: " + name
AssertionError: Not exists: /home/cybermito/WINDOW DECORATIONS RELOADED
/media/cybermito/MyPassport/cybermito/Documents/Taller Introducción Robótica/particulares/python/adivina_numero.py
Screenshot_20210120_094838.png

Aivar Annamaa

unread,
Jan 20, 2021, 4:51:08 AM1/20/21
to thonny
Hi!

This is a known KDE problem. You can find more info and a work-around from here: https://github.com/thonny/thonny/issues/1550#issuecomment-761805470

Best regards,
Aivar

Antonio Mesa Casares

unread,
Jan 21, 2021, 12:41:49 AM1/21/21
to thonny
Thanks, I've been checking all the links but I can't find the solution, it seems to be something recent, is it? Talk about zenity but how do I change to tk so that no error?
Regards.

Aivar Annamaa

unread,
Jan 21, 2021, 6:58:06 AM1/21/21
to thonny
Sorry, forgot about older versions. See https://github.com/thonny/thonny/issues/1550#issuecomment-764594043 for more info.

Antonio Mesa Casares

unread,
Jan 22, 2021, 12:35:51 AM1/22/21
to thonny
Sorry, at first I did not understand the message correctly and I reinstalled the latest version of Thonny, 3.3.3 and indeed in this version the option to change to TK comes out, so I did it and it works.
Thank you very much, the problem you had is resolved.
Regards.
Reply all
Reply to author
Forward
0 new messages