bzr crash when tying login in launchpad

Bug #503465 reported by Dmitry Korotovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

bzr: ERROR: exceptions.AttributeError: 'unicode' object has no attribute 'get'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad/__init__.py", line 251, in run
    account.set_lp_login(name)
  File "/usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad/account.py", line 77, in set_lp_login
    _set_auth_user(username)
  File "/usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad/account.py", line 90, in _set_auth_user
    'Launchpad', '.launchpad.net', username, 'ssh')
  File "/usr/lib/python2.6/site-packages/bzrlib/config.py", line 1159, in set_credentials
    if existing_values.get(key) != values.get(key):
AttributeError: 'unicode' object has no attribute 'get'

bzr 2.0.3 on python 2.6.4 (Linux-2.6.31.6-fbcondecor-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.0)
arguments: ['/usr/bin/bzr', 'launchpad-login', 'harestomper']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ru_RU.UTF-8'
plugins:
  bzrtools /home/almidon/.bazaar/plugins/bzrtools [2.1.0b1]
  gtk /usr/lib/python2.6/site-packages/bzrlib/plugins/gtk [0.97.0.final]
  launchpad /usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.0.3]
  netrc_credential_store /usr/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.0.3]
  svn /usr/lib/python2.6/site-packages/bzrlib/plugins/svn [1.0.1]

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 503465] [NEW] bzr crash when tying login in launchpad

Could you please paste the contents of your
~/.bazaar/authentication.conf, with the passwords or other sensitive
data xxxxd out?
--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Dmitry Korotovsky (rmpic30) wrote :

Problem resolved by removing the configs ~/.bazaar/*.conf

Martin Pool (mbp)
Changed in bzr:
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.