Ranger fails to start due to screen dependency

Bug #1912075 reported by GoomerkO
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ranger (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In a fresh Ubuntu 20.04 install, I installed ranger package.

The first run of the ranger command fails with the following error:

ranger version: ranger 1.9.3
Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.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.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'screen'

After installing the screen package everything just works, so I guest the screen package should be in the ranger's depends list.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ranger 1.9.3-1build1
ProcVersionSignature: Ubuntu 5.8.0-38.43~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Jan 16 23:48:03 2021
InstallationDate: Installed on 2021-01-16 (0 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
SourcePackage: ranger
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
GoomerkO (goomerko) wrote :
description: updated
Dan Bungert (dbungert)
Changed in ranger (Ubuntu):
status: New → Confirmed
Revision history for this message
Dan Bungert (dbungert) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.