IDLE crash when opening on Mac OS X

前端 未结 5 591
盖世英雄少女心
盖世英雄少女心 2021-01-14 06:19

I recently attempted to install python 3.2 along with IDLE 3 on my macbook pro. I successfully installed python 3.2 (as in, I can run it from the terminal), but when I attem

5条回答
  •  醉梦人生
    2021-01-14 07:03

    Try renaming or removing the directory ~/.idlerc which is about the only thing used by Python that would in common to IDLE for 2.7 and 3.2. If that doesn't help, state exactly which Python 3 you installed, what version of OS X, and show the stack traces from the termination report.

    UPDATE: Based on the crash report you've supplied, it appears that Tk is crashing during its initialization of menu items:

    ...
    4   Tcl                             0x00000001013dfa61 Tcl_Panic + 162
    5   Tk                              0x000000010151c523 TkpGetColor + 383
    6   Tk                              0x0000000101529a25 TkpMenuInit + 156
    7   Tk                              0x00000001014ac254 TkMenuInit + 88
    8   Tk                              0x000000010152c687 -[TKApplication(TKMenus) _setupMenus] + 53
    ...
    

    I have not seen any reports of a similar problems when IDLE is used with A/S Tcl/Tk 8.5 on 10.7.3 and I haven't been able to reproduce it myself on 10.7.3. However, the Cocoa Tcl/Tk 8.5 is not the most robust framework out there and it may be susceptible to problems when using languages or input methods other than US or US Extended. Another possibility (more likely) is if you are using some third-party menu enhancement application or preference panel (to add colors to menus perhaps). If those suggestions don't help you to isolate the problem, I suggest you ask on the Tcl Mac mailing list (tcl-mac@lists.sourceforge.net, archived at http://dir.gmane.org/gmane.comp.lang.tcl.mac).

提交回复
热议问题