Comment 3 for bug 886604

Revision history for this message
Parsifal Herzog (parsifal-herzog) wrote : Re: [Bug 886604] Re: pyexiv2 segfaults retrieving xmp tag with type XmpBag

On 05/11/11 06:46 PM, Olivier Tilloy wrote:
> *** This bug is a duplicate of bug 677267 ***
> https://bugs.launchpad.net/bugs/677267
>
> Thanks for the report Parsifal. This specific issue looks very much like
> bug #677267, which was fixed in pyexiv2 0.3.0 (the latest release is now
> 0.3.2).
>
> This is the output I get when running your example script against
> pyexiv2 0.3.2:
>
> Xmp.digiKam.TagsList: <pyexiv2.xmp.XmpTag object at 0x27bf750> [u'Place', u'Place/Canada', u'Place/Canada/Yukon', u'Place/Canada/Yukon/Circle D Ranch', u'Vehicle', u'Vehicle/Aircraft', u'Style', u'Style/Pair', u'Adventure']
> Xmp.lr.hierarchicalSubject: <pyexiv2.xmp.XmpTag object at 0x27bf790> ['Place', 'Place|Canada', 'Place|Canada|Yukon', 'Place|Canada|Yukon|Circle D Ranch', 'Vehicle', 'Vehicle|Aircraft', 'Style', 'Style|Pair', 'Adventure']
>
> I am going to mark this bug as a duplicate of bug #677267, if you can
> test the latest release to confirm that the issue is fixed your feedback
> would be much appreciated.
I built pyexiv2 0.3.2, and it produced the correct result, as above.
Thank you!

> ** This bug has been marked a duplicate of bug 677267
> Crashes when trying to read Xmp.lr.hierarchicalSubject
>