Ask Your Question
0

notebook version login

asked 2013-08-01 12:45:20 +0200

burningbright gravatar image

I'm moving to a new linux box. Old box had Sage 5.4. Installed Sage 5.10 on the new box. When I type

sage -notebook

the text says to open my web browser to http://localhost:8080. Doing this in Firefox, I get a login page. It says 'Sign into the Sage Notebook 5.10'. My standard sagenb login name and password do not work. To check this, I opened another tab on the browser and went to www.sagenb.org. This gives a similar looking page, except now it says "Sign into the Sage Notebook 5.4' instead of 'Sage 5.10'. And the Sage logo on the top left says Sage 5.4 instead of 5.10. Here my standard sagenb name and password DO work. I can see several old notebooks I must have created when learning Sage.

One issue may be that, since the IT staff moved over my old home directory, I still have my original settings. I checked my $HOME/.tcshrc, for example, but there is nothing here related to the browser. (I did change SAGE_ROOT to point to the new sage install and sourced the file - the "sage" command itself works fine).

So why does www.sagenb.org still point me to 5.4? And why can't I log onto the 5.10 version? Checked the FAQ section, etc. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-01 13:44:16 +0200

kcrisman gravatar image

You should note that the sagenb.org site is a hosted cloud service, where you have created an account. It happens to still be at Sage 5.4 for reasons that are not quite clear to me.

Your personal linux Sage version is only available to you, and lives on your computer. Naturally, the name and password might have no relation to each other.

You can do sage and then at the Sage prompt do

sage: notebook()

and see if that does anything different. It should open a browser by itself, no login required.

edit flag offensive delete link more

Comments

This gives the same error. Yes, all I really want is to get the local notebook working again. Reading more closely, the notebook command is looking for firefox in its install location on the old box, not the new box. I think I need to delete the entire $HOME/.sage area (which contains a number of files from the older install) and reinstall sage from scratch again. Not sure if this explains all of these issues - will report my results.

burningbright gravatar imageburningbright ( 2013-08-01 14:35:29 +0200 )edit

And it looks like I should back up $HOME/.sage/sage_notebook.sagenb first to hopefully get back the notebooks I neglected to explicitly save to .sws format ...

burningbright gravatar imageburningbright ( 2013-08-01 14:52:50 +0200 )edit
1

I wouldn't necessarily get rid of all those things, and you definitely shouldn't have to move the sagenb stuff. At best there might be some specific file in `./sage` which is causing trouble. Does [this question](http://ask.sagemath.org/question/1803/change-default-web-browser) help?

kcrisman gravatar imagekcrisman ( 2013-08-01 18:08:33 +0200 )edit

I moved my pre-existing .sage to .sage_old. Deleted the entire sage-5.10 folder, reinstalled it fresh from the tarball and let it make a new .sage area. However, I still get the same error message: the notebook looks for firefox at the old location and bombs. So as a kludge for now, I added a symbolic link at the old location of firefox, pointing to the new location. This works, and at least I don't have to ask IT to wipe my entire account back to defaults. And I can indeed get to my old notebooks with notebook(.../.sage_old/sage_notebook.sagenb"), so I'm happy. "Symbolic links - the duct tape of Linux".

burningbright gravatar imageburningbright ( 2013-08-01 19:23:22 +0200 )edit

Oddly, "www.sagenb.org" still thinks I'm running sage 10.4. But I can get in using my account and it doesn't really seem to matter.

burningbright gravatar imageburningbright ( 2013-08-01 19:32:56 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-08-01 12:45:20 +0200

Seen: 583 times

Last updated: Aug 01 '13