Package: xonsh
Version: 0.5.10+dfsg-1
Severity: normal
Tags: upstream

xonsh tracing if bg process is exited by Ctrl-C.

Steps to reproduce:

top
Ctrl-Z
bg
Press enter few times
Ctrl-C

Trace:
xonsh: To log full traceback to a file set: $XONSH_TRACEBACK_LOGFILE =
<filename>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xonsh/__amalgam__.py", line 13061, in
run
    redirect_stdout(STDOUT_DISPATCHER), \
  File "/usr/lib/python3/dist-packages/xonsh/__amalgam__.py", line 12883, in
proxy_two
    def proxy_two(f, args, stdin, stdout, stderr, spec):
  File "/usr/lib/python3/dist-packages/xonsh/__amalgam__.py", line 9633, in bg
    res = fg(args, stdin)
IndexError: deque index out of range





-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

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

Versions of packages xonsh depends on:
ii  python3-ply   3.9-1
ii  python3-venv  3.5.3-1
pn  python3:any   <none>

Versions of packages xonsh recommends:
ii  python3-prompt-toolkit  1.0.9-1
ii  python3-pygments        2.2.0+dfsg-1
ii  python3-setproctitle    1.1.10-1

Versions of packages xonsh suggests:
pn  xonsh-doc  <none>

-- debconf-show failed

Reply via email to