bugranger - Bugs: bug #39740, 1.6.1 crashes when executing empty...

 
 

bug #39740: 1.6.1 crashes when executing empty keymap

Submitter:  None
Submitted:  Fri 09 Aug 2013 11:31:21 PM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 09 Aug 2013 11:31:21 PM UTC, original submission:  

When setting an empty string to a key, e.g. with ":map f"<Enter> and then pressing that key, ranger crashes.

ranger version: 1.6.1, executed with python 3.2.5
Locale: de_DE.UTF-8
Traceback (most recent call last):
  File "/usr/lib64/python3.2/site-packages/ranger/core/main.py", line 133, in main
    fm.loop()
  File "/usr/lib64/python3.2/site-packages/ranger/core/fm.py", line 314, in loop
    ui.handle_input()
  File "/usr/lib64/python3.2/site-packages/ranger/gui/ui.py", line 208, in handle_input
    self.handle_key(key)
  File "/usr/lib64/python3.2/site-packages/ranger/gui/ui.py", line 144, in handle_key
    self.press(key)
  File "/usr/lib64/python3.2/site-packages/ranger/gui/ui.py", line 159, in press
    quantifier=keybuffer.quantifier)
  File "/usr/lib64/python3.2/site-packages/ranger/core/actions.py", line 156, in execute_console
    command_name = string.split()[0]
IndexError: list index out of range

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

 

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.13-4448.
Corresponding source code