bugranger - Bugs: bug #49380, Crash when entering search mode...


bug #49380: Crash when entering search mode ("/") while folders were still loading

Submitter:  None
Submitted:  Tue 18 Oct 2016 10:00:05 AM UTC
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

Tue 18 Oct 2016 10:00:05 AM UTC, original submission:  

cd'd to an external harddrive, started ranger and immediately hit / to search, then got this:

$ ranger
ranger version: 1.6.1, executed with python 2.7.9
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ranger/core/main.py", line 134, in main
  File "/usr/lib/python2.7/dist-packages/ranger/core/fm.py", line 314, in loop
  File "/usr/lib/python2.7/dist-packages/ranger/gui/ui.py", line 208, in handle_input
  File "/usr/lib/python2.7/dist-packages/ranger/gui/ui.py", line 142, in handle_key
    elif not DisplayableContainer.press(self, key):
  File "/usr/lib/python2.7/dist-packages/ranger/gui/displayable.py", line 261, in press
  File "/usr/lib/python2.7/dist-packages/ranger/gui/widgets/console.py", line 173, in press
  File "/usr/lib/python2.7/dist-packages/ranger/gui/widgets/console.py", line 202, in type_key
  File "/usr/lib/python2.7/dist-packages/ranger/gui/widgets/console.py", line 418, in on_line_change
    if cmd and cmd.quick():
  File "/usr/lib/python2.7/dist-packages/ranger/api/commands.py", line 380, in quick
    return self._make_cmd().quick()
  File "/usr/lib/python2.7/dist-packages/ranger/config/commands.py", line 1052, in quick
    if self._count(move=asyoutype) == 1 and self.AUTO_OPEN in self.flags:
  File "/usr/lib/python2.7/dist-packages/ranger/config/commands.py", line 1117, in _count
    deq = deque(cwd.files)
TypeError: 'NoneType' object is not iterable

(Tried to replicate it w/o success though.)



(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