[KPhotoAlbum] Keywords with id=0?

Joe josephj at main.nc.us
Tue Dec 24 07:20:32 GMT 2019

Just catching up.

Thought I'd try this, but I don't seem to have categoryIds.xslt anywhere.

Obviously, I have index.xml or nothing would work, but I couldn't find
any file with a .xslt extension anywhere.

All my photos are stored under a directory called kpa on a USB drive and
my index is there, but there is no directory named index either.
Probably, you are just using that as a generic location, but if you're
being at all literal ...

Is my KPA install broken/missing things?


On 12/14/19 6:49 PM, Johannes Zarl-Zierl wrote:
> Just in case some people want to check their database for duplicates, here's a 
> quick and dirty script to do it:
> xsltproc categoryIds.xslt index/latest-index.xml | sort | uniq -c |\
>  grep -v '^ *1 '
> Am Sonntag, 15. Dezember 2019, 00:46:26 CET schrieb Johannes Zarl-Zierl:
>> Am Samstag, 14. Dezember 2019, 22:45:57 CET schrieb Robert Krawitz:
>>> I'm seeing that somehow my index.xml has an item with id=0.  I'm not
>>> quite sure how it happened; I know I was using the preferences dialog
>>> to add a new member-group and then I created more member-groups under
>>> that.
>> I can see several categories with id="0" as well. Checking my index.xml
>> backups it seems to be a long-standing issue: the first category with id=0
>> was introduced in my index.xml in May 2017. By itself, though that should
>> not really be a problem (AFAICS id 0 is not handled specially compared to
>> other index numbers).
>> What concerns me more though, is that categories with id=0 are duplicated. I
>> see the first instance of a duplicate id in December 2017. It can't be
>> triggered by routine operations, or I would expect to see far more
>> duplicates.
>> So, two questions arise:
>>  - What is the cause for the bug?
>>  - How can we help users recover from this?
>>   Johannes
>> _______________________________________________
>> KPhotoAlbum mailing list
>> KPhotoAlbum at mail.kdab.com
>> https://mail.kdab.com/mailman/listinfo/kphotoalbum
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/kphotoalbum

More information about the Kphotoalbum mailing list