bzr-interactive crash if there is a binary patch pending.

Bug #648224 reported by Enrique Hernández Bello on 2010-09-26
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Interactive plugin
Undecided
Unassigned

Bug Description

Hello,

the plugin crashed when I was trying to apply some hunks with:

$ bzr ci -i

Message error was:

bzr: ERROR: exceptions.AttributeError: 'BinaryPatch' object has no attribute 'hunks'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/quique/.cache/crash/bzr-20100926151229-3904.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

So I guess that binary hunk was the problem. I attach the full crash file.

Related branches

Also I attach a preliminary solution to avoid to patch binary hunks.

Changed in bzr-interactive:
status: New → Fix Committed
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