[InterMine Dev] compare_templates_for_releases.py

Kalpana Karra kkarra at stanford.edu
Tue Mar 6 21:46:35 GMT 2012

I get this error for the python version after the templates run fine..I have whatever python comes default on mac os X

Sending email to kkarra at stanford.edu
Traceback (most recent call last):
  File "compare_templates_for_releases.py", line 239, in <module>
  File "compare_templates_for_releases.py", line 62, in compare_templates
    report_results(results, send_to, send_from)
  File "compare_templates_for_releases.py", line 117, in report_results
    smtp = smtplib.SMTP('localhost')
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/smtplib.py", line 273, in _get_socket
    return socket.create_connection((port, host), timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 512, in create_connection
    raise error, msg
error: [Errno 61] Connection refused

Same issue with Perl version, the script is not able to send mail. But, sendmail is working fine..if I do this..

echo "Hello" | mail -s "Test" kkarra at stanford.edu


More information about the dev mailing list