bugranger - Bugs: bug #42099, Crash when attempting to start at...

 
 

bug #42099: Crash when attempting to start at directory with no execute/search permission.

Submitted by:  None
Submitted on:  Sat 12 Apr 2014 08:44:25 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.

 

Sat 12 Apr 2014 08:44:25 AM UTC, original submission:

As the summary describes.

Steps to reproduce:
$ mkdir /tmp/test
$ chmod -x /tmp/test
$ ranger /tmp/test
ranger version: 1.6.1, executed with python 2.7.5
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
File "/tmp/ranger/ranger/core/main.py", line 139, in main
fm.loop()
File "/tmp/ranger/ranger/core/fm.py", line 312, in loop
ui.redraw()
File "/tmp/ranger/ranger/gui/ui.py", line 265, in redraw
self.draw()
File "/tmp/ranger/ranger/gui/ui.py", line 293, in draw
cwd = self.fm.thisdir.path
AttributeError: 'NoneType' object has no attribute 'path'

An error message explaining the situation would be more useful and user-friendly.

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