On 11/10/2015 6:01 AM, Chris Angelico wrote:
On Tue, Nov 10, 2015 at 9:46 PM,  <trindadegoncal...@gmail.com> wrote:
I need help to find out what's going on. I did some research, but I couldn't 
find anything to solve this problem:

- I open the IDLE program;

From the Start menu icon, let us presume.

- I go to the 'File' menu;

Of the shell window, I presume.

- I select the 'New File' option

This should create an empty EditorWindow instance.

- IDLE quits.

Puzzling. The shell window is a subclass of EditorWindow, so EditorWindow.__init__ has already run once -- without the extra stuff added by the subclass.

I run the IDLE version 3.3.3 on Windows 8.1 Pro.
Should I install the most recent version?

That would be a good idea in general. But first try what Chris suggested below. I am about half sure that the specific problem is on your system. It is possible that you need to delete something in HOMEDIR/.idlerc/ but lets see what the error message is. Have you been using IDLE a while, or just started?

That sounds like a very interesting problem. Can you try running it
from the command line, please? I'm not sure how to open one up from
Win 8, but it should be in the Start menu somewhere, or possibly press
Windows+R and type "cmd". With that up, type this:

python -m idlelib.idle

That should open up the same IDLE window that you know and recognize.
Do the exact same thing that caused the unexpected termination, and
then you should go back to the command prompt - hopefully with some
sort of error message. Copy and paste that message (as text, please,
not an image) into an email; that information could be very helpful.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to