bzr commit e-mail fails with bzr 2.4.x and 2.5.x on Fedora Core 14
Gaiseric Vandal
gaiseric.vandal at gmail.com
Fri May 18 16:42:55 UTC 2012
On 05/18/12 12:22, Gaiseric Vandal wrote:
> On 05/18/12 10:15, Vincent Ladeuil wrote:
>>>>>>> Gaiseric Vandal <gaiseric.vandal at gmail.com> writes:
>> <snip/>
>>
>> > If I have "post_commit_mailer=smtplib" in my bazaar.conf set, then I get
>> > the following error.
>>
>> -> pwd
>> > /home/myname/bzr/workspace/localrepo1
>> -> bzr commit --unchanged -m "test"
>> > Committing to:
>> > /home/myname/bzr/localrepo/localrepo1/
>>
>> > Committed revision
>> > 39.
>>
>> > bzr: ERROR: exceptions.AttributeError: 'SMTPConnection' object
>> > has no attribute 'send_text_email'
>>
>> That's a recent regression in the email plugin :-(
>>
>> Reverting to revno 55 should work around the issue.
>>
>> cd ~/.bazaar/plugins/email
>> bzr pull -r55 --overwrite
>>
>>
>> Vincent
>
> r 55 has the same problems as the current one (r 57).
> r 54 and r50 don't give me any errors, but I don't get any mail.
>
>
> Thanks
Sorry- I stand corrected.
I forgot to add the post_commit_to back into branch.conf
With revision 54, bzr email notification hook works as long as I have
the following set
post_commit_mailer=smtplib
With out smtplib, I still get an error
-> bzr commit --message "test" --unchanged
Committing to:
/home/myname/bzr/localrepo/localrepo1/
Committed revision
73.
From: myname at company.com : No such file or directory
: ERROR: Failed to send email: exit status 1
But I can manage with out that with "smtplib" does work.
Thanks for your help
More information about the bazaar
mailing list