New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thonny encounters "internal error" in programs calling exit() #966
Comments
Thank you for the report! I was able to reproduce it only once (in about 30 trials), but I think I found the solution. Please open the issue again if it persists in upcoming Thonny 3.2.2 |
This issue seems to persist in Thonny 4.0.0 running exit() the program does not end and clicking on the shell window and pressing enter, Thonny crashes.
|
Thanks for reporting this! I'll try to fix it for Thonny 4.0.1 |
Fixed under #2433. |
this error goes in 4.0.1. after easy code. python 3.11.0 stabile this error goes every time, even if I write print('hello world!).
|
I am running Thonny 3.2.1 on Windows 8.1 (64 bit), using Python 3.7.4 (32 bit) and Tk 8.6.9 (downloaded and installed the bundle from the website).
I have a curious issue regarding programs that call exit(). These work fine usually, but in connection with importing tkinter, they seem to cause issues.
Consider the following two-line program
Saving this program as "test.py" and running it (via F5) causes Thonny to display the following "internal error":
NOTE: The same does not happen if one omits the
import tkinter
!NOTE 2: This error is not completely reproducible, sometimes the program finishes without the internal error, but at least after running the program three times in a row, I have until now ALWAYS been able to reproduce the problem, in ~15 tries.
The text was updated successfully, but these errors were encountered: