<div dir="ltr">GK,<div><br></div><div>Pierre recently made some fixes to buildbot's mail support for Python 3,</div><div>in order to work with the latest Twisted 17.5.0 release which has more mail fixes for Python 3:</div><div><br></div><div><a href="https://github.com/buildbot/buildbot/pull/3310">https://github.com/buildbot/buildbot/pull/3310</a><br></div><div><br></div><div>Would you be able to test this?</div><div><br></div><div>You can do something like this:</div><div><br></div><div><br></div><div># Create virtual environment</div><div>python3 -m venv buildbot-venv</div><div>source buildbot-venv/bin/activate</div><div>#</div><div>#</div><div><div style="font-size:12.8px"><span class="gmail-il">git</span> clone <a href="https://github.com/buildbot/buildbot" target="_blank">https://github.com/<span class="gmail-il">buildbot</span>/<wbr><span class="gmail-il">buildbot</span></a> buildbot_test</div><div style="font-size:12.8px">cd buildbot_test</div><div style="font-size:12.8px"><span class="gmail-il">pip</span> install -e pkg</div><div style="font-size:12.8px"><span class="gmail-m_8236389487857527363gmail-s1"><span class="gmail-il">pip</span> install -e worker</span></div><div style="font-size:12.8px"><span class="gmail-m_8236389487857527363gmail-s2"><span class="gmail-il">pip</span></span><span class="gmail-m_8236389487857527363gmail-s1"> install -e 'master[tls,tests]'</span></div></div><div><br></div><div><span style="font-size:12.8px">--</span></div><div><span style="font-size:12.8px">Craig</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 8, 2017 at 11:07 PM, GK Gk <span dir="ltr"><<a href="mailto:qzqsmile@gmail.com" target="_blank">qzqsmile@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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 <span style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun Gothic";font-size:12px;line-height:24px;background-color:rgb(242,242,242)">relevant code in master.cfg:</span><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><span style="font-size:12px"><br></span></font></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><span style="font-size:12px">Env:</span></font></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><span style="font-size:12px">python3.4  ubuntu16.04 server </span></font></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><span style="font-size:12px">Code:</span></font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><div><span style="font-size:12px">c['services'] = []</span></div></font></div></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><div><span style="font-size:12px">from buildbot.reporters.mail import MailNotifier</span></div></font></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><div><span style="font-size:12px">mn = MailNotifier(fromaddr='<a href="mailto:xx@gmail.com" target="_blank">xx@<wbr>gmail.com</a>', relayhost="<a href="http://smtp.gmail.com" target="_blank">smtp.gmail.com</a>",<wbr>extraRecipients=["<a href="mailto:xx@gmail.com" target="_blank">xx@gmail.com</a><wbr>"], smtpPort=587, smtpUser="xxx", smtpPassword="xxx")</span></div></font></div><div><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><div><span style="font-size:12px">c['services'].append(mn)</span></div><div><span style="font-size:12px"><br></span></div></font></div></blockquote><font color="#434343" face="Tahoma, Arial, 宋体, Malgun Gothic"><span style="font-size:12px"> i have installed twisted using "pip install Twisted", and as my consideration, buildbot cannot work if i failed to install it. </span></font><span style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun Gothic";font-size:12px">Is my code error or i have not installed necessary library, anyone could give me some comment, appreciate your help.</span><div><br></div><div><div><div><span style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun Gothic";font-size:12px;line-height:24px;background-color:rgb(242,242,242)"><br></span></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div>