On 9 August 2018 at 08:26, Volker Braun <vbraun.n...@gmail.com> wrote:
> The token does get generated for me, are you sure you don't have any funny > configuration files in ~/.jupyter > The is nothing in there except for a file 'migrated' containing 2016-09-02T15:23:38.838391 (with no newline). I have never done anything to configure jupyter. As I said, it worked always before I built 8.3. > 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 > Yes, that is what I have always seen before. I installed the package Dima suggested but that does not affect this issue. It still behaves as it did yesterday. Now the output is $ sage --notebook=jupyter ┌────────────────────────────────────────────────────────────────────┐ │ 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 09:13:40.197 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js [I 09:13:40.455 NotebookApp] The port 8888 is already in use, trying another port. [I 09:13:40.460 NotebookApp] Serving notebooks from local directory: /home/jec/.jupyter [I 09:13:40.460 NotebookApp] 0 active kernels [I 09:13:40.460 NotebookApp] The Jupyter Notebook is running at: [I 09:13:40.461 NotebookApp] http://localhost:8889/ [I 09:13:40.461 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [68140:68140:0809/091341.230252:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process. [I 09:13:41.671 NotebookApp] 302 GET /tree (::1) 1.48ms Created new window in existing browser session. and the new window asks or a password. I still think it is something to do with this: $ ps aux | grep jupyt lowry 12387 0.0 0.0 137702340 844 ? S 2017 0:00 python -m sage.repl.ipython_kernel -f /run/user/1074/jupyter/kernel-6a00c63e-3725-4a1f-9675-d31f3ca4346d.json lowry 13787 0.0 0.0 146488296 3404 ? S 2017 0:00 python -m sage.repl.ipython_kernel -f /run/user/1074/jupyter/kernel-6a00c63e-3725-4a1f-9675-d31f3ca4346d.json lowry 49983 0.0 0.0 137942964 330344 ? Ssl Jul27 9:19 python -m sage.repl.ipython_kernel -f /run/user/1074/jupyter/kernel-10384626-e3c4-4112-99fc-c9f3f72db136.json lowry 51560 0.0 0.0 138009880 336400 ? Ssl Jul27 0:54 python -m sage.repl.ipython_kernel -f /run/user/1074/jupyter/kernel-234bb5d0-b319-4b11-91bb-b8a5d0bb4a9d.json lowry 56073 0.0 0.0 415368 36708 pts/51 Sl+ Feb11 41:44 python /usr/local/sage/sage-2/src/bin/sage-notebook --notebook=jupyter --port=8888 lowry 56179 0.0 0.4 3498740 2449576 ? Ssl Feb11 15:55 /usr/local/sage/sage-2/local/bin/python -m ipykernel_launcher -f /run/user/1074/jupyter/kernel-10500b86-2757-4ba6-9504-7ad81c57e5c4.json jec 67068 0.0 0.0 14220 1012 pts/5 S+ 09:12 0:00 grep --color=auto jupyt but the user in question is currently somewhere in deepest Iceland. If I simply run chromium-browser on this machine (which I am logging in to remotely) I see those error messages: $ chromium-browser [68969:68969:0809/091759.024888:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process. [68932:69172:0809/091759.442701: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") [68932:68932:0809/091759.537307:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context. (chromium-browser:68932): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:' which at least shows that some of the error messages I get when trying to run Sage jupyter notebook are nothing to do with Sage. > > > 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.j >> s >> [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. > -- 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.