[KPhotoAlbum] Is this supposed to happen?
Johannes Zarl-Zierl
johannes at zarl-zierl.at
Sat May 20 22:54:16 BST 2017
On Samstag, 20. Mai 2017 14:13:58 CEST Robert Krawitz wrote:
> I've found two images in a file that have the same stack ID but
> different ordering. I thought that that wasn't supposed to happen?
>
> <image file="pano/barharbor30/img_9151.cr2" label="img_9151"
> startDate="2013-06-09T19:29:17" endDate="2013-06-09T19:29:17" angle="0"
> md5sum="537fad17b53198d1695fa6905931fb40" width="5184" height="3456"
> stackId="17071" stackOrder="3"/> <image
> file="pano/barharbor30/img_9151.jpg" label="img_9151"
> startDate="2013-06-09T19:29:17" endDate="2013-06-09T19:29:17" angle="0"
> md5sum="6e099d4b0972fcc09ee3f8f77d76a23e" width="5184" height="3456"
> stackId="17071" stackOrder="3"/>
This is not supposed to happen.
Yet, I find the same problem in my database:
grep stackId index.xml | \
sed 's/.*stackId="\([0-9]*\)".*stackOrder="\([0-9]*\)".*/stack \1 idx \2/' |\
sort | uniq -d
stack 12 idx 1
stack 77 idx 1
stack 77 idx 3
Johannes
More information about the Kphotoalbum
mailing list