[IPython-User] writing ipython history to file, works in terminal, not in qtconsole and notebook
Mon Sep 17 17:03:36 CDT 2012
Thanks for the advise. I have posted to github issues.
On Mon, Sep 17, 2012 at 10:21 PM, Thomas Kluyver <email@example.com> wrote:
> Hi Mark,
> On 17 September 2012 21:36, Mark Andrews <firstname.lastname@example.org> 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:
> IPython-User mailing list
More information about the IPython-User