Bug#972346: sagemath-common: Sagemath does not work with Cantor, sage-env binary is needed

Jan Kriho Erbureth at gmail.com
Fri Oct 16 16:29:14 BST 2020


Package: sagemath-common
Version: 9.2~beta12-1
Severity: normal
X-Debbugs-Cc: Erbureth at gmail.com

Dear Maintainer,

Cantor is a front-end for several math SW. However recently it stopped working
for Sage with following error in the terminal:

out:  "/usr/share/cantor/sagebackend/cantor-execsage: line 13: exec: sage-
ipython: not found\r\n"

The launcher scripts is dependent on sage-env binary which sets env for
executing further commands:

```
#!/usr/bin/env bash

export SAGE_ROOT="$($1 --root)"

if [[ -f $SAGE_ROOT"/bin/sage-env" ]]; then
    . "$SAGE_ROOT/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/local/bin/sage-env" ]]; then
    . "$SAGE_ROOT/local/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/src/bin/sage-env" ]]; then
    . "$SAGE_ROOT/src/bin/sage-env" >&2
fi

exec sage-ipython -i --simple-prompt
```

Please consider re-adding the binary back to the package.

Regards,

Jan Kriho



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (950, 'testing'), (900, 'unstable'), (850, 'experimental'), (800, 'stable'), (775, 'oldstable'), (500, 'oldoldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-common depends on:
ii  python3  3.8.2-3

sagemath-common recommends no packages.

sagemath-common suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list