AttributeError: 'module' object has no attribute 'email'
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Sep 27 06:40:40 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bob Tanner wrote:
> From my .bazaar/bazaar.conf
>
> email = Robert J. Tanner <tanner at real-time.com>
> post_commit = bzrlib.plugins.email.post_commit
> post_commit_to = bzr-commits at lists.real-time.com
> post_commit_sender = tanner at real-time.com
>
> $ which mail
> /usr/bin/mail
>
> I tried understand this traceback and doesn't seem very informative. Is there
> any web site for techniques for debugging python programs?
>
> The error seems very generic :-)
Your hook is failing because evaluating the <string> is causing an
AttributeError to be thrown. My first guess is you don't have a plugin
named 'email' installed.
I'm not claiming this is a great error handling. Far to the contrary.
Aaron
> File "/home/tanner/projects/bazaar-ng/bzr.dev/bzrlib/commit.py", line 345, in commit
> {'branch':self.branch,
> File "<string>", line 0, in ?
> AttributeError: 'module' object has no attribute 'email'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGg7Y0F+nu1YWqI0RAkY7AJ0e3rFb0gDogpFUzI3vnU+acse0ngCgg206
6QKJEfXK2cfejFa9m1tUplE=
=PwRP
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list