AttributeError: 'module' object has no attribute 'plugins' (tailor vs bzr error)?
Robert Collins
robertc at robertcollins.net
Wed Aug 9 08:21:42 BST 2006
On Tue, 2006-08-08 at 16:32 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bob Tanner wrote:
> > Sorry for the cross-post, but I'm not sure which tool has a 'bug'. Tailor is
> > throwing the error, but you can see that is coming from bzrlib/commit.py.
> >
> > Is the bug in bzrlib/commit.py or how tailor is invoking Commit().commit()
> > or both. :-)
>
> Good question.
>
> It looks as though you have a commit hook that is a plugin, and Tailor
> isn't causing plugins to be loaded, so your commit hook can't execute.
>
> In bzr itself, we provide the ability to run without plugins loaded, so
> you'd presumably get the same failure from "bzr --no-plugins commit".
>
> I guess the questions are:
> 1. should we fail or warn if the commit hook can't execute?
> 2. should we load plugins by default, or should we require Tailor to do
> that?
If we had 'import bzrlib.plugins.email' working, then the config could
cause that one plugin to be sanely demand loaded. (As another option).
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060809/8d62b8b8/attachment-0001.pgp
More information about the bazaar
mailing list