Comment 2 for bug 337240

Revision history for this message
Leonard Richardson (leonardr) wrote :

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 anything other than the webbrowser module is a non-starter and a hackfest.

The webbrowser.Galeon module starts Galeon with ">/dev/null 2>&1", so standard error should be redirected to standard output, which should be redirected to /dev/null. So you shouldn't be having this problem in the first place. Check to see how Galeon is actually being started.