AttributeError: 'module' object has no attribute 'plugins' (tailor vs bzr error)?

Aaron Bentley aaron.bentley at utoronto.ca
Tue Aug 8 21:32:36 BST 2006


-----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?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE2PTk0F+nu1YWqI0RAulHAJ4ksVw134rXXNMJbbZCExN2PfT5GwCfVHyd
drEkIPgtLnqUFdWXxzF8OPM=
=9i5q
-----END PGP SIGNATURE-----




More information about the bazaar mailing list