Ask Your Question

notebook admin not working

asked 2018-01-29 11:37:30 -0600

bb16 gravatar image

updated 2018-01-29 12:34:38 -0600


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 ?


b. edited added debian release 9

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-29 16:19:27 -0600

tmonteil gravatar image

updated 2018-01-29 16:54:04 -0600

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

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


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 02:50:01 -0600 )edit

The following question and answers can help in migrating from sagenb to jupyter :

tmonteil gravatar imagetmonteil ( 2018-01-30 10:01:40 -0600 )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


Asked: 2018-01-29 11:37:30 -0600

Seen: 36 times

Last updated: Jan 29