[Buildbot-devel] You need to have the Twisted Mail package installed to use twisted.protocols.smtp

Jérôme Lebel jeromelebel at mac.com
Thu Nov 3 10:56:53 UTC 2005


Hi,

I'm new on python and buildbot...

I just installed darwinports, then few packages, like python24,  
subversion, subversion-pythonbindings, py-twisted, py-twistedweb and  
py-twistedweb2.

I was able to install buildbot 0.7.0 with "sudo python setup.py  
install --home=/opt/local"

Everything seems working fine until I try to do :

from buildbot.status import mail
c['status'].append(mail.MailNotifier(fromaddr="buildbot at xxx.com",
                                      extraRecipients= 
["jerome at xxx.com"],
                                      sendToInterestedUsers=False,
                                      mode="problem",
                                     ))

I get in twisted.log :
           File "/opt/local/lib/python2.4/site-packages/twisted/ 
python/util.py", line 726, in moduleMovedForSplit
             raise ImportError("You need to have the Twisted %s "
         exceptions.ImportError: You need to have the Twisted Mail  
package installed to use twisted.protocols.smtp. See http:// 
twistedmatrix.com/projects/mail.


So I downloaded : http://tmrc.mit.edu/mirror/twisted/Mail/0.2/ 
TwistedMail-0.2.0.tar.bz2 and installed it "sudo python setup.py  
install --home=/opt/local"

But I still have the same error message. I don't understand what I  
need to do.

Thank you,




More information about the devel mailing list