[issue501] PatchBomb doesn't work with SMTP
Baechul
mercurial-bugs at selenic.com
Wed Feb 14 00:10:27 UTC 2007
New submission from Baechul <baechulkim at hotmail.com>:
v0.9.3:
Here is my hgrc:
[extensions]
hgext.patchbomb=/home/baechul/tools/mercurial-0.9.3/hgext/patchbomb.py
[email]
from=Baechul <baechul at xxx.com>
to=baechul at xxx.com
cc=baechul at xxx.com
method=smtp
[smtp]
host=smtp.gmail.com
port=587
username=xxx
password=xxx
tls=True
/home/baechul/projects/ccmf/tws1-) hg email 16
This patch series consists of 1 patches.
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.3)
Traceback (most recent call last):
File "/java/devtools/sparc/mercurial/latest/bin/hg", line 12, in ?
commands.run()
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line 3000,
in run
sys.exit(dispatch(sys.argv[1:]))
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line 3223,
in dispatch
return d()
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line 3182,
in <lambda>
d = lambda: func(u, repo, *args, **cmdoptions)
File "/home/baechul/tools/mercurial-0.9.3/hgext/patchbomb.py", line 254, in
patchbomb
mailer = mail.connect(ui)
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/site-packages/mercurial/mail.py", line 63, in
connect
return _smtp(ui)
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/site-packages/mercurial/mail.py", line 27, in
_smtp
s.starttls()
File "/java/svc/kto/Mercurial/dist/solaris-sparc/mercurial-
0.9.3/usr/local/lib/python2.4/smtplib.py", line 601, in starttls
sslobj = socket.ssl(self.sock, keyfile, certfile)
AttributeError: 'module' object has no attribute 'ssl'
Now I changed method to "sendmail" and it works.
/home/baechul/projects/ccmf/tws1-) !!
hg email 16
This patch series consists of 1 patches.
Sending [PATCH] we are the world ...
----------
messages: 2763
nosy: baechul
priority: bug
status: unread
title: PatchBomb doesn't work with SMTP
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue501>
____________________________________________________
More information about the Mercurial-devel
mailing list