bugranger - Bugs: bug #44223, AttributeError: 'FM' object has no...

 
 

bug #44223: AttributeError: 'FM' object has no attribute 'apps'

Submitter:  ming su <mingsu>
Submitted:  Tue 10 Feb 2015 03:11:25 PM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 10 Feb 2015 03:56:15 PM UTC, comment #1: 

Hi, this is because you upgraded ranger without upgrading your configs.  This should fix it:

mv ~/.config/ranger ~/.config/ranger_

Afterwards you can manually port your old settings to the new version if you want.

Roman Z. <hut>
Group administrator
Tue 10 Feb 2015 03:11:25 PM UTC, original submission:  

ranger version: 1.6.0, executed with python 2.7.6
Locale: en_US.UTF-8
Current file: /home/ming/README.md
Traceback (most recent call last):
  File "/usr/share/ranger/ranger/core/main.py", line 133, in main
    fm.loop()
  File "/usr/share/ranger/ranger/core/fm.py", line 276, in loop
    ui.handle_input()
  File "/usr/share/ranger/ranger/gui/ui.py", line 209, in handle_input
    self.handle_key(key)
  File "/usr/share/ranger/ranger/gui/ui.py", line 143, in handle_key
    elif not DisplayableContainer.press(self, key):
  File "/usr/share/ranger/ranger/gui/displayable.py", line 261, in press
    focused_obj.press(key)
  File "/usr/share/ranger/ranger/gui/widgets/console.py", line 172, in press
    if not self.fm.ui.press(key):
  File "/usr/share/ranger/ranger/gui/ui.py", line 160, in press
    quantifier=keybuffer.quantifier)
  File "/usr/share/ranger/ranger/core/actions.py", line 176, in execute_console
    cmd_class(string, quantifier=quantifier).execute()
  File "/home/ming/.config/ranger/commands.py", line 683, in execute
    p(err)
  File "/home/ming/.config/ranger/commands.py", line 676, in execute
    result = eval(code)
  File "<string>", line 1, in <module>
  File "/usr/share/ranger/ranger/gui/widgets/console.py", line 359, in execute
    self.fm.execute_console(self.line)
  File "/usr/share/ranger/ranger/core/actions.py", line 176, in execute_console
    cmd_class(string, quantifier=quantifier).execute()
  File "/home/ming/.config/ranger/commands.py", line 230, in execute
    app, flags, mode = self._get_app_flags_mode(self.rest(1))
  File "/home/ming/.config/ranger/commands.py", line 258, in _get_app_flags_mode
    if self._is_app(part):
  File "/home/ming/.config/ranger/commands.py", line 320, in _is_app
    return self.fm.apps.has(arg) or \
AttributeError: 'FM' object has no attribute 'apps'

ranger crashed.  Please report this traceback at:
http://savannah.nongnu.org/bugs/?group=ranger&func=additem

ming su <mingsu>

 

(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)
  • -email is unavailable- added by mingsu (Submitted the item)
  •  

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