Error running tests for plugins . . .
Russel Winder
russel.winder at concertant.com
Fri Jul 3 19:46:56 BST 2009
Matt,
Thanks for thinking clearly and spotting the important facts. I should
have done that first myself :-)
On Fri, 2009-07-03 at 18:16 +0000, Matt Nordhoff wrote:
> Russel Winder wrote:
> > I wanted to run the tests for the installed bzrtools plugin. I had
> > thought "bzr selftest bzrtools" might do teh trick. However, this
> > results in the following. Am I just doing something stupid, or is this
> > a Bazaar bug?
> >
> > Thanks.
> >
> >
> > |> bzr selftest bzrtools
> > bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'TransportTestProviderAdapter'
> >
> > Traceback (most recent call last):
>
> > File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/upload/tests/test_upload.py", line 44, in <module>
> > test_transport_implementations.TransportTestProviderAdapter):
> > AttributeError: 'module' object has no attribute 'TransportTestProviderAdapter'
>
> Looks like the bzr-upload plugin's test suite isn't compatible with your
> version of bzr. If it hasn't been fixed in a newer version, file a bug
> against bzr-upload.
I removed bzr-upload and that seems to have done the trick for that
problem. I will try with a branch of the plugin mainline before
reporting a bug though -- this may just be a bleading edge consistency
problem.
> I guess you'll have to temporarily uninstall bzr-upload so you can run
> the test suite for other plugins.
Hummm:
|> bzr selftest bzrtools
bzr: ERROR: No module named py
You may need to install this Python library separately.
|>
OK so there is progress but not success :-(
As far as I can tell Ubuntu has no package python-py, so I guess I have
to start guessing which package has the need stuff in. The problem is I
don't know what stuff is needed :-((
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: russel at russel.org.uk
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090703/ea7f035d/attachment.pgp
More information about the bazaar
mailing list