bugranger - Bugs: bug #31328, Strange error message when killing...

 
 

bug #31328: Strange error message when killing ranger while suspended

Submitted by:  Roman Z. <hut>
Submitted on:  Thu 14 Oct 2010 12:10:54 AM UTC  
 
Severity: 2 - MinorStatus: External Bug
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 15 Oct 2010 09:11:55 PM UTC, comment #5:

OK, thank you, Roman

Vasya Belkin <vasyabelkin>
Fri 15 Oct 2010 03:25:55 PM UTC, comment #4:

Well that makes more sense :)
I think I got it to crash this way once, but can't reproduce it anymore.
In any case, this seems to be a python bug rather than a ranger bug, so I'll change the bug status to Postponed until they fix it.

Roman Z. <hut>
Project Administrator
Fri 15 Oct 2010 02:07:53 PM UTC, comment #3:

Also I realized suddenly, that this has nothing to do with Awesome. What really is happening is that you should simply press Ctrl+S, Ctrl+C to reproduce it. I wrongly assumed, that "kill-client" is "Mod+Ctrl+C" instead of "Mod+Shift+C". Sorry

Vasya Belkin <vasyabelkin>
Thu 14 Oct 2010 11:03:59 PM UTC, comment #2:

Basically Google is full of this:
http://www.google.com/search?q=close+failed+in+file+object+destructor
Perhaps this search result will be helpful with its links to Python bugs

Vasya Belkin <vasyabelkin>
Thu 14 Oct 2010 12:23:56 AM UTC, comment #1:

As said in the forums, I can't reproduce it and the error message leaves me clueless.
You could try ranger 1.2.x and see if it works there.
Or just leave it unresolved, since it seems like this issue occurs very rarely and is rather harmless. (you intended to kill ranger anyway)

I don't understand one thing though, doesn't Awesome's kill command kill the terminal? Why is only ranger killed and the terminal still alive?

Roman Z. <hut>
Project Administrator
Thu 14 Oct 2010 12:10:54 AM UTC, original submission:

To quote vasyabelkin's post at https://bbs.archlinux.org/viewtopic.php?pid=839615#p839615

hut, I' ve found the following exception, that is printed as is w/o any additional trace info:

Steps to reproduce: Ctrl+S to suspend the urxvt/xterm output while in Ranger, than try to kill it (I've yet found a way to describe it better, but I use "kill client" command in Awesome WM [Mod+Ctrl+C in default config], when "kill -9" does nothing & "kill -15" really kills it immediately). Than I got the message "Type Q or :quit<Enter> to exit Ranger", typed "Q" and got the exception.
Ranger version: 1.3.1 testing (latest from git, like 3 hours before)

And the follow up: https://bbs.archlinux.org/viewtopic.php?pid=840015#p840015

Python version 2.6.5
Once again I've updated the ranger-git from aur an hour ago, renamed .config/ranger directory to run with defaults, used both "source /usr/bin/ranger /usr/bin/ranger" and "/usr/bin/ranger"

The only difference in debug mode is that I don't get the message "Type Q or :quit..." & ranger just quits immediately with the same exception. 100% reproducible on my machine (Arch 64b with latest updates to all the software, no testing packages) when I try to kill it with Mod+Ctrl+C in Awesome 3.4.8 with almost default config. Note that it does not happen, if I resume scrolling with Ctrl+Q

Roman Z. <hut>
Project Administrator

 

(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 vasyabelkin (Posted a comment)
  • -unavailable- added by hut (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 09 Dec 2010 11:12:19 PM UTChutOpen/ClosedOpen=>Closed
    Sat 20 Nov 2010 12:45:54 PM UTChutStatusPostponed=>External Bug
    Fri 15 Oct 2010 03:25:55 PM UTChutSeverity3 - Normal=>2 - Minor
      StatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup1