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


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

Submitter:  None
Submitted:  Thu 29 Sep 2016 07:12:24 AM UTC
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

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
  File "/usr/lib/python2.7/site-packages/ranger/core/fm.py", line 314, in loop
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 208, in handle_input
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 144, in handle_key
  File "/usr/lib/python2.7/site-packages/ranger/gui/ui.py", line 159, in press
  File "/usr/lib/python2.7/site-packages/ranger/core/actions.py", line 169, in execute_console
  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)]



(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


CC list is empty


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.





No changes have been made to this item

Back to the top

Powered by Savane 3.11