[users at bb.net] error "twisted-mail is not installed - cannnot send mail"
Drago Trusk
drago.trusk at gmail.com
Sun Jun 11 09:03:47 UTC 2017
Hi GK,
unfortunately twisted-mail isn't ported to Python 3 and I don't think it
will be ported at all: http://fedora.portingdb.xyz/pkg/python-twisted-mail/
If you can live with Python 2, you will have mail sending capabilities.
I didn't had time to research if it's possible and how to change
Buildbot to use different mail package so I'm not sure if such option is
available in case of BB for Python 3.
Bye,
Drago
On 06/09/2017 08:07 AM, GK Gk wrote:
> Recently i try to deploy my project into buildbot. Buildbot work
> prefect except mail module. it always show error"twisted-mail is not
> installed. cannot send mail" when i update master.cfg. below is email
> moudle relevant code in master.cfg:
>
>
> Env:
> python3.4 ubuntu16.04 server
> Code:
>
> c['services'] = []
> from buildbot.reporters.mail import MailNotifier
> mn = MailNotifier(fromaddr='xx at gmail.com <mailto:xx at gmail.com>',
> relayhost="smtp.gmail.com
> <http://smtp.gmail.com>",extraRecipients=["xx at gmail.com
> <mailto:xx at gmail.com>"], smtpPort=587, smtpUser="xxx",
> smtpPassword="xxx")
> c['services'].append(mn)
>
> i have installed twisted using "pip install Twisted", and as my
> consideration, buildbot cannot work if i failed to install it. Is my
> code error or i have not installed necessary library, anyone could
> give me some comment, appreciate your help.
>
>
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170611/1b2b2019/attachment.html>
More information about the users
mailing list