Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98605

Re: IDLE quits unexpectedly when about to open or creat a new file

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: IDLE quits unexpectedly when about to open or creat a new file
Date 2015-11-10 12:49 -0500
Message-ID <mailman.213.1447177772.16136.python-list@python.org> (permalink)
References <b42f7021-ab37-46da-a71f-13414c114606@googlegroups.com> <CAPTjJmoh5p2Fgd=zDgjNOEMsfkkgjOv7bcu7=8XcLQ1M=xNt+Q@mail.gmail.com>

Show all headers | View raw


On 11/10/2015 6:01 AM, Chris Angelico wrote:
> On Tue, Nov 10, 2015 at 9:46 PM,  <trindadegoncalves@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

IDLE quits unexpectedly when about to open or creat a new file trindadegoncalves@gmail.com - 2015-11-10 02:46 -0800
  Re: IDLE quits unexpectedly when about to open or creat a new file Chris Angelico <rosuav@gmail.com> - 2015-11-10 22:01 +1100
  Re: IDLE quits unexpectedly when about to open or creat a new file Terry Reedy <tjreedy@udel.edu> - 2015-11-10 12:49 -0500

csiph-web