[Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Scott Clausen
Whenever I attempt to access the IDLE prefs the app crashes. I want to be able 
to enlarge the text for my old eyes.

I've looked on the python website with no luck and have removed the current 
Python file and reinstalled with no luck I'm using the Tk/Tcl that comes with 
the OS, I believe. Could their be a need for an update that I'm not aware of?

Thanks,

Scott

--- People are taking their comedians seriously and their politicians as a joke.

— Will Rogers

___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer

On 10/8/12 3:46 AM, Scott Clausen wrote:

Could their be a need for an update that I'm not aware of?


Yes, probably--there was a crash in Tk 8.5.12 that has since been fixed, 
but a binary release from ActiveState has not yet been made. When they 
release a new version the crash should go away.


--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Ned Deily
In article <[email protected]>,
 Kevin Walzer  wrote:
> On 10/8/12 3:46 AM, Scott Clausen wrote:
> > Could their be a need for an update that I'm not aware of?
> 
> Yes, probably--there was a crash in Tk 8.5.12 that has since been fixed, 
> but a binary release from ActiveState has not yet been made. When they 
> release a new version the crash should go away.

It has not been fixed yet.  The workaround at the moment is to revert to 
an older version of ActiveState, 8.5.11.1, as described here:

http://www.python.org/download/mac/tcltk/

-- 
 Ned Deily,
 [email protected]

___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer

On 10/8/12 4:22 PM, Ned Deily wrote:

It has not been fixed yet.


Is this statement based on a fresh checkout of the core-8-5-branch from 
http://core.tcl.tk/tk? Because my build of 8.5 dates from about a week 
ago, and the preferences menu issue is fixed.


What I said before holds: the fix is now in the source tree, but 
ActiveState has not yet released an updated build of ActiveTcl to 
include the fix. The OP can certainly download and build the Tcl/Tk 
sources himself to get the fix; I agree that an alternative workaround 
would be to revert to an older build of ActiveTcl, assuming it's still 
available.


--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Ned Deily
In article <[email protected]>,
 Kevin Walzer  wrote:
> On 10/8/12 4:22 PM, Ned Deily wrote:
> > It has not been fixed yet.
> 
> Is this statement based on a fresh checkout of the core-8-5-branch from 
> http://core.tcl.tk/tk? Because my build of 8.5 dates from about a week 
> ago, and the preferences menu issue is fixed.
> 
> What I said before holds: the fix is now in the source tree, but 
> ActiveState has not yet released an updated build of ActiveTcl to 
> include the fix. The OP can certainly download and build the Tcl/Tk 
> sources himself to get the fix; I agree that an alternative workaround 
> would be to revert to an older build of ActiveTcl, assuming it's still 
> available.

As far as I can tell, the problem is not fixed in the source tree.  The 
problem is trivial to reproduce with Python and IDLE.  Try it with your 
own build of Tk 8.5 installed in /Library/Frameworks and with any of the 
current python.org 64-bit/32-bit installers 
(http://www.python.org/download/) or with the ActiveState Python 
installers.  Launch the appropriate IDLE.app and select Preferences from 
the IDLE menu.

-- 
 Ned Deily,
 [email protected]

___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer

On 10/8/12 5:34 PM, Ned Deily wrote:

As far as I can tell, the problem is not fixed in the source tree.  The
problem is trivial to reproduce with Python and IDLE.  Try it with your
own build of Tk 8.5 installed in /Library/Frameworks and with any of the
current python.org 64-bit/32-bit installers
(http://www.python.org/download/) or with the ActiveState Python
installers.  Launch the appropriate IDLE.app and select Preferences from
the IDLE menu.


I moved my own build of Python out of the way, and installed 
ActivePython 2.7.2, which links against my custom build of Tcl/Tk in 
/Library/Frameworks, based on a week-old checkout of the tip of the 
core-8-5-branch. Launching IDLE and typing Command-, brings up the 
preferences dialog without any crash.


Again, I'm not sure what version of Tk you are testing against? If 
you're testing against the most recent build of ActiveTcl, you won't see 
this fix, because ActiveState hasn't incorporated it yet. The fix was 
committed in the past month or so, I believe, as part of the input 
method patch submitted by Adrian Robert.


--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer

On 10/8/12 5:34 PM, Ned Deily wrote:

As far as I can tell, the problem is not fixed in the source tree.  The
problem is trivial to reproduce with Python and IDLE.  Try it with your
own build of Tk 8.5 installed in /Library/Frameworks and with any of the
current python.org 64-bit/32-bit installers
(http://www.python.org/download/) or with the ActiveState Python
installers.  Launch the appropriate IDLE.app and select Preferences from
the IDLE menu.


I've done some further testing of this, and have run into something very 
odd.


Just to be sure, I did a fresh checkout of Tk's core-8-5-branch and 
rebuilt it, and then rebuilt my installation of Python to link to it. 
(My recent Python apps have been linking to the Tk in 
/System/Library/Frameworks because of the Mac App Store, but as I'm 
moving away from the App Store that's no longer necessary.)


After rebuilding and re-linking everything, I can indeed confirm the 
crash in IDLE. Running Command-, causes the app to crash instead of 
bringing up the preferences menu. However, I can't reproduce the crash 
in Tk itself. Running Wish, I define the standard 
tk::mac::ShowPrefrences procedure to print "foo" to standard output, and 
it works as expected. This is why I said I didn't see the error and 
wondered what version of Tk you were testing.


What happens if something crashes in Tkinter but not in Tk directly? Is 
this considered a bug in Python/Tkinter? Because IDLE's preferences 
method is calling into tk::mac::ShowPreferences, then it shouldn't crash 
unless Wish is also crashing. I don't know what to say if something 
crashes in Python/Tkinter but not in Tk.


--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG