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

Jaimos Skriletz jaimosskriletz at gmail.com
Wed Nov 8 21:35:11 UTC 2017


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

jaimos

-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968), LANGUAGE=
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sagemath depends on:
ii  cysignals-tools                              1.3.2+ds-1
ii  cython                                       0.25.2-1
ii  ecl                                          15.3.7+dfsg1-2+deb9u1
ii  eclib-tools                                  20160720-2
ii  f2c                                          20100827-3
ii  fflas-ffpack                                 2.2.2-4
ii  flintqs                                      1:1.0-1+b1
ii  gap-core                                     4r8p6-2
ii  gfan                                         0.5+dfsg-6
ii  gmp-ecm                                      7.0.4+ds-1
ii  ipython                                      5.1.0-3
ii  iso-codes                                    3.75-1
ii  jmol                                         14.6.4+2016.11.05+dfsg1-3
ii  lcalc                                        1.23+dfsg-6+b1
ii  less                                         481-2.1
ii  libatlas3-base [liblapack.so.3]              3.10.3-1+b1
ii  libblas3 [libblas.so.3]                      3.7.0-2
ii  libbrial-groebner0                           0.8.5-4
ii  libbrial0                                    0.8.5-4
ii  libc6                                        2.24-11+deb9u1
ii  libcdd-tools                                 094h-1+b1
ii  libcliquer1                                  1.21-1+b2
ii  libec2                                       20160720-2
ii  libecm1                                      7.0.4+ds-1
ii  libflint-2.5.2                               2.5.2-15
ii  libflint-arb1                                2.8.1-3
ii  libgap-sage-4                                4.8.6+3+20160327g69a66f0+dsx-2
ii  libgcc1                                      1:6.3.0-18
ii  libgd3                                       2.2.4-2+deb9u2
ii  libgivaro9                                   4.0.2-5
ii  libglpk40                                    4.61-1
ii  libgmp10                                     2:6.1.2+dfsg-1
ii  libgmpxx4ldbl                                2:6.1.2+dfsg-1
ii  libgsl2                                      2.3+dfsg-1
ii  libiml0                                      1.0.4-1+b2
ii  libjs-mathjax                                2.7.0-2
ii  liblapack3 [liblapack.so.3]                  3.7.0-2
ii  liblfunction0                                1.23+dfsg-6+b1
ii  liblinbox-1.4.2-0                            1.4.2-3
ii  liblinboxsage-1.4.2-0                        1.4.2-3
ii  liblrcalc1                                   1.2-2+b1
ii  libm4ri-0.0.20140914                         20140914-2+b1
ii  libm4rie-0.0.20150908                        20150908-1
ii  libmpc3                                      1.0.3-1+b2
ii  libmpfi0                                     1.5.1+ds-4
ii  libmpfr4                                     3.1.5-1
ii  libntl27                                     9.9.1-3
ii  libpari-gmp-tls5                             2.9.1-1
ii  libplanarity0                                3.0.0.5-1+b1
ii  libpng16-16                                  1.6.28-1
ii  libppl14                                     1:1.2-1
ii  libpynac2                                    0.6.91-1
ii  libratpoints-2.1.3                           1:2.1.3-1+b2
ii  libreadline7                                 7.0-3
ii  librw0                                       0.8+ds-1
ii  libsingular4                                 1:4.0.3-p3+ds-5
ii  libsingular4-dev                             1:4.0.3-p3+ds-5
ii  libstdc++6                                   6.3.0-18
ii  libsymmetrica2                               2.0+ds-4
ii  libzn-poly-0.9                               0.9-3+b2
ii  maxima-sage                                  5.35.1-2
ii  maxima-sage-doc                              5.35.1-2
ii  maxima-sage-share                            5.35.1-2
ii  nauty                                        2.6r7+ds-1
ii  octave                                       4.0.3-3
ii  palp                                         2.1-3+b1
ii  pari-doc                                     2.9.1-1
ii  pari-galdata                                 0.20080411-2
ii  pari-gp                                      2.9.1-1
ii  pari-seadata                                 0.20090618-1
ii  python                                       2.7.13-2
ii  python-alabaster                             0.7.8-1
ii  python-babel                                 2.3.4+dfsg.1-2
ii  python-backports-abc                         0.5-1
ii  python-backports-shutil-get-terminal-size    1.0.0-3
ii  python-backports.ssl-match-hostname          3.5.0.1-1
ii  python-brial                                 0.8.5-4
ii  python-configparser                          3.3.0r2-2
ii  python-crypto                                2.6.1-7
ii  python-cvxopt                                1.1.4-1.5+deb9u1
ii  python-cycler                                0.10.0-1
ii  python-cysignals-pari                        1.3.2+ds-1
ii  python-decorator                             4.0.11-1
ii  python-docutils                              0.13.1+dfsg-2
ii  python-flask                                 0.12.1-1
ii  python-flask-autoindex                       0.6-1
ii  python-flask-babel                           0.11.1-1
ii  python-flask-oldsessions                     0.10+git20121007-1
ii  python-flask-openid                          1.2.5+dfsg-2
ii  python-flask-silk                            0.2-5
ii  python-fpylll                                0.2.3+ds-2
ii  python-functools32                           3.2.3.2-3
ii  python-future                                0.15.2-4
ii  python-gd                                    0.59-1
ii  python-gnutls                                3.0.0-1
ii  python-imagesize                             0.7.1-1
ii  python-ipython-genutils                      0.1.0-2
ii  python-itsdangerous                          0.24+dfsg1-2
ii  python-jsonschema                            2.5.1-6
ii  python-matplotlib                            2.0.0+dfsg1-2
ii  python-mistune                               0.7.3-1
ii  python-moinmoin                              1.9.9-1
ii  python-mpmath                                0.19-3
ii  python-networkx                              1.11-2
ii  python-numpy [python-numpy-abi9]             1:1.12.1-3
ii  python-openid                                2.2.5-6
ii  python-path                                  10.1-1
ii  python-pathlib2                              2.2.0+really2.1.0-1
ii  python-pexpect                               4.2.1-1
ii  python-pickleshare                           0.7.4-1
ii  python-pil                                   4.0.0-4
ii  python-pip                                   9.0.1-2
ii  python-pkgconfig                             1.2.2-1
ii  python-ply                                   3.9-1
ii  python-prompt-toolkit                        1.0.9-1
ii  python-psutil                                5.0.1-1
ii  python-ptyprocess                            0.5.1-1
ii  python-pygments                              2.2.0+dfsg-1
ii  python-rpy2                                  2.8.5-1
ii  python-sagenb                                0.13+ds1-2
ii  python-sagenb-export                         2.0-2
ii  python-scipy                                 0.18.1-2
ii  python-setuptools                            33.1.1-1
ii  python-setuptools-scm                        1.15.0-1
ii  python-simplegeneric                         0.8.1-1
ii  python-singledispatch                        3.4.0.3-2
ii  python-snowballstemmer                       1.2.1-1
ii  python-sphinx                                1.4.9-2
ii  python-sympy                                 1.0-3
ii  python-terminado                             0.6-1
ii  python-tk                                    2.7.13-1
ii  python-tornado                               4.4.3-1
ii  python-traitlets                             4.3.1-1
ii  python-twisted                               16.6.0-2
ii  python-tz                                    2016.7-0.3
ii  python-vcversioner                           2.16.0.0-1
ii  python-wcwidth                               0.1.7+dfsg1-1
ii  python-werkzeug                              0.11.15+dfsg1-1
ii  python-zmq                                   16.0.2-2
ii  python-zodb                                  1:3.10.7-1
ii  python-zope.interface                        4.3.2-1
ii  python2.7                                    2.7.13-2
ii  r-base-dev                                   3.3.3-1
ii  r-cran-lattice                               0.20-34-1
ii  rubiks                                       20070912-2+b1
ii  sagemath-common                              7.4-9
ii  sagemath-database-conway-polynomials         0.4.p0+dfsg-2
ii  sagemath-database-elliptic-curves            0.8-1
ii  sagemath-database-graphs                     20161026+dfsg-1
ii  sagemath-database-mutually-combinatorial-de  20140630-2
ii  sagemath-database-polytopes                  20120220+dfsg-2
ii  singular                                     1:4.0.3-p3+ds-5
ii  singular-doc                                 1:4.0.3-p3+ds-5
ii  sqlite3                                      3.16.2-5
ii  sympow                                       1.023-8
ii  tachyon                                      0.99~b6+dsx-8
ii  zlib1g                                       1:1.2.8.dfsg-5

Versions of packages sagemath recommends:
ii  sagemath-doc-en     7.4-9
ii  sagemath-jupyter    7.4-9
ii  sagetex             3.0+ds-4
ii  texlive-latex-base  2016.20170123-5

sagemath suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list