Ask Your Question

# Revision history [back]

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. Note that i had an existing .sage directory coming from my previous uses of Sage (compiled from source), so this might explain the first success.

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. Note that i had an existing .sage directory coming from my previous uses of Sage (compiled from source), so this might explain the first success.

EDIT I tried from a fresh ~/.sage directory. Apparently, the user management works the first time, and when i restart sage, i got the same error.

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. Note that i had an existing .sage directory coming from my previous uses of Sage (compiled from source), so this might explain the first success.

EDIT I tried 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/pkgreport.cgi?pkg=sagemath

That said, you should know that sagenb is almost not maintained anymore, and that we are switching to use jupyter by default.

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. Note that i had an existing .sage directory coming from my previous uses of Sage (compiled from source), so this might explain the first success.

EDIT 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/pkgreport.cgi?pkg=sagemath

That said, you should know that sagenb 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 default.

typing (from a terminal):

sage -n=jupyter