[Aptitude-devel] aptitude: close failed in file object destructor: sys.excepthook is missing lost sys.stderr

Axel Beckert abe at debian.org
Fri Jun 10 23:31:06 UTC 2016


Hi Paul,

Paul Wise wrote:
> Whenever I open the aptitude curses UI and press ggq (go, go, quit) in
> quick succession, I get this output spewed over the terminal with black
> text and white background where the text is.
> 
> close failed in file object destructor:
>                                        sys.excepthook is missing
>                                                                 lost sys.stderr
> 

Interesting. I wasn't able to reproduce any unexpected behaviour when
pressing ggq either manually as fast as I can or _really_ quick by
pasting it.

> I assume this is caused by one of the apt hooks I have installed.
> Is there any way for apt/aptitude to tell me which hook this is?

No idea, sorry. David?

> Should aptitude suppress output from hooks when the UI is open?

I wonder why such hooks are run while the UI ist still open. Can't
imagine how this should be possible.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list