SageMath 8.0 login problems

asked 2017-12-09 20:23:21 +0200

russ cos gravatar image

I'm using the SageMath 8.0 app on Mac Sierra 10.12.6 (not from the command line!). I am running everything locally. When trying to open a Sage Jupyter notebook after a few weeks (clicking SageMath 8.0), I got a window asking to enter the token or the password. There were some instructions for finding the token and or setting up a password that (although not explicitly stated) seemed to require a command line. Since there seemed no way for me to follow these instructions I just tried to kill whatever was running and start over. Low, I was able to open one notebook (yeah!), but the one for which I originally encountered the problem now opens with the Python kernel.

So my questions:

(1) How do I open Sage Jupyter notebooks after I get that login window described above, when using SageMath 8.0 app? And how can I setup a password to make it more trouble free? (I'm running on my local machine, not cloud.)

(2) Is there a way to salvage the Jupiter notebook that now opens with the Python kernel, instead of Sage?

edit retag flag offensive close merge delete



Concerning the Mac application I am of no help. However note that

  • the Jupyter notebook does not use any kind of password
  • Inside a jupyter notebook, you can change the kernel on demand (in the menu on top of a worksheet)
  • Sage 8.0 is shipped with two different notebooks, the "Sage notebook" and "Jupyter"
vdelecroix gravatar imagevdelecroix ( 2017-12-10 09:52:32 +0200 )edit

Your comment about being able to change the kernel seems to be all I needed. I had tried but apparently not in a very effective way. It's done now. Also, I can no longer reproduce my authentication problem, so forget that. So basically everything is good now and thank you!

russ cos gravatar imageruss cos ( 2017-12-10 18:22:46 +0200 )edit

I'm still a little confused about this question then. What would changing the kernel have to do with passwords? Note also that newer versions of the Jupyter Notebook require a token to be appended to URLs when accessing the notebook through the browser. This token is normally displayed in the console window that the notebook server was started from.

Iguananaut gravatar imageIguananaut ( 2017-12-11 16:36:05 +0200 )edit