[IPython-dev] Ipython unicode error

Thomas Kluyver takowl@gmail....
Sat Oct 6 13:19:29 CDT 2012


Hi John,

On 6 October 2012 17:24, John Reid <j.reid@mail.cryst.bbk.ac.uk> wrote:
>   File "/usr/lib/python2.7/dist-packages/IPython/core/logger.py", line
> 195, in log_write
>     write(data)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in
> position 0: ordinal not in range(128)

Thanks for the report, I think that looks similar to this error:
https://github.com/ipython/ipython/issues/1777

The fix for that is in 0.13 - can you try upgrading? If you're using
Ubuntu, you can use this PPA:
https://launchpad.net/~jtaylor/+archive/ipython

Thanks,
Thomas


More information about the IPython-dev mailing list