[Buildbot-devel] ESTMPClient error

Dustin J. Mitchell dustin at v.igoro.us
Mon Jul 16 14:43:45 UTC 2012


Can you post the whole traceback?  Buildbot itself doesn't use that
class, so I'm wondering which code the error is in.  It sounds like it
might be the Python standard library..

Dustin

On Mon, Jul 16, 2012 at 9:38 AM, Sarah Addis <saddis01 at qub.ac.uk> wrote:
> I am a completely new user to Python and BuildBot. Currently I am using an e-mail alert when the BuildBot build status changes (moves from success to fail, or vice versa), and failing will e-mail every time there is a failed build. I am encountering the following Python error when sending an email is attempted.
>
> --- <exception caught here> ---
> **ESMTPClient.__init__(self, secret, contextFactory, *args, **kw)
> exceptions.TypeError?: unbound method init() must be called with ESMTPClient
> instance as first argument (got ESMTPSender instance instead)**
>
> I have found some examples of this error online when searching for an answer, including
>
>     You just need to pass 'self' as an argument to 'Thread.init' and calling the super class
>
> but I am still unsure why there is an error. I would appreciate any guidance/help on why this error has occurred and how to go about resolving the issue. I am not the author of this code so I am unsure of what to be looking for to solve the problem.
>
> The email was working before the following code was changed in the master.cfg file from gmail account to company account:
>
>
>  c['status'].append(mail.MailNotifier( fromaddr="load.builder at company.co.uk",
> extraRecipients=["example at company.com", ],
> sendToInterestedUsers=False, mode=('change', 'failing'),
>  relayhost="smtp.company.lan",
> useTls=True, smtpUser="lbuilder",
> smtpPassword="password"))
>
> any guidance on how to fix this problem would be appreciated
>
> SSA
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list