Well at least in your case it seems that chrome is detected and launched automatically, this is IMHO preferable to a commandline prompt.
On Monday, April 17, 2017 at 10:37:08 AM UTC+2, Dima Pasechnik wrote: > > Perhaps it's a good idea to provide a prompt at this point, something like > "Launch the browser? (yes/no)" > > > On Sunday, April 16, 2017 at 3:11:08 PM UTC+1, Volker Braun wrote: >> >> The token is a security measure so no other (local) user can run >> arbitrary code in your notebook. It is printed during startup (see below). >> Usually, jupyter will launch its own browser so the token is used >> automatically... >> >> $ sage -n >> ┌────────────────────────────────────────────────────────────────────┐ >> │ SageMath version 8.0.beta2, Release Date: 2017-04-12 │ >> │ Type "notebook()" for the browser-based notebook interface. │ >> │ Type "help()" for help. │ >> └────────────────────────────────────────────────────────────────────┘ >> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ >> ┃ Warning: this is a prerelease version, and it may be unstable. ┃ >> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ >> Please wait while the SageNB export server starts... >> [W 16:07:47.160 NotebookApp] server_extensions is deprecated, use >> nbserver_extensions >> [I 16:07:47.165 NotebookApp] Using MathJax: >> nbextensions/mathjax/MathJax.js >> [I 16:07:47.197 NotebookApp] Writing notebook server cookie secret to >> /run/user/1006/jupyter/notebook_cookie_secret >> [I 16:07:48.266 NotebookApp] Serving notebooks from local directory: >> /mnt/disk/home/release/Sage >> [I 16:07:48.266 NotebookApp] 0 active kernels >> [I 16:07:48.266 NotebookApp] The Jupyter Notebook is running at: >> http://localhost:8888/?token=4b2b23550be648f42c955b4dfe2f8ab6890553699fb8b386 >> [I 16:07:48.266 NotebookApp] Use Control-C to stop this server and shut >> down all kernels (twice to skip confirmation). >> [C 16:07:48.267 NotebookApp] >> >> Copy/paste this URL into your browser when you connect for the first >> time, >> to login with a token: >> >> http://localhost:8888/?token=4b2b23550be648f42c955b4dfe2f8ab6890553699fb8b386 >> >> >> >> On Tuesday, April 11, 2017 at 10:43:59 PM UTC+2, dimpase wrote: >>> >>> it does not work for me, or at least I must be doing something wrong. >>> I get to the page listing the notebooks to convert, and then, if I click >>> on a notebook, I get a weird page asking for a password or a token. >>> >>> Password or token: >>> Log in >>> >>> Token authentication is enabled. You need to open the notebook server >>> with its first-time login token in the URL, or enable a password in order >>> to gain access. The command: >>> >>> jupyter notebook list >>> >>> will show you the URLs of running servers with their tokens, which you >>> can copy and paste into your browser. For example: >>> >>> Currently running servers:http://localhost:8888/?token=c8de56fa... :: >>> /Users/you/notebooks >>> >>> Or you can paste just the token value into the password field on this >>> page. >>> >>> Cookies are required for authenticated access to notebooks. >>> >>> >>> >>> What I see above doesn't look as a valid URL, and then WTF is the token >>> I can paste instead? >>> >>> I tried c8de56fa, it didn't work. I tried clicking on the URL, it brings >>> me back to the page to choose >>> >>> the notebooks... >>> >>> Arrgh... Give me my console any time... >>> >>> >>> >>> >>> >>> On Tuesday, April 11, 2017 at 3:04:42 PM UTC+1, kcrisman wrote: >>>> >>>> This is now default in the Sage 8.0 beta series, and we strongly >>>> welcome testers! For a limited time only I have posted a binary of the >>>> app >>>> bundle at >>>> >>>> >>>> http://www.math.gordon.edu/~kcrisman/sage-8.0.beta0-OSX_10.11.6-x86_64.app.dmg >>>> >>>> This should work on both Mac 10.11 and 10.12. For bandwidth reasons I >>>> would prefer if those with the ability simply upgrade and build from >>>> scratch, but testing this app is also necessary. >>>> >>>> PLEASE TRY THIS and report back if you are at all interested in making >>>> sure that Sage 8.0 doesn't come with nasty surprises for long-time sagenb >>>> users. Preliminary testing makes it seem as if we are okay, but it would >>>> be very helpful to have feedback about better/more informative messages >>>> for >>>> end users. >>>> >>>> Note if you haven't downloaded a new one for a while: because it will >>>> first have to patch some names to make sure all paths are correct, the >>>> first launch will take a LONG time. >>>> >>> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.