Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722700

Summary: app-misc/ranger-1.9.3 misses dependency on gnu screen
Product: Gentoo Linux Reporter: Jonas Toth <gentoo>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED INVALID    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Toth 2020-05-12 13:43:11 UTC
Hi @all,

this is my first bug reported and I am a bit unsure if i did it right.

I installed "app-misc/ranger-1.9.3" (the unstable one) with "python3_8".
Trying it out resulted in the following error:

```
❯ ranger
ranger version: ranger 1.9.3
Python version: 3.8.2 (default, May  9 2020, 13:21:01) [GCC 10.1.0]
Locale: de_DE.UTF-8

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/ranger/core/main.py", line 171, in main
    fm.initialize()
  File "/usr/lib/python3.8/site-packages/ranger/core/fm.py", line 132, in initialize
    self.ui.initialize()
  File "/usr/lib/python3.8/site-packages/ranger/gui/ui.py", line 127, in initialize
    self.handle_multiplexer()
  File "/usr/lib/python3.8/site-packages/ranger/gui/ui.py", line 499, in handle_multiplexer
    self._screen_title = check_output(
  File "/usr/lib/python3.8/site-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] Datei oder Verzeichnis nicht gefunden: 'screen'

ranger crashed. Please report this traceback at:
https://github.com/ranger/ranger/issues
```

The issue is, that "gnu screen" was not installed on the system. Doing so results in proper start of ranger.

I assume, that this comes from a missing runtime dependency in the ebuild and is trivial to fix (no clue on how to proceed there, but I am willing to help out).

Thanks for your time!

Best Regards, Jonas
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-12 15:18:24 UTC
screen has never been a hard ranger dependency (neither tmux). something is broken in your env.