bugranger - Bugs: bug #37393, lauching ranger on a folder where...

 
 

bug #37393: lauching ranger on a folder where the device is not mount anymore

Submitted by:  None
Submitted on:  Wed 19 Sep 2012 09:43:34 AM UTC  
 
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned 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.

 

Wed 19 Sep 2012 09:43:34 AM UTC, original submission:

When lauching ranger on a folder where the device is not mount anymore:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 90, in main
fm.loop()
File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 198, in loop
ui.redraw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 221, in redraw
self.draw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/ui.py", line 242, in draw
DisplayableContainer.draw(self)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/displayable.py", line 268, in draw
displayable.draw()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/titlebar.py", line 51, in draw
self._calc_bar()
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/titlebar.py", line 96, in _calc_bar
self._get_left_part(bar)
File "/usr/local/lib/python2.7/dist-packages/ranger/gui/widgets/titlebar.py", line 117, in _get_left_part
self.fm.env.cwd.path.startswith(self.env.home_path):
AttributeError: 'NoneType' object has no attribute 'path'

Ranger crashed. Please report this traceback at:

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

 

CC list is empty

 

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):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1