[IPython-dev] Fwd: [ipython] Colons in notebook name causes notebook deletion without warning (#1781)

Brian Granger ellisonbg at gmail.com
Tue May 29 12:51:04 EDT 2012


Ouch, this is painful.  I know how to fix this and will try to get to it today.

Cheers,

Brian

On Tue, May 29, 2012 at 12:19 AM, Fernando Perez <fperez.net at gmail.com> wrote:
> Hi all,
>
> I'm going to bed now but wanted to bump this up on the list in case
> anyone has a chance to tackle it.  As far as I'm concerned, bugs that
> cause complete data loss for users are top priority so I'll do
> something about it if needed, but it would be great if someone else
> beats me to it :)
>
> Cheers,
>
> f
>
>
> ---------- Forwarded message ----------
> From: kinverarity1
> <reply+i-4789725-1c549c9a3037465987ecd9d2e7d03c53de09aad9-57394 at reply.github.com>
> Date: Tue, May 29, 2012 at 12:03 AM
> Subject: [ipython] Colons in notebook name causes notebook deletion
> without warning (#1781)
> To: Fernando Perez <fperez.net at gmail.com>
>
>
> If you change the name of a notebook by clicking on the notebook title
> in the browser, and the new name includes a colon, the notebook is
> "saved" without objection, while in the background the ipynb file is
> wiped -- the filename is truncated at the colon and the file is empty.
> This is not apparent in the browser until you close the notebook. This
> is on Windows.
>
> I discovered this by successively changing the names of a set of 5
> notebooks to include colons, and continued to make changes to the
> notebooks, saving, etc. Then I closed them and later went to re-open
> them to discover everything was gone. There was never any warning at
> all while in the browser. Given that there is no warning that the
> notebook title == filename and colons are a fairly common character,
> this strikes me as a pretty serious issue!
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/ipython/ipython/issues/1781
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list