bugranger - Bugs: bug #37478, Crash when run :delete within an...

 
 

bug #37478: Crash when run :delete within an empty directory

Submitted by:  None
Submitted on:  Mon 01 Oct 2012 05:20:28 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
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.

 

Tue 05 Feb 2013 03:39:35 AM UTC, comment #3:

The error message wasn't very helpful, I give you that. I added a better error message now, thanks for reporting this.

Roman Z. <hut>
Project Administrator
Mon 08 Oct 2012 07:30:57 PM UTC, comment #2:

Indeed, I run ranger with "--debug" all the time. It`s OK if you designed this behaviour.

Anonymous
Wed 03 Oct 2012 02:27:47 PM UTC, comment #1:

I can only reproduce this when running ranger with "--debug". And with "--debug", a crash + traceback like that is expected.

Roman Z. <hut>
Project Administrator
Mon 01 Oct 2012 05:20:28 PM UTC, original submission:

ranger version: 1.5.5, executed with python 2.7.3rc2
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
File "/home/user/.ranger/ranger/core/main.py", line 130, in main
fm.loop()
File "/home/user/.ranger/ranger/core/fm.py", line 267, in loop
ui.handle_input()
File "/home/user/.ranger/ranger/gui/ui.py", line 208, in handle_input
self.handle_key(key)
File "/home/user/.ranger/ranger/gui/ui.py", line 142, in handle_key
elif not DisplayableContainer.press(self, key):
File "/home/user/.ranger/ranger/gui/displayable.py", line 269, in press
focused_obj.press(key)
File "/home/user/.ranger/ranger/gui/widgets/console.py", line 141, in press
if not self.fm.ui.press(key):
File "/home/user/.ranger/ranger/gui/ui.py", line 159, in press
quantifier=keybuffer.quantifier)
File "/home/user/.ranger/ranger/core/actions.py", line 143, in execute_console
cmd_class(string, quantifier=quantifier).execute()
File "/home/user/.config/ranger/commands.py", line 687, in execute
p(err)
File "/home/user/.config/ranger/commands.py", line 680, in execute
result = eval(code)
File "<string>", line 1, in <module>
File "/home/user/.ranger/ranger/gui/widgets/console.py", line 289, in execute
self.fm.execute_console(self.line)
File "/home/user/.ranger/ranger/core/actions.py", line 143, in execute_console
cmd_class(string, quantifier=quantifier).execute()
File "/home/user/.config/ranger/commands.py", line 497, in execute
if cwd.marked_items or (cf.is_directory and not cf.is_link \
AttributeError: 'NoneType' object has no attribute 'is_directory'

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
    Tue 05 Feb 2013 03:39:35 AM UTChutStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Wed 03 Oct 2012 02:32:32 PM UTChutStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1