[IPython-dev] Better reporting for non-ascii home dir names

Stefan van der Walt stefan at sun.ac.za
Mon Apr 30 08:18:15 EDT 2007


On Mon, Apr 30, 2007 at 02:06:36PM +0200, Ville M. Vainio wrote:
> On 4/30/07, Stefan van der Walt <stefan at sun.ac.za> wrote:
> 
> > On Mon, Apr 30, 2007 at 01:14:02PM +0200, Ville M. Vainio wrote:
> > > I just added the change
> > >
> > > http://projects.scipy.org/ipython/ipython/changeset/2297
> > >
> > > because it's the second most common cause of ipython crashes, just
> > > after KeyboardInterrupt.
> >
> > Why does that crash IPython?  I can't get it to malfunction on my
> > system, e.g.
> 
> It crashes for users that have non-ascii chars in their username.
> 
> Here's a snippit that "works" for me:
> 
> [D:\ipython]|25> p = pickleshare.Pic
> pickleshare.PickleShareDB   pickleshare.PickleShareLink
> [D:\ipython]|25> p = pickleshare.PickleShareDB('/tmp/äqäqäq')

It works for me under r2235.  First I thought it was a Python 2.5 vs
2.4 thing, but seems to run fine under 2.4 as well.  Isn't there a
workaround, such as encoding the string properly, that doesn't limit
the functionality?

Cheers
Stéfan



More information about the IPython-dev mailing list