bugranger - Bugs: bug #32554, Crash: The option `padding_right'...

 
 

bug #32554: Crash: The option `padding_right' was not defined in the defaults!

Submitted by:  None
Submitted on:  Mon 21 Feb 2011 09:24:47 AM UTC  
 
Severity: 3 - NormalStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Mar 2012 01:06:51 AM UTC, comment #2:

I'm closing this because of old age, no reproducibility of the error and no response by the submitter.

Roman Z. <hut>
Project Administrator
Mon 21 Feb 2011 11:23:53 AM UTC, comment #1:

Hi,
this happens when someone or something modifies ranger/defaults/options.py and removes the line

padding_right = True

You can add it back yourself with the command below. Do you know what might have been the cause? Is this a fresh copy of ranger?

echo 'padding_right = True' | sudo tee -a /usr/local/lib/python2.6/dist-packages/ranger/defaults/options.py

Roman Z. <hut>
Project Administrator
Mon 21 Feb 2011 09:24:47 AM UTC, original submission:

xxx@xxx $ ranger
Ranger version: 1.4.1, executed with python 2.6.6
Locale: en_GB.UTF8
Current file: None
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ranger/core/main.py", line 83, in main
fm.initialize()
File "/usr/local/lib/python2.6/dist-packages/ranger/core/fm.py", line 90, in initialize
self.ui.initialize()
File "/usr/local/lib/python2.6/dist-packages/ranger/gui/ui.py", line 86, in initialize
self.setup()
File "/usr/local/lib/python2.6/dist-packages/ranger/gui/defaultui.py", line 32, in setup
self.browser = BrowserView(self.win, self.settings.column_ratios)
File "/usr/local/lib/python2.6/dist-packages/ranger/gui/widgets/browserview.py", line 42, in _init_
self.change_ratios(ratios, resize=False)
File "/usr/local/lib/python2.6/dist-packages/ranger/gui/widgets/browserview.py", line 63, in change_ratios
last = 0.1 if self.settings.padding_right else 0
File "/usr/local/lib/python2.6/dist-packages/ranger/container/settingobject.py", line 91, in _getattr_
" in the defaults!".format(name))
Exception: The option `padding_right' was not defined in the defaults!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hut (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Mar 2012 01:06:51 AM UTChutStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Mon 21 Feb 2011 11:23:53 AM UTChutStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1