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

Bug #1292795 reported by Jackson Doak
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-git (Ubuntu)
New
Medium
Unassigned

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'

Revision history for this message
Jackson Doak (noskcaj) wrote :
tags: removed: need-duplicate-check
Changed in bzr (Ubuntu):
importance: Undecided → Medium
Vincent Ladeuil (vila)
affects: bzr (Ubuntu) → bzr-git (Ubuntu)
description: updated
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.