bzr lp-propose-merge -R foo crashes if there is no such team or person on launchpad

Bug #693096 reported by Zygmunt Krynicki on 2010-12-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)

Bug Description

Binary package hint: bzr

I used "bzr lp-propose-merge -R person" and made a typo in the person's nickname.
Bzr did not handle that situation and crashed.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: bzr 2.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelModules: vmblock vsock vmci vmhgfs
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.2.1
CommandLine: ['/usr/bin/bzr', 'lp-propose-merge', '-R', 'deepti']
CrashDb: bzr
Date: Tue Dec 21 18:01:24 2010
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
InterpreterPath: /usr/bin/python2.6
Locale: pl_PL.utf8
Platform: Linux-2.6.35-24-generic-x86_64-with-Ubuntu-10.10-maverick
ProcCmdline: /usr/bin/python /usr/bin/bzr lp-propose-merge -R deepti
 PATH=(custom, user)
PythonVersion: 2.6.6
SourcePackage: bzr
Title: bzr crashed with KeyError in __getitem__()
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 690, in run_argv_aliases
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad/", line 343, in run
    reviews, staging, approve=approve)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad/", line 97, in __init__
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/", line 921, in __getitem__
    raise KeyError(key)
KeyError: u'deepti'

Zygmunt Krynicki (zyga) wrote :
tags: removed: need-duplicate-check
Martin Pool (mbp) on 2011-04-12
description: updated
Martin Pool (mbp) on 2011-04-12
visibility: private → public
Jelmer Vernooij (jelmer) on 2011-08-31
Changed in bzr:
status: New → Confirmed
Changed in bzr (Ubuntu):
status: New → Triaged
Changed in bzr:
importance: Undecided → Low
Changed in bzr (Ubuntu):
importance: Undecided → Medium
Changed in bzr:
importance: Low → Medium
Jelmer Vernooij (jelmer) on 2017-11-09
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers