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


Groups > comp.lang.python > #98587 > unrolled thread

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

Started bytrindadegoncalves@gmail.com
First post2015-11-10 02:46 -0800
Last post2015-11-10 12:49 -0500
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  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

#98587 — IDLE quits unexpectedly when about to open or creat a new file

Fromtrindadegoncalves@gmail.com
Date2015-11-10 02:46 -0800
SubjectIDLE quits unexpectedly when about to open or creat a new file
Message-ID<b42f7021-ab37-46da-a71f-13414c114606@googlegroups.com>
Hello,

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;
- I go to the 'File' menu;
- I select the 'New File' option
- IDLE quits.

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

Thanks!

[toc] | [next] | [standalone]


#98588

FromChris Angelico <rosuav@gmail.com>
Date2015-11-10 22:01 +1100
Message-ID<mailman.206.1447153285.16136.python-list@python.org>
In reply to#98587
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;
> - I go to the 'File' menu;
> - I select the 'New File' option
> - IDLE quits.
>
> I run the IDLE version 3.3.3 on Windows 8.1 Pro.
> Should I install the most recent version?
>

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.

ChrisA

[toc] | [prev] | [next] | [standalone]


#98605

FromTerry Reedy <tjreedy@udel.edu>
Date2015-11-10 12:49 -0500
Message-ID<mailman.213.1447177772.16136.python-list@python.org>
In reply to#98587
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web