[Bug 693096] Re: bzr lp-propose-merge -R foo crashes if there is no such team or person on launchpad

Jelmer Vernooij 693096 at bugs.launchpad.net
Wed Aug 31 10:53:38 UTC 2011


** Also affects: bzr
   Importance: Undecided
       Status: New

** 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/693096

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

Status in Bazaar Version Control System:
  Confirmed
Status in “bzr” package in Ubuntu:
  Triaged

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 2.6.35.8
  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
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=pl_PL.utf8
  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/commands.py", line 912, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1112, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 690, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 705, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad/__init__.py", line 343, in run
      reviews, staging, approve=approve)
    File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad/lp_propose.py", line 97, in __init__
      reviews]
    File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 921, in __getitem__
      raise KeyError(key)
  KeyError: u'deepti'

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/693096/+subscriptions




More information about the foundations-bugs mailing list