← Back to team overview

launchpad-dev team mailing list archive

Re: New launchpadlib breaks my dev environment

 

On Friday 07 January 2011 14:29:25 Aaron Bentley wrote:
> On 11-01-07 08:35 AM, Julian Edwards wrote:
> > The new launchpadlib wants to access the keyring for credentials.  On
> > KDE, this makes it access the "KDE Wallet" which pops up a dialog to ask
> > for permission.
> > 
> > This is OK as I can do "Yes Forever" but however this doesn't help when
> > running tests as the librarian will no longer start up because there's
> > some unclean output.
> 
> Tests should never be affected by the user environment.  This shows we
> have buggy tests.

There's also the question of why the LibrarianLayer needs to use launchpadlib.

In any case, Benji and I have tracked it down to a bug in the KDE libs.  
You're supposed to be able to turn off debug output using kdedebugdialog, but 
it seems to be totally broken and the apps ignore the settings.

The message is logged when if you don't pass a valid UI window ID that it 
presumably uses for password input.  Benji worked around it by creating a fake 
window.

http://pastebin.ubuntu.com/551508/

Thanks to Benji!



Follow ups

References