[Bug 1292795] Re: bzr crashed with KeyError in __getitem__(): 'from'

Vincent Ladeuil 1292795 at bugs.launchpad.net
Sat Mar 15 09:56:57 UTC 2014


** Package changed: bzr (Ubuntu) => bzr-git (Ubuntu)

** Description changed:

  This error appeared after running "bzr git-apply"
  
  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: bzr 2.6.0+bzr6591-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  BzrDebugFlags: set([])
  BzrVersion: 2.7.0dev1
  CommandLine:
-  ['/usr/bin/bzr',
-   'git-apply',
-   '../debian/patches/fix-cursor-gnomedesktop-api.patch']
+  ['/usr/bin/bzr',
+   'git-apply',
+   '../debian/patches/fix-cursor-gnomedesktop-api.patch']
  CrashDb: bzr
  CurrentDesktop: XFCE
  Date: Sat Mar 15 18:53:41 2014
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationDate: Installed on 2013-12-17 (87 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131217)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_AU.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.13.0-17-generic-x86_64-with-Ubuntu-14.04-trusty
  ProcCmdline: /usr/bin/python /usr/bin/bzr git-apply ../debian/patches/fix-cursor-gnomedesktop-api.patch
  PythonVersion: 2.7.6
  SourcePackage: bzr
  Title: bzr crashed with KeyError in __getitem__(): 'from'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserEncoding: utf-8
  UserGroups: adm autopilot cdrom dip lpadmin plugdev sambashare sudo
+ 
+ 
+ Traceback (most recent call last):
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
+     return the_callable(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
+     ret = run(*run_argv)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
+     return self.run(**all_cmd_args)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
+     return self._operation.run_simple(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
+     self.cleanups, self.func, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
+     result = func(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/commands.py", line 294, in run
+     self._apply_patch(tree, f, signoff=signoff)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/commands.py", line 265, in _apply_patch
+     (c, diff, version) = git_am_patch_split(f)
+   File "/usr/lib/python2.7/dist-packages/dulwich/patch.py", line 250, in git_am_patch_split
+     c.author = msg["from"]
+   File "/usr/lib/python2.7/rfc822.py", line 388, in __getitem__
+     return self.dict[name.lower()]
+ KeyError: 'from'

-- 
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/1292795

Title:
  bzr crashed with KeyError in __getitem__(): 'from'

Status in “bzr-git” package in Ubuntu:
  New

Bug description:
  This error appeared after running "bzr git-apply"

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: bzr 2.6.0+bzr6591-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  BzrDebugFlags: set([])
  BzrVersion: 2.7.0dev1
  CommandLine:
   ['/usr/bin/bzr',
    'git-apply',
    '../debian/patches/fix-cursor-gnomedesktop-api.patch']
  CrashDb: bzr
  CurrentDesktop: XFCE
  Date: Sat Mar 15 18:53:41 2014
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationDate: Installed on 2013-12-17 (87 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131217)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_AU.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.13.0-17-generic-x86_64-with-Ubuntu-14.04-trusty
  ProcCmdline: /usr/bin/python /usr/bin/bzr git-apply ../debian/patches/fix-cursor-gnomedesktop-api.patch
  PythonVersion: 2.7.6
  SourcePackage: bzr
  Title: bzr crashed with KeyError in __getitem__(): 'from'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserEncoding: utf-8
  UserGroups: adm autopilot cdrom dip lpadmin plugdev sambashare sudo

  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/commands.py", line 294, in run
      self._apply_patch(tree, f, signoff=signoff)
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/commands.py", line 265, in _apply_patch
      (c, diff, version) = git_am_patch_split(f)
    File "/usr/lib/python2.7/dist-packages/dulwich/patch.py", line 250, in git_am_patch_split
      c.author = msg["from"]
    File "/usr/lib/python2.7/rfc822.py", line 388, in __getitem__
      return self.dict[name.lower()]
  KeyError: 'from'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr-git/+bug/1292795/+subscriptions



More information about the foundations-bugs mailing list