[IPython-dev] Odd notebook file that can't be loaded.
Sun Jan 8 01:14:04 CST 2012
Your script in the markdown cell is being executed before the kernel
exists, and thus fails ('null has no execute' message in js console).
point, failing to finish loading the notebook. I don't know if we can
protect against this sort of thing, but we should if we can. If you write
the code so it can't raise (check for existence, etc.), then it should be
safe. You may need to put the execute on a timeout, to allow it to run
after the kernel connection is established.
On Sat, Jan 7, 2012 at 22:56, Fernando Perez <firstname.lastname@example.org> wrote:
> Hi all,
> any idea why this notebook file can't be opened? I was trying to
> answer a question on the user list about the execution of js code that
> calls back into python, and while the code here worked fine while
> running it, the moment I saved it and tried to reopen it, it wouldn't
> open at all, wedging the notebook. I'm a bit puzzled...
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev