Package: ranger
Version: 1.9.3-3
Severity: normal
Tags: upstream fixed-upstream
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I installed ranger and after that tried to run it, from within a tmux
session (and 'screen' is not installed), resulting in this fatal error:
# ranger
ranger version: ranger 1.9.3
Python version: 3.10.5 (main, Jun 8 2022, 09:26:22) [GCC 11.3.0]
Locale: en_US.UTF-8
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ranger/core/main.py", line 171, in main
fm.initialize()
File "/usr/lib/python3/dist-packages/ranger/core/fm.py", line 132, in
initialize
self.ui.initialize()
File "/usr/lib/python3/dist-packages/ranger/gui/ui.py", line 127, in
initialize
self.handle_multiplexer()
File "/usr/lib/python3/dist-packages/ranger/gui/ui.py", line 499, in
handle_multiplexer
self._screen_title = check_output(
File "/usr/lib/python3/dist-packages/ranger/ext/spawn.py", line 35, in
check_output
process = Popen(popenargs, stderr=fd_devnull, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'screen'
ranger crashed. Please report this traceback at:
https://github.com/ranger/ranger/issues
At https://github.com/ranger/ranger/issues/2580 it was already reported
upstream and that also pointed to a commit fixing it:
https://github.com/ranger/ranger/commit/1cdcce0a44d031be13009a70e25cc4cf75789eac
But that commit is not (yet) part of any released version.
On my normal PC, which does have 'screen' installed, I couldn't
reproduce this issue, ranger started fine within a tmux session.
I'll leave a decision to cherry-pick/backport that commit up to the
maintainer, but the last upstream release was from 2019-12-31 ...
- -- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: arm64 (aarch64)
Kernel: Linux 5.18.0-1-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ranger depends on:
ii python3 3.10.4-1+b1
ii sensible-utils 0.0.17
Versions of packages ranger recommends:
ii file 1:5.41-4
ii less 590-1
ii python3-chardet 4.0.0-2
ii w3m-img 0.5.3+git20220429-1+b1
Versions of packages ranger suggests:
pn atool <none>
pn caca-utils <none>
pn highlight | python3-pygments <none>
pn mediainfo | exiftool <none>
pn poppler-utils | mupdf-tools <none>
pn sudo <none>
pn unoconv <none>
ii w3m 0.5.3+git20220429-1+b1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCYqokuAAKCRDXblvOeH7b
blngAP9bGUhgJlhh1y2USXu8nctiygXETqDliUyzUIv3lxzTZQD/Rm/TThkmX13U
ayAp+4CZnqaR/2tzvauzycveLcKH3Q0=
=OxTy
-----END PGP SIGNATURE-----