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

Bug #648224 reported by Enrique Hernández Bello
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Interactive plugin
Fix Committed
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

Revision history for this message
Enrique Hernández Bello (ehbello) wrote :
Revision history for this message
Enrique Hernández Bello (ehbello) wrote :

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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.