"STARTTLS extension not supported by server" when sending pqm submission

Bug #340264 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar PQM Plugin
Invalid
Undecided
Unassigned

Bug Description

This seems to be a new regression perhaps to do with the upgrade to python2.6 in Jaunty.

mbp@lithe% bzr pqm-submit -m "(mbp) better OSErrors from _readdir_pyx"
/home/mbp/.bazaar/plugins/search/index.py:22: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Unable to load plugin 'loggerhead'. It requested API version (1, 11, 0) of module <module 'bzrlib' from '/home/mbp/bzr/trunk/bzrlib/__init__.pyc'> but the minimum exported version is (1, 13, 0), and the maximum is (1, 13, 0)
Checking that the public branch is up to date ...

You need a passphrase to unlock the secret key for
user: "Martin Pool <email address hidden>"
1024-bit DSA key, ID A0B3E88B, created 2000-07-24

bzr: ERROR: smtplib.SMTPException: STARTTLS extension not supported by server.

Traceback (most recent call last):
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 923, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 868, in run_bzr
    ret = run(*run_argv)
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/mbp/.bazaar/plugins/pqm/__init__.py", line 93, in run
    submit(b, message=message, dry_run=dry_run, public_location=public_location)
  File "/home/mbp/.bazaar/plugins/pqm/pqm_submit.py", line 148, in submit
    smtp.starttls()
  File "/usr/lib/python2.6/smtplib.py", line 611, in starttls
    raise SMTPException("STARTTLS extension not supported by server.")
SMTPException: STARTTLS extension not supported by server.

This is sending to localhost so it's true that it doesn't support tls, but also I'm sure there are no network proxies interfering with the protocol. So I wonder why pqm is using this method?

Also, it seems like it should be asking bzr to send mail rather than doing so directly...

Revision history for this message
Martin Pool (mbp) wrote :

Seems invalid, my checkout of bzr-pqm was out of date.

Changed in bzr-pqm:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.