The token does get generated for me, are you sure you don't have any funny configuration files in ~/.jupyter
Unless you override it in the config, the generated url should have this form (including the access token):[I 09:21:59.267 NotebookApp] The Jupyter Notebook is running at:[I 09:21:59.267 NotebookApp] http://localhost:8889/?token=0df6ca362c920415eb1990bcfa4122baa094a3fdfa0f3709
On Wednesday, August 8, 2018 at 5:38:03 PM UTC+2, John Cremona wrote:I just updagred to 8.3 on a machine (ubuntu 16.04) where I have frequently run Sage both command-line and jupyter notebook previously. Now when I typesage --notebook=jupyterI see┌────────────────────────────────────────────────────────────────────┐│ SageMath version 8.3, Release Date: 2018-08-03 ││ Type "notebook()" for the browser-based notebook interface. ││ Type "help()" for help. │└────────────────────────────────────────────────────────────────────┘Please wait while the Sage Jupyter Notebook server starts...[I 16:32:21.039 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js[I 16:32:21.347 NotebookApp] The port 8888 is already in use, trying another port.[I 16:32:21.353 NotebookApp] Serving notebooks from local directory: /home/jec/sage-scripts[I 16:32:21.353 NotebookApp] 0 active kernels[I 16:32:21.353 NotebookApp] The Jupyter Notebook is running at:[I 16:32:21.353 NotebookApp] http://localhost:8889/[I 16:32:21.354 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).Gtk-Message: Failed to load module "pk-gtk-module"Gtk-Message: Failed to load module "pk-gtk-module"[54010:54010:0808/163222.159037:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.[53973:54212:0808/163222.855277:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[53973:53973:0808/163222.961497:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context.(chromium-browser:53973): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'[I 16:32:22.976 NotebookApp] 302 GET /tree (::1) 2.53msand the browser which pops up has a plain login page asking for a password. There is a different user currently running some sessions (2 of which look stale as they have been running since 2017) which is why it switched from port 8888 to 8889, but I think from the above output that the switch is incomplete and it wants me to log into his session on port 8888. Perhaps.John
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscribe@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
note the warningThe port 8888 is already in use, trying another port.And that it tries to get you started on port 8889 instead.Perhaps this is somehow broken...
What do you have on 8888?
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
The token is generated before launching the browser, and conflicting ports aren't a problem (jupyter just picks an unused one). Check for pesky environment variables like JUPYTER_TOKEN and/or trysage --notebook=jupyter --no-browser --debug
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscribe@googlegroups.com.
So whats in /home/jec/.sage/jupyter-4.1/jupyter_notebook_config.json
--
You received this message because you are subscribed to the Google Groups "sage-support" group.