Bug#881218: sagemath: notebook() Worksheet Process Users not working

Ximin Luo infinity0 at debian.org
Thu Nov 9 13:26:00 UTC 2017


On Wed, 8 Nov 2017 14:35:11 -0700 Jaimos Skriletz <jaimosskriletz at gmail.com> wrote:
> Package: sagemath
> Version: 7.4-9
> Severity: normal
> 
> Dear Maintainer,
> 
> In upgrading to stretch from jessie I am trying to switch to using the
> Debian package for sagemath from using the packages from upstream.
> In switching I noticed the following issue:
> 
> I was using sagemath with a single Worksheet Process User, so
> worksheets were run on my system as a user with limited privileges. I
> have this configured to use with ssh keys and it works as expected
> using the package from upstream.
> 
> When I set a Worksheet Process User with the Debian package, either
> with notebook(server_pool=["sagenb at localhost"]) or configuring it
> using the web UI under server settings, I am not able to use the
> worksheets. In this case no matter what I ask sagemath to do I get the
> error that the _interact_ function is not defined.
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "_sage_input_3.py", line 8, in <module>
>     _interact_.SAGE_CELL_ID=29
> NameError: name '_interact_' is not defined
> 

Hi Jaimos, it sounds like this problem:

https://stackoverflow.com/questions/40732874/sage-notebook-server-error-when-not-logged-in-to-host
https://unix.stackexchange.com/questions/338747/errors-in-process-running-in-screen-session-while-not-logged-in

However I'm not sure why "it works as expected using the package from upstream" for you - but perhaps you can figure this out from the details in the above links.

Let us know if we need to change something on the Debian side. If I don't hear anything, I'll assume everything's fine and close this bug report in a few weeks.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the debian-science-maintainers mailing list