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


Groups > comp.lang.python > #75989 > unrolled thread

Idle crashes when using accentuated letters in Mac OS X

Started byAnamaria Martins Moreira <anamaria@dcc.ufrj.br>
First post2014-08-10 10:03 -0300
Last post2014-08-10 15:08 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Idle crashes when using accentuated letters in Mac OS X Anamaria Martins Moreira <anamaria@dcc.ufrj.br> - 2014-08-10 10:03 -0300
    Re: Idle crashes when using accentuated letters in Mac OS X Christian Gollwitzer <auriocus@gmx.de> - 2014-08-10 23:06 +0200
      Re: Idle crashes when using accentuated letters in Mac OS X Ned Deily <nad@acm.org> - 2014-08-10 15:08 -0700

#75989 — Idle crashes when using accentuated letters in Mac OS X

FromAnamaria Martins Moreira <anamaria@dcc.ufrj.br>
Date2014-08-10 10:03 -0300
SubjectIdle crashes when using accentuated letters in Mac OS X
Message-ID<mailman.12820.1407690828.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

Hi!

I am facing a problem with using accentuated characters in idle (2.7.6 or
2.7.8). When I type the accent, idle crashes. If I call python from a
terminal, there is no such problem.

I looked around and saw that there are a number of issues with
utf-8-python-mac, but I could not find the solution. The one indicated on
the Python doc

"You need to create a file ~ /.MacOSX/environment.plist. See Apple’s
Technical Document QA1067 for details."

seems not to be recommended  by Apple anymore.

Does any mac users have an idea for me, please?

Thanks,
Anamaria

[toc] | [next] | [standalone]


#76004

FromChristian Gollwitzer <auriocus@gmx.de>
Date2014-08-10 23:06 +0200
Message-ID<ls8msv$coo$1@dont-email.me>
In reply to#75989
Am 10.08.14 15:03, schrieb Anamaria Martins Moreira
> I am facing a problem with using accentuated characters in idle (2.7.6
> or 2.7.8). When I type the accent, idle crashes. If I call python from a
> terminal, there is no such problem.

Try updating your Tcl/Tk to the latest version, e.g. via ActiveTcl. I 
remember such a bug in the OSX version, which was fixed a long time ago. 
There is a number of bugs in the OSX Tk, a lot of them was recently 
fixed, so stay tuned and maybe update when 8.6.2 becomes available.
	
	Christian

[toc] | [prev] | [next] | [standalone]


#76006

FromNed Deily <nad@acm.org>
Date2014-08-10 15:08 -0700
Message-ID<mailman.12828.1407708504.18130.python-list@python.org>
In reply to#76004
In article <ls8msv$coo$1@dont-email.me>,
 Christian Gollwitzer <auriocus@gmx.de> wrote:
> Am 10.08.14 15:03, schrieb Anamaria Martins Moreira
> > I am facing a problem with using accentuated characters in idle (2.7.6
> > or 2.7.8). When I type the accent, idle crashes. If I call python from a
> > terminal, there is no such problem.
> 
> Try updating your Tcl/Tk to the latest version, e.g. via ActiveTcl. I 
> remember such a bug in the OSX version, which was fixed a long time ago. 
> There is a number of bugs in the OSX Tk, a lot of them was recently 
> fixed, so stay tuned and maybe update when 8.6.2 becomes available.

You also need to be using a Python instance that will use the newer 
ActiveTcl.  The crash is due to a bug in older versions of OS X Cocoa 
Tk; unfortunately, the versions of Tk 8.5 shipped by Apple with OS X 
from OS X 10.6 through at least current 10.9.x still have this bug.  One 
way to avoid it is to use either one of the current python.org 
installers (Python 2.7.8 or 3.4.1) and the current ActiveTcl 8.5.15.0 
from ActiveState (using 8.6.x will not help).  There is more information 
here:

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

-- 
 Ned Deily,
 nad@acm.org

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web