bugranger - Bugs: bug #43465, ranger crashes in i3 using key...


bug #43465: ranger crashes in i3 using key binding

Submitter:  None
Submitted:  Thu 23 Oct 2014 07:01:08 PM UTC
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Thu 23 Oct 2014 11:11:38 PM UTC, comment #2: 

I use i3 windows manager. Adding,
bindsym $mod+g exec /usr/bin/gnome-terminal -e "ranger" to the is config file to bind the $mod+g keys

When using the key combination $mod+g, a gnome-terminal starts but ranger crashes.

If I first open a gnome-terminal window and then execute ranger, the program starts and runs normally.

I am not sure if this helps.

Thu 23 Oct 2014 07:06:41 PM UTC, comment #1: 

You didn't give any leads on how to reproduce this bug.

Roman Z. <hut>
Group administrator
Thu 23 Oct 2014 07:01:08 PM UTC, original submission:  

ranger version: 1.6.1, executed with python 2.7.5
Locale: en_US.UTF-8
Current file: /home/jeff/anaconda3
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ranger/core/main.py", line 133, in main
  File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 310, in loop
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 262, in redraw
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 288, in draw
  File "/usr/lib/python2.7/site-packages/ranger/gui/displayable.py", line 246, in draw
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/titlebar.py", line 39, in draw
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/titlebar.py", line 150, in _print_result
  File "/usr/lib/python2.7/site-packages/ranger/gui/curses_shortcuts.py", line 53, in color
    attr = self.settings.colorscheme.get_attr(*keys)
  File "/usr/lib/python2.7/site-packages/ranger/ext/cached_function.py", line 10, in inner_cached_function
    value = fnc(*args)
  File "/usr/lib/python2.7/site-packages/ranger/gui/colorscheme.py", line 67, in get_attr
    return attr | color_pair(get_color(fg, bg))
  File "/usr/lib/python2.7/site-packages/ranger/gui/color.py", line 26, in get_color
    curses.init_pair(size, fg, bg)
error: init_pair() returned ERR

ranger crashed.  Please report this traceback at:



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by hut (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-23 hut StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code