[IPython-User] writing ipython history to file, works in terminal, not in qtconsole and notebook

Mark Andrews andrews.markw@gmail....
Mon Sep 17 17:03:36 CDT 2012


Hi Thomas,
Thanks for the advise. I have posted to github issues.
-m


On Mon, Sep 17, 2012 at 10:21 PM, Thomas Kluyver <takowl@gmail.com> wrote:
> Hi Mark,
>
> On 17 September 2012 21:36, Mark Andrews <andrews.markw@gmail.com> wrote:
>> I have googled for anyone experiencing something similar, but nothing
>> shows up. The error message seems to say that the filename should be
>> unicode, but doing so makes no difference.
>
> It's not the filename that's the issue, it's the code it's trying to
> save into the file. It looks like the error is down to variations in
> json implementations (pyzmq includes code to select the best available
> json library). The standard library json always unpacks to unicode
> strings, but evidently one or more of the alternatives doesn't. We
> should check this and make sure code passed to run_cell is unicode.
>
> Please file a bug to make sure we don't forget about it:
> https://github.com/ipython/ipython/issues
>
> Thanks,
> Thomas
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


More information about the IPython-User mailing list