bzr-pqm plugin in jaunty tracebacks

Bug #364189 reported by Tom Haddon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

mthaddon@hurlyburly:~/repos/canonical-launchpad/list-team-members-fix$ bzr pqm-submit -m '[r=Edwin][ui=None] Adding an option to the list-team-members script to allow for a query of the ssh keys of a user'
Checking the working tree is clean ...
Checking that the public branch is up to date ...

You need a passphrase to unlock the secret key for
user: "Tom Haddon <email address hidden>"
1024-bit DSA key, ID 3F02A4DF, created 2007-03-07

bzr: ERROR: exceptions.TypeError: character mapping must return integer, None or unicode

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/pqm/__init__.py", line 110, in run
    tree=tree)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/pqm/pqm_submit.py", line 215, in submit
    SMTPConnection(config).send_email(message)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smtp_connection.py", line 152, in send_email
    self._connect()
  File "/usr/lib/python2.6/dist-packages/bzrlib/smtp_connection.py", line 67, in _connect
    self._authenticate()
  File "/usr/lib/python2.6/dist-packages/bzrlib/smtp_connection.py", line 114, in _authenticate
    self._connection.login(self._smtp_username, self._smtp_password)
  File "/usr/lib/python2.6/smtplib.py", line 574, in login
    (code, resp) = self.docmd(encode_cram_md5(resp, user, password))
  File "/usr/lib/python2.6/smtplib.py", line 538, in encode_cram_md5
    response = user + " " + hmac.HMAC(password, challenge).hexdigest()
  File "/usr/lib/python2.6/hmac.py", line 72, in __init__
    self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode

bzr 1.13.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'pqm-submit', '-m', '[r=Edwin][ui=None] Adding an option to the list-team-members script to allow for a query of the ssh keys of a user']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.13]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
  lpreview /home/mthaddon/.bazaar/plugins/lpreview [unknown]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
  pqm /usr/lib/python2.6/dist-packages/bzrlib/plugins/pqm [1.3]
  rebase /home/mthaddon/.bazaar/plugins/rebase [0.4.5dev]
  svn /home/mthaddon/.bazaar/plugins/svn [0.5.4dev]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Jelmer Vernooij (jelmer)
affects: bzr → bzr-pqm
James Westby (james-w)
affects: bzr-pqm → bzr
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.