Ask Your Question
1

notebook admin not working

asked 2018-01-29 18:37:30 +0100

bb16 gravatar image

updated 2018-01-29 19:34:38 +0100

Hello,

I have installed sagemath on debian (Stretch) with the debian package on 3 different computers. When clicking on manage users 500: internal server error and raise BuildError(endpoint, values, method, self) BuildError: Could not build url for endpoint 'users' with values ['reset']. Did you mean 'admin.users' instead?

I have no clue how to fix this or what it is due to... maybe I need to configure notebook or use different options Any idea ?

Thank-you,

b. edited added debian release 9

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-29 23:19:27 +0100

tmonteil gravatar image

updated 2018-01-29 23:54:04 +0100

For what it worth, i installed the sagemath package from the stretch release of Debian to understand the issue.

The first time i launched the notebook with (from a terminal):

sage -n

I could access the "manage users" the first time, and even create a new user. But then i got the same error as you. I tried again from a fresh ~/.sage directory. Apparently, the user management works the first time, and when i restart sage, i got the same error.

I confirm that it works well from my own installation of Sage (latest beta, built from source). Hence, this is a problem of Debian packaging. Hence, this should reported to Debian, not to Sage. The link is https://bugs.debian.org/cgi-bin/pkgre...

That said, you should know that sagenb is almost not maintained anymore, and that we are switching to use jupyter by default. So, you might better spend time on that interface. Please do not hesitate to report what is missing from sagenb to move to jupyter.

By the way, you can run jupyter notebook by typing (from a terminal):

sage -n=jupyter
edit flag offensive delete link more

Comments

Thank you. It does help. I'll try and file a bug report. I started a class with sagenb worksheet for student to use and complete. I am not sure whether I'll be able to switch to jupyter now not knowning wether I can produce the same kind of worksheets. I'll bear your advice in mind though at least for future use. Thanks again.

bb16 gravatar imagebb16 ( 2018-01-30 09:50:01 +0100 )edit

The following question and answers can help in migrating from sagenb to jupyter : https://ask.sagemath.org/question/358...

tmonteil gravatar imagetmonteil ( 2018-01-30 17:01:40 +0100 )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

1 follower

Stats

Asked: 2018-01-29 18:37:30 +0100

Seen: 735 times

Last updated: Jan 29 '18