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

 
 

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

Submitted by:  ming su <mingsu>
Submitted on:  Tue 10 Feb 2015 03:11:25 PM UTC  
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned 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.

 

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>
Project 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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5