[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-12-26 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file28447/patch_idle_issue_15853.sh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-12-26 Thread Ned Deily
Ned Deily added the comment: ActiveTcl 8.5.13 has now been released and, per ActiveState's usual practice of making only the current release and its immediate predecessor publicly downloadable, the ActiveTcl 8.5.11.1 release is no longer available at the URL above, as Vance noted. 8.5.13

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-12-22 Thread Vance Maverick
Vance Maverick added the comment: FYI, http://downloads.activestate.com/ActiveTcl/releases/8.5.11.1/ is no longer online, so that workaround is no longer possible. -- nosy: +Vance.Maverick ___ Python tracker rep...@bugs.python.org

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Roger Serwy
Roger Serwy added the comment: The patch works with 3.3.0 and 2.7.3 on Windows 7. +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset d089b8fb0f56 by Ned Deily in branch '2.7': Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu http://hg.python.org/cpython/rev/d089b8fb0f56 New changeset a3d755eaf5fa by Ned Deily in branch '3.2': Issue #15853: Prevent IDLE

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-22 Thread Ned Deily
Ned Deily added the comment: Thanks for everyone's help on this. To summarize, opening IDLE's Preferences menu when Python is dynamically linking to ActiveTcl 8.5.12.1 (at this writing, the most recent version) causes Tk to crash. The committed patches here avoid the crash by changing Tk

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-21 Thread Pedro Meirelles
Pedro Meirelles added the comment: Hello, I am biologist I am just starting to learn Python. I have a mac and I am using OS X 10.8.2. I have installed Python 2.7.3 and when I try to copy and paste (use command) or go to preferences IDLE crashes. I did what Ned Deily said in msg169739: sudo

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-21 Thread Ned Deily
Ned Deily added the comment: Pedro, try installing the older ActiveTcl 8.5.11.1 from here: http://downloads.activestate.com/ActiveTcl/releases/8.5.11.1/ It is not perfect but does not have the Preferences regression and does have fixes for crashes when typing composite input characters.

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-21 Thread Pedro Meirelles
Pedro Meirelles added the comment: Thank you very much, Ned! It worked, awesome! All the best 2012/10/20 Ned Deily rep...@bugs.python.org Ned Deily added the comment: Pedro, try installing the older ActiveTcl 8.5.11.1 from here:

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-19 Thread Ned Deily
Ned Deily added the comment: The attached patch applies cleanly to default, 3.3, 3.2, and 2.7. It appears to prevent the Tk crash observed with ActiveTcl 8.5.12.1 with all of them and I did not observe regressions when briefly tested on OS X with older versions of Tk 8.5 or Tk 8.4 nor on

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-17 Thread Ned Deily
Ned Deily added the comment: I'm still not keen on working around a Tk crash by modifying IDLE especially when we know exactly which Tk change set caused the regression. On the other hand, I sympathize with Kevin regarding the complexity of trying to track down and fix things involving event

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-16 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-14 Thread Kevin Walzer
Kevin Walzer added the comment: editFont.config is causing the crash. The revised patch you suggest configures both the display font example and the highlight-text example. We can certainly amend my patch along those lines. I cannot reproduce the issue in simple Tcl/Tk using the equivalent

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-12 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-12 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Kevin. It does need to be updated a bit for the current 2.7 branch as there have been changes since 2.7.3. Can you outline what you believe the problem is that your patch is trying to workaround? Certainly, nothing that IDLE or any other

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-12 Thread Kevin Walzer
Kevin Walzer added the comment: The crash occurs during a self.editFont.config call, when the sample text in the font dialog is updated with new font properties. My changes re-structures the configure event to first create a tuple with new font properties, then apply that to the parent label

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-12 Thread Roger Serwy
Roger Serwy added the comment: It appears that Kevin's patch is working around a bug in Tkinter's tkFont object configuration. I would suggest removing the editFont object entirely from configDialog if it is truly the root cause of Tk crashing. Kevin, is the .textHighlightSample causing the

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: The attached patch works around the crash for me on Python 2.7.3, Tk-Cocoa 8.5.12 (tip), on Lion. -- keywords: +patch nosy: +wordtech Added file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer wordt...@users.sourceforge.net: Added file: http://bugs.python.org/file27539/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-09 Thread Ned Deily
Ned Deily added the comment: I've been able to build Cocoa Tk and isolate the crash regression to a particular Tk checkin. This Tk issue contains the details: https://sourceforge.net/tracker/?func=detailatid=112997aid=3575664group_id=12997 -- ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-08 Thread David Pietz
David Pietz added the comment: It wasn't right on that page anymore but I poked around and fount the 8.5.11.1 and IDLE is no longer crashing when I go to preferences or when I cut and paste in the edit window (I didn't tell you about that did I ?- well it fixed that, too)!! thanks solo much,

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, do you have any new information on this crasher? More people are having issues with TCL on Mac, e.g. #16156. -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-06 Thread Ned Deily
Ned Deily added the comment: While there isn't a fix available for Tk yet, there is now a viable workaround. It turns out that ActiveState does make the last couple of their Community Edition ActiveTcl releases available if you know where to look for them. So I've updated the information on

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-05 Thread Ned Deily
Ned Deily added the comment: The problem is a regression in the latest version of ActiveTcl 8.5 for OS X, specifically 8.5.12.1 (and I believe the previous version 8.5.12.0). It has nothing directly to do with Python or how you might build Python other than whether _tkinter.so dynamically

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm observed this happening on a number of machines at my client's site. It started about three weeks ago and has not stopped (even with fresh installs of Py2.7.3 and ActiveTCL). I've not been able to figure-out why it affects some machines and not

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-03 Thread Ned Deily
Ned Deily added the comment: Hmm, sorry, I don't know of an easy fool-proof way to automatically log everything you type in IDLE. But it's pretty easy to manually save the contents of the IDLE shell window at the end: with the keyboard focus on the Python Shell window, select the File - Save

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-02 Thread Ned Deily
Ned Deily added the comment: The crash on opening Preferences is an unresolved regression with OS X ActiveTcl 8.5.12.1, the current ActiveTcl Community Edition, that causes Tk to crash when selecting the IDLE Preferences.. command. The regression was also in ActiveState 8.5.12 but not in

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-02 Thread David Pietz
David Pietz added the comment: r.david.murray- Thank You for your inquiry. My recipe for this crash is (1) simply to start IDLE 3.2.3 in either Snow Leopard or Mountain Lion (2) click on the Bold IDLE menu in the menu bar and (3) click on menu item preferences. At this point a dialog called

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-02 Thread Ned Deily
Ned Deily added the comment: David, can you verify that you do have ActiveTcl 8.5.12 (.0 or .1) installed and that the problem no longer occurs if you disable ActiveTk by moving it as described above? When Preference is failing, the following Terminal shell command: grep TK_PATCH_LEVEL

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-02 Thread David Pietz
David Pietz added the comment: ned, That is exactly the output I received when I reverted to the ActiveState version, it failed and I ran your grep. Thank You for your interest. djp -- ___ Python tracker rep...@bugs.python.org

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-09-02 Thread David Pietz
David Pietz added the comment: I thank you, gentlemen, for your kind attention to my issue. I hope it helps everyone in the long run. I, myself, became underwhelmed with these results of successfully opening preferences. I had been expecting to have a |Startup|-|Shells open with