Package: sagemath
Version: 9.5-6
Severity: normal
X-Debbugs-Cc: jorge.moral...@gmail.com

Dear Maintainer,

Sage fails to start from the graphical menu with "Failed to execute default
Terminal Emulator" "Input/output error".

The problem is confined to the menu launcher: sage starts without problem from
the command line (e.g. typing "sage -n" from the terminal emulator).

-----------------

The problem appears specific to sage, not to my configuration. This is the
information that leads me to believe this:

***
I have verified that all other applicatons that launch with "Terminal=true"
work as intended. In particular all applications listed here, except for sage,
open from their respective menu items

/usr/share/applications$ grep "Terminal=true" *
  emacs-term.desktop:Terminal=true
  jupyter-notebook.desktop:Terminal=true
  mc.desktop:Terminal=true
  mcedit.desktop:Terminal=true
  python3.11.desktop:Terminal=true
  R.desktop:Terminal=true
  sagemath.desktop:Terminal=true
  vim.desktop:Terminal=true

***
I use "terminator" as my default terminal emulator.

# update-alternatives --config x-terminal-emulator
There are 5 choices for the alternative x-terminal-emulator (providing
/usr/bin/x-terminal-emulator).

  Selection    Path                 Priority   Status
------------------------------------------------------------
* 0            /usr/bin/terminator   50        auto mode
  1            /usr/bin/koi8rxterm   20        manual mode
  2            /usr/bin/lxterm       30        manual mode
  3            /usr/bin/terminator   50        manual mode
  4            /usr/bin/uxterm       20        manual mode
  5            /usr/bin/xterm        20        manual mode

$ x-terminal-emulator
works as intended (opens a new window running terminator)

***
I run xfce-4 as my window manager.

My xfce4 configuration (Menu Applications -> Settings -> Default Applications
-> Utilities -> Terminal Emulator) is set to
"Debian X Terminal Emulator"

This works as intended:
$ exo-open --launch TerminalEmulator
works as intended (opens a new window running terminator)




-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (800, 'testing'), (50, 'experimental'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath depends on:
ii  python3       3.11.1-3
ii  python3-sage  9.5-6

Versions of packages sagemath recommends:
ii  sagemath-doc        9.5-6
ii  sagemath-jupyter    9.5-6
ii  sagetex             3.6.1+ds-1
ii  texlive-latex-base  2022.20230122-1

Versions of packages sagemath suggests:
pn  dot2tex      <none>
pn  gap-design   <none>
ii  gap-factint  1.6.3+ds-2
pn  gap-grape    <none>
pn  gap-guava    <none>
ii  gap-laguna   3.9.5+ds-2
pn  gap-sonata   <none>
pn  gap-toric    <none>

-- no debconf information

Reply via email to