New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notebook: run ExportSageNB by default #19740
Comments
New commits:
|
Author: Volker Braun |
Commit: |
comment:3
Shouldn't the And I certainly think this ticket needs a discussion on sage-devel (I have no opinion on the matter). |
comment:4
I would also suggest to upgrade the relevant IPython/Jupyter packages and to get #19571 in too. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:8
Modfiy description to point to the discussion threads. |
comment:9
Small wording suggestion: change "The default notebook implementation changed" to "The default notebook implementation has changed". Maybe it should say "The default notebook implementation has changed to Jupyter notebooks". I would prefer it if there were a method to convert old-style notebooks to new ones and that the deprecation notice described this method. I'm not sure if this is important enough to hold up a positive review for this ticket. What happens to the Sage app on OS X? It starts a SageNB notebook server by default. Shouldn't that change, too? And print some sort of deprecation warning? I don't even see a way directly from the app to start a Jupyter server. |
comment:10
I would more than prefer it.
Well, I guess you can launch any terminal command from the app, but I don't think it's been updated to have a script dedicated to launching ipynb (though you can get some terminals). Maybe at least adding this should be part of this as well as changing its launch page to note the new situation; I think it's unlikely to be good to change behavior for this audience without a clear "abort" situation and very clear instructions on how to migrate at a later time. |
comment:11
The SageNB migration is at #19877 |
comment:12
I created #19881 to track the Mac app changes. |
Changed author from Volker Braun to Volker Braun, Jeroen Demeyer |
comment:51
Replying to @kcrisman:
What do you mean? Which problems do you have? |
comment:52
Replying to @kcrisman:
That's the way how Jupyter works and see no reason to change that. |
comment:53
Replying to @kcrisman:
I was not aware of the |
comment:55
Replying to @kcrisman:
I am really a beginner when it comes to web development. If somebody else wants to implement the user interface for this, I will gladly implement the server part of that feature. |
comment:56
Replying to @kcrisman:
Is it? That would be good news. And a surprise to me indeed, at least |
comment:57
Nothing is wrong with it (or maybe it is? I didn't test it yet), but people who had used it would be completely clueless as to this since they wouldn't have been exposed to command line at all, in principle, much less having to save it somewhere.
The cell runs, but then I can't use the function defined in it.
That is very understandable, as it is not used there much, more in later things. I do know a fair number of people who have used it, and if it can't be emulated it means multi-input interacts become far less useful (because too hard to see all the controls at once).
Hmm, I guess I am even more of a beginner there :) What I would say is that the UI at a very minimum could have a warning the top saying something like "Want to export several worksheets at once? Click here for precise instructions on how to do this." and then have said precise instructions, including giving them the custom path to use with the scripts in question. Otherwise one would have to implement checkboxes, some sort of GET (?) operation, and then have an interface for where to save them (presumably not ALL at once in the usual directory, but a sub-directory) and now you're getting complicated. Plus then one wouldn't have the once-off "click on this worksheet to export it" feature, which is very nice, unless you separated that from the checkboxes ... |
comment:59
Replying to @kcrisman:
I regularly use Still, if it does not work for you, please open a ticket with more details (in particular an actual |
comment:60
I created #22654 for |
comment:61
kcrisman: what would be needed for you to give positive review to this ticket? |
comment:62
For batch conversion, how about just a link to download all notebooks (converted and zipped up). That would be easy to implement (ideally not on this ticket). I'll merge this ticket when 7.6 is out... |
comment:63
List (modulo merging this ticket and opening new 8.0 blockers for these):
A lot of this will be revealed in heavy testing. We should definitely recruit non-Jupyter users to test this out. Don't skimp! |
comment:64
Replying to @vbraun:
I like that; it falls in a usual workflow for users, with an explicit flexibility to choose where to store the notebooks. |
comment:65
Replying to @kcrisman:
I don't think all that should be on the export page. "more wording on the export main page about exactly what it's doing" sounds like a good idea, but explaining everything about Jupyter notebooks not. |
comment:66
I created #22663 for |
comment:67
Replying to @jdemeyer:
Yup; better link to a good existing notebook tutorial rather than duplicating one there. One option would be to link to existing thematic tutorial after having updated it w.r.t. the Jupyter notebook. With Sébastien, we will be running this tutorial at the upcoming Sage Days in Montréal at the end of April; this would be a good occasion to beta test it (and work on it beforehand). |
comment:68
Replying to @nthiery:
Well, to be honest, none of this can be done easily in Jupyter:
|
comment:69
Replying to @jdemeyer:
Indeed. That's why we need a round of beta test to see in practice |
comment:70
Sure, that is fine, I didn't mean that you needed a ridiculously long first page, but making info easy to find is important.
Yeah, I would hope we could have a pretty lengthy beta period for this 8.0, even if that means a few tickets have to wait to get in as I guess 8.0 is only about this and a few attendant things. There are a few lists I'd like to spam about testing this out once a download of a beta becomes available (preferably also a Mac app version of the download, only for testing purposes). |
comment:71
See #19881 which was merged quite a while ago - I have never tried that out but perhaps it would be easy to integrate with this. |
comment:72
Replying to @kcrisman:
That should be fixable by chdir-ing to $HOME in the mac app... |
comment:73
Absolutely, but would have to be implemented - I don't want to ask a user who thinks dollar signs are for money to do it :-) |
comment:74
What happens with this in Jupyter? Is it a supported thing (whether single or double percent)?
Same question for |
Changed branch from u/jdemeyer/use_jupyter_notebook_by_default to |
Change the default notebook application in Sage to be
sagenb_export
. This small web application, built on top of Jupyter, acts as migration wizard which can convert legacy Sage notebooks to Jupyter. It also has buttons to run either the legacy Sage notebook server or the new Jupyter notebook server.Tarball: http://sage.ugent.be/www/jdemeyer/sage/sagenb_export-3.1.tar.gz
Depends on #22458
CC: @novoselt @gvol
Component: notebook
Author: Volker Braun, Jeroen Demeyer
Branch/Commit:
4d838d0
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/19740
The text was updated successfully, but these errors were encountered: