launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #06131
New launchpadlib breaks my dev environment
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.
Unless someone knows how to fix this ASAP, we need to revert launchpadlib (no,
using Gnome desktop is not a solution!).
Here's some log output:
$ bin/compile_templates
(32547) KWallet::Wallet::openWallet: Pass a valid window to
KWallet::Wallet::openWallet().
(This completes only because I say "yes" in the popup)
$ bin/test -cvv -m soyuz
Running canonical.testing.layers.LaunchpadLayer tests:
Tear down canonical.testing.layers.FunctionalLayer ... not supported
Tear down canonical.testing.layers.BaseLayer in 0.001 seconds.
Running in a subprocess.
Set up canonical.testing.layers.BaseLayer in 0.059 seconds.
Set up canonical.testing.layers.DatabaseLayer in 10.946 seconds.
Set up canonical.testing.layers.LibrarianLayer Traceback (most recent call
last):
File "/home/ed/canonical/lp-sourcedeps/eggs/zope.testing-3.9.4_p3-
py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
setup_layer(options, layer, setup_layers)
File "/home/ed/canonical/lp-sourcedeps/eggs/zope.testing-3.9.4_p3-
py2.6.egg/zope/testing/testrunner/runner.py", line 643, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/ed/canonical/lp-sourcedeps/eggs/zope.testing-3.9.4_p3-
py2.6.egg/zope/testing/testrunner/runner.py", line 648, in setup_layer
layer.setUp()
File "/home/ed/canonical/lp-
branches/trunk/lib/canonical/testing/profiled.py", line 29, in profiled_func
return func(cls, *args, **kw)
File "/home/ed/canonical/lp-branches/trunk/lib/canonical/testing/layers.py",
line 824, in setUp
cls.librarian_fixture.setUp()
File "/home/ed/canonical/lp-
branches/trunk/lib/canonical/librarian/testing/server.py", line 120, in setUp
TacTestSetup.setUp(self)
File "/home/ed/canonical/lp-
branches/trunk/lib/canonical/launchpad/daemons/tachandler.py", line 176, in
setUp
% (args, stdout))
TacException: Error running ['/usr/bin/python', '-
Wignore::DeprecationWarning', '/home/ed/canonical/lp-
branches/trunk/bin/twistd', '-o', '-y', '/home/ed/canonical/lp-
branches/trunk/daemons/librarian.tac', '--pidfile',
'/var/tmp/fatsam.test/librarian.pid', '--logfile',
'/var/tmp/fatsam.test/librarian.log']: unclean stdout/err: (32424)
KWallet::Wallet::openWallet: Pass a valid window to
KWallet::Wallet::openWallet().
Follow ups