bugranger - Bugs: bug #37481, Crash while :filter run

 
 

bug #37481: Crash while :filter run

Submitted by:  None
Submitted on:  Mon 01 Oct 2012 06:10:48 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.

 

Fri 01 Mar 2013 09:20:19 AM UTC, comment #4:

This is fixed as far as I know. Please reopen it if it still occurs.

Roman Z. <hut>
Project Administrator
Mon 08 Oct 2012 07:50:36 PM UTC, comment #3:

Sorry, the traceback from comment #2 is wrong, please, ignore it. The actual traceback stays unchanged. I noticed, that if I run ranger with "--debug" option, it always crashes in the mentioned situation. But if I run ranger without "--debug" it works well for some first times, but then crashes anyway.

Anonymous
Mon 08 Oct 2012 07:22:43 PM UTC, comment #2:

Yes, it happens in an empty directory.
I saved zip-file with ranger from git, unpacked it, copied to local directory and start it whith command: /home/user/.ranger/ranger.py --debug
Checked this now, ranger crashed again, but the traceback changed:

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
Wed 03 Oct 2012 02:25:29 PM UTC, comment #1:

I can't reproduce this. This happens in an empty directory, right? How did you install ranger? Do you use any command line options for ranger and python?

Roman Z. <hut>
Project Administrator
Mon 01 Oct 2012 06:10:48 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 256, in loop
loader.work()
File "/home/user/.ranger/ranger/core/loader.py", line 347, in work
self.fm.notify(err)
File "/home/user/.ranger/ranger/core/loader.py", line 338, in work
next(item.load_generator)
File "/home/user/.ranger/ranger/core/loader.py", line 180, in generate
self.signal_emit('after', process=process, loader=self)
File "/home/user/.ranger/ranger/ext/signals.py", line 266, in signal_emit
fnc(signal)
File "/home/user/.ranger/ranger/core/actions.py", line 810, in on_after
if self.thisfile.realpath == path:
AttributeError: 'NoneType' object has no attribute 'realpath'

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 01 Mar 2013 09:20:19 AM UTChutStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Wed 03 Oct 2012 02:32:24 PM UTChutStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1