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

 
 

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

Submitter:  None
Submitted:  Sat 12 Apr 2014 08:44:25 AM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.14-8eb0.
Corresponding source code