Public bug reported:

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)

** Affects: ranger (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Description changed:

- In a fresh Ubuntu 20.04 install, a installed ranger package.
+ 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)
+   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.
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1912075

Title:
  Ranger fails to start due to screen dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ranger/+bug/1912075/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to