[Bug 337240] Re: apport-collect should suppress STDERR

2009-09-02 Thread Martin Pitt
*** This bug is a duplicate of bug 410205 *** https://bugs.launchpad.net/bugs/410205 Eventually I want to change apport to not use this function in the first place any more, since there's just one possible answer anyway (see bug 410205), and it is confusing. Therefore I'll mark this as a

[Bug 337240] Re: apport-collect should suppress STDERR

2009-04-20 Thread Leonard Richardson
Actually get_token_and_login is fine to use in console applications, if you don't mind the generic 'hit enter' message. I don't see a good solution here. launchpadlib uses the webbrowser module to launch Galeon. There's no way to tell Galeon anything but the URL to open and how to open it. Using

Re: [Bug 337240] Re: apport-collect should suppress STDERR

2009-04-20 Thread Ted Gould
On Mon, 2009-04-20 at 14:28 +, Leonard Richardson wrote: Actually get_token_and_login is fine to use in console applications, if you don't mind the generic 'hit enter' message. Could it be changed to Hit Enter but only if the web browser doesn't close with a valid exit value. So if someone

[Bug 337240] Re: apport-collect should suppress STDERR

2009-04-20 Thread Leonard Richardson
Could it be changed to Hit Enter but only if the web browser doesn't close with a valid exit value. There's no way of knowing if or when the web browser closed. The webbrowser module spawns a background shell command, and never hears what happens to the command. Besides which, the common case

[Bug 337240] Re: apport-collect should suppress STDERR

2009-04-20 Thread Leonard Richardson
** Changed in: launchpadlib Status: New = Incomplete -- apport-collect should suppress STDERR https://bugs.launchpad.net/bugs/337240 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 337240] Re: apport-collect should suppress STDERR

2009-03-03 Thread Martin Pitt
It could really be suppressed in python-launchpadlib. However, I understand that using Launchpad.get_token_and_login() is not really recommended in production software. It's just utterly convenient and pretty much exactly what it needs to do. ** Changed in: apport (Ubuntu) Status: New =