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


Groups > comp.lang.python > #39059

Re: Tkinter, IDLE keeps crashing

From Ned Deily <nad@acm.org>
Subject Re: Tkinter, IDLE keeps crashing
Date 2013-02-17 18:02 -0800
References <9d367487-4846-4caa-85e7-08ac570b4a6c@googlegroups.com> <nad-9C8F8C.14022517022013@news.gmane.org> <mailman.1908.1361139378.2939.python-list@python.org> <b12df7c4-1daa-41af-98aa-14915e100f80@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1918.1361152936.2939.python-list@python.org> (permalink)

Show all headers | View raw


In article <b12df7c4-1daa-41af-98aa-14915e100f80@googlegroups.com>,
 Ash Courchene <ash.courchene@gmail.com> wrote:
> I believe I have a MacBook Pro.2.4 GHz Intel Core i5.
> I dont think I have any weird color settings or 3rd party extensions... How 
> can I tell exactly??

By finding the one that crashes Tk - yeah, I know that's not very 
helpful.  But, more seriously, have you tried running 
/usr/local/bin/wish8.5?  If Tk crashes there when running the widget 
demos, then at least Python is not a factor.

The only vaguely potentially relevant hardware factor I can think of is 
whether or not the MacBook Pro has a Retina display.  The only standard 
settings that might be revlevant are those in System Preferences -> 
Language & Text, prinarily what Input Source is selected.

Another thing you could try is to temporarily disable the ActiveState 
Tcl/Tk and see what happens with calling Tk in python and with IDLE 
then.   They will automatically fall back to using the Apple-supplied 
Tcl/Tk 8.5.x in 10.7 which is older and buggier than A/S 8.5.13 but 
should not crash immediately, either. The easiest way to do that is to 
use sudo from the terminal:

cd /Library/Frameworks/
sudo mv ./Tcl.framework ./Tcl-DISABLED
sudo mv ./Tk.framework ./Tk-DISABLED

When finished testing, you can restore them by:

cd /Library/Frameworks/
sudo mv ./Tcl-DISABLED ./Tcl.framework
sudo mv ./Tk-DISABLED ./Tk.framework

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Tkinter, IDLE keeps crashing Ash Courchene <ash.courchene@gmail.com> - 2013-02-17 13:46 -0800
  Re: Tkinter, IDLE keeps crashing Ned Deily <nad@acm.org> - 2013-02-17 14:02 -0800
  Re: Tkinter, IDLE keeps crashing Ned Deily <nad@acm.org> - 2013-02-17 14:16 -0800
    Re: Tkinter, IDLE keeps crashing Ash Courchene <ash.courchene@gmail.com> - 2013-02-17 15:38 -0800
      Re: Tkinter, IDLE keeps crashing Ned Deily <nad@acm.org> - 2013-02-17 18:02 -0800
    Re: Tkinter, IDLE keeps crashing Ash Courchene <ash.courchene@gmail.com> - 2013-02-17 15:38 -0800

csiph-web