bugranger - Bugs: bug #49221, Ranger crashed after yy & ya...

 
 

bug #49221: Ranger crashed after yy & ya files for vimdiff %c

Submitted by:  None
Submitted on:  Thu 29 Sep 2016 07:12:24 AM UTC  
 
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned 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 29 Sep 2016 07:12:24 AM UTC, original submission:

Steps to repro:
1. yy on first file
2. ya on second file
3. Then I tried run: ":shell vimdiff %c"

BUG - I didn't do anything, and after pressing 2nd or 3rd time Enter key, ranger crashed.

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 314, in loop
ui.handle_input()
File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 208, in handle_input
self.handle_key(key)
File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 144, in handle_key
self.press(key)
File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 159, in press
quantifier=keybuffer.quantifier)
File "/usr/lib/python2.7/site-packages/ranger/core/actions.py", line 169, in execute_console
escape=cmd.escape_macros_for_shell)
File "/usr/lib/python2.7/site-packages/ranger/core/actions.py", line 184, in substitute_macros
macros = self._get_macros()
File "/usr/lib/python2.7/site-packages/ranger/core/actions.py", line 243, in _get_macros
if tabdir.get_selection():
File "/usr/lib/python2.7/site-packages/ranger/container/directory.py", line 161, in get_selection
return [item for item in self.files if item.marked]
TypeError: 'NoneType' object is not iterable

OS: Fedora 22
ranger-stable 1.6.1
Python 2.7.10 (default, Jun 20 2016, 14:45:40)
[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)]

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1