Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Having problems crashing IDLE

Reply
Thread Tools

Having problems crashing IDLE

 
 
Quintessence
Guest
Posts: n/a
 
      03-01-2013
I've been learning Python over the past week or so and I keep running into an issue where opening saved files will crash IDLE (not consistently, sometimes the same files with no changes will open and sometimes not). I was originally running Python 3.2.3, but I removed it and upgraded to 3.3.0 hopingto resolve the issue (but to no avail). While troubleshooting, someone suggested I try opening IDLE via command prompt. When I do that IDLE never crashes, but It does show this error (screenshot):
http://i.imgur.com/1JqiRsY.png (3.2.3)
http://i.imgur.com/5KxE88K.png (3.3.0)


Some additional info:
- When IDLE crashes it does not display an error, every open window simply closes.
- IDLE has never crashed after opening a file when I open it via command prompt, even if it was previously consistently displaying that behavior.
- I am running Windows 7 x64 with all updates.

Has anyone ever encountered this? What does the error mean?
 
Reply With Quote
 
 
 
 
Peter Otten
Guest
Posts: n/a
 
      03-01-2013
Quintessence wrote:

> I've been learning Python over the past week or so and I keep running into
> an issue where opening saved files will crash IDLE (not consistently,
> sometimes the same files with no changes will open and sometimes not). I
> was originally running Python 3.2.3, but I removed it and upgraded to
> 3.3.0 hoping to resolve the issue (but to no avail). While
> troubleshooting, someone suggested I try opening IDLE via command prompt.
> When I do that IDLE never crashes, but It does show this error
> (screenshot): http://i.imgur.com/1JqiRsY.png (3.2.3)
> http://i.imgur.com/5KxE88K.png (3.3.0)


Your posts are easier to deal with if you provide tracebacks as text.
Here's what I get:

Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/local/lib/python3.3/tkinter/__init__.py", line 1442, in
__call__
return self.func(*args)
File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 174, in handler
doafterhandler.pop()()
File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 221, in
<lambda>
doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func)
ValueError: list.remove(x): x not in list

> Some additional info:
> - When IDLE crashes it does not display an error, every open window simply
> closes. - IDLE has never crashed after opening a file when I open it via
> command prompt, even if it was previously consistently displaying that
> behavior. - I am running Windows 7 x64 with all updates.
>
> Has anyone ever encountered this? What does the error mean?


This looks like the following bug:

http://bugs.python.org/issue8900

You might be able to work around it by selecting the

"At Startup Open Shell Window" option under

Options-->Configure IDLE-->General-->Startup Preferences


 
Reply With Quote
 
 
 
 
Quintessence
Guest
Posts: n/a
 
      03-02-2013
Thank you for the advice! I checked the setting you specified and "Open Shell Window" at startup was already selected. Is there another bug this could be related to?

Thank you!

On Friday, March 1, 2013 3:00:40 AM UTC-5, Peter Otten wrote:
> Quintessence wrote:
>
>
>
> > I've been learning Python over the past week or so and I keep running into

>
> > an issue where opening saved files will crash IDLE (not consistently,

>
> > sometimes the same files with no changes will open and sometimes not). I

>
> > was originally running Python 3.2.3, but I removed it and upgraded to

>
> > 3.3.0 hoping to resolve the issue (but to no avail). While

>
> > troubleshooting, someone suggested I try opening IDLE via command prompt.

>
> > When I do that IDLE never crashes, but It does show this error

>
> > (screenshot): http://i.imgur.com/1JqiRsY.png (3.2.3)

>
> > http://i.imgur.com/5KxE88K.png (3.3.0)

>
>
>
> Your posts are easier to deal with if you provide tracebacks as text.
>
> Here's what I get:
>
>
>
> Exception in Tkinter callback
>
> Traceback (most recent call last):
>
> File "/usr/local/lib/python3.3/tkinter/__init__.py", line 1442, in
>
> __call__
>
> return self.func(*args)
>
> File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 174, in handler
>
> doafterhandler.pop()()
>
> File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 221, in
>
> <lambda>
>
> doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func)
>
> ValueError: list.remove(x): x not in list
>
>
>
> > Some additional info:

>
> > - When IDLE crashes it does not display an error, every open window simply

>
> > closes. - IDLE has never crashed after opening a file when I open it via

>
> > command prompt, even if it was previously consistently displaying that

>
> > behavior. - I am running Windows 7 x64 with all updates.

>
> >

>
> > Has anyone ever encountered this? What does the error mean?

>
>
>
> This looks like the following bug:
>
>
>
> http://bugs.python.org/issue8900
>
>
>
> You might be able to work around it by selecting the
>
>
>
> "At Startup Open Shell Window" option under
>
>
>
> Options-->Configure IDLE-->General-->Startup Preferences

 
Reply With Quote
 
Quintessence
Guest
Posts: n/a
 
      03-02-2013
Thank you for the advice! I checked the setting you specified and "Open Shell Window" at startup was already selected. Is there another bug this could be related to?

Thank you!

On Friday, March 1, 2013 3:00:40 AM UTC-5, Peter Otten wrote:
> Quintessence wrote:
>
>
>
> > I've been learning Python over the past week or so and I keep running into

>
> > an issue where opening saved files will crash IDLE (not consistently,

>
> > sometimes the same files with no changes will open and sometimes not). I

>
> > was originally running Python 3.2.3, but I removed it and upgraded to

>
> > 3.3.0 hoping to resolve the issue (but to no avail). While

>
> > troubleshooting, someone suggested I try opening IDLE via command prompt.

>
> > When I do that IDLE never crashes, but It does show this error

>
> > (screenshot): http://i.imgur.com/1JqiRsY.png (3.2.3)

>
> > http://i.imgur.com/5KxE88K.png (3.3.0)

>
>
>
> Your posts are easier to deal with if you provide tracebacks as text.
>
> Here's what I get:
>
>
>
> Exception in Tkinter callback
>
> Traceback (most recent call last):
>
> File "/usr/local/lib/python3.3/tkinter/__init__.py", line 1442, in
>
> __call__
>
> return self.func(*args)
>
> File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 174, in handler
>
> doafterhandler.pop()()
>
> File "/usr/local/lib/python3.3/idlelib/MultiCall.py", line 221, in
>
> <lambda>
>
> doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func)
>
> ValueError: list.remove(x): x not in list
>
>
>
> > Some additional info:

>
> > - When IDLE crashes it does not display an error, every open window simply

>
> > closes. - IDLE has never crashed after opening a file when I open it via

>
> > command prompt, even if it was previously consistently displaying that

>
> > behavior. - I am running Windows 7 x64 with all updates.

>
> >

>
> > Has anyone ever encountered this? What does the error mean?

>
>
>
> This looks like the following bug:
>
>
>
> http://bugs.python.org/issue8900
>
>
>
> You might be able to work around it by selecting the
>
>
>
> "At Startup Open Shell Window" option under
>
>
>
> Options-->Configure IDLE-->General-->Startup Preferences

 
Reply With Quote
 
Peter Otten
Guest
Posts: n/a
 
      03-02-2013
Quintessence wrote:

> Thank you for the advice! I checked the setting you specified and "Open
> Shell Window" at startup was already selected. Is there another bug this
> could be related to?


None that I and google could find. Close idle and remove (or rename) the
..idlerc directory in your home folder, and then start Idle again.

If the problem persists it is very unlikely that it is configuration-
related. In that case I suggest that you file a bug report yourself or amend
your observations to the existing one.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tkinter, IDLE keeps crashing Ash Courchene Python 5 02-18-2013 02:02 AM
IDLE Crashing in Mac OS 10.8.2 with 2.7.3 bkeegan@gmail.com Python 3 10-10-2012 12:35 AM
Re: Acer Aspire AX1300 having crashing problems - Windows 7 Dave-UK Computer Support 0 01-10-2010 11:54 AM
IDLE Problems - Subprocesses Under Windows Fuzzyman Python 0 12-22-2003 10:14 AM
followup to my problems with Win98 explorer crashing on file operations Peter Huebner NZ Computing 0 08-22-2003 10:00 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57