download is .ipynb in safari

931 views
Skip to first unread message

Gideon Simpson

unread,
Oct 26, 2016, 6:48:09 PM10/26/16
to Project Jupyter
I'm finding that if I download  notebook as a .ipynb file while using Safari it appends the .json extension to it.  This problem does not occur if I use another browser.

Matthias Bussonnier

unread,
Oct 28, 2016, 9:39:21 PM10/28/16
to jup...@googlegroups.com
Thanks for the report,

Unfortunately as far as I remember there is nothing we can do about this.
Safari is known to have many problems with Jupyter Notebook in general,
and is not one of the browser we recommend.

Thanks,
--
Matthias
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/571b829b-e0cf-4a4b-88da-953a8e84a30f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

MinRK

unread,
Oct 31, 2016, 9:24:43 AM10/31/16
to Project Jupyter
On Sat, Oct 29, 2016 at 3:39 AM, Matthias Bussonnier <bussonnie...@gmail.com> wrote:
Thanks for the report,

Unfortunately as far as I remember there is nothing we can do about this.
Safari is known to have many problems with Jupyter Notebook in general,
and is not one of the browser we recommend.

I don't think this is quite accurate. Safari is one of the officially supported browsers, and is the one I would recommend to any Mac user. I believe the file-extension thing in this case is because we are declaring the mime-type to be application/json, when it should probably be something notebook-specific, such as `application/vnd.jupyter.notebook+json`. I think if we did that, Safari wouldn't add the json extension.

-Min
 

Thanks,
--
Matthias

On Wed, Oct 26, 2016 at 3:48 PM, Gideon Simpson
<gideon....@gmail.com> wrote:
> I'm finding that if I download  notebook as a .ipynb file while using Safari
> it appends the .json extension to it.  This problem does not occur if I use
> another browser.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an

> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/571b829b-e0cf-4a4b-88da-953a8e84a30f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Thomas Kluyver

unread,
Oct 31, 2016, 10:45:40 AM10/31/16
to Project Jupyter
On 31 October 2016 at 13:24, MinRK <benja...@gmail.com> wrote:
it should probably be something notebook-specific, such as `application/vnd.jupyter.notebook+json`.

We already decided on application/x-ipynb+json as the mimetype for notebooks. I know you were only giving an example, but I don't want people to read this thread and start using another mimetype, as consistency is important.

MinRK

unread,
Oct 31, 2016, 10:53:17 AM10/31/16
to Project Jupyter
Good catch, I didn't mean to mislead, just point out that it should be foo+json, not just json.

-Min

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

MinRK

unread,
Oct 31, 2016, 10:58:02 AM10/31/16
to Project Jupyter

This PR fixes the file-extension-adding on Safari by declaring the correct mime-type.

-MinRK

Reply all
Reply to author
Forward
0 new messages