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

 
 

bug #43465: ranger crashes in i3 using key binding

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.

Anonymous
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>
Project 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
    fm.loop()
  File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 310, in loop
    ui.redraw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 262, in redraw
    self.draw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 288, in draw
    DisplayableContainer.draw(self)
  File "/usr/lib/python2.7/site-packages/ranger/gui/displayable.py", line 246, in draw
    displayable.draw()
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/titlebar.py", line 39, in draw
    self._print_result(self.result)
  File "/usr/lib/python2.7/site-packages/ranger/gui/widgets/titlebar.py", line 150, in _print_result
    self.color(*part.lst)
  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:
http://savannah.nongnu.org/bugs/?group=ranger&func=additem

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5