[IPython-User] writing ipython history to file, works in terminal, not in qtconsole and notebook
Mon Sep 17 16:21:02 CDT 2012
On 17 September 2012 21:36, Mark Andrews <email@example.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:
More information about the IPython-User