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 type
>
> sage --notebook=jupyter
>
> I 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.53ms
>
>
> and 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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to