<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Hello,</p>
<p>Am 30.04.2013 17:15, schrieb Miika Turkia:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Hello all,<br /><br />here is a quick summary of what I have found out.<br /><br />* libkdcraw is crashing on decoding some files. At least Sigma.x3f from Image-ExifTool-5.72 test files.</div>
<div class="gmail_quote">  - This problem should be reported to digikam/libkdcraw (it is not only KPA but at least dngconverter crashes as well)</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Whats the best place to report this issue? </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">I usually keep raw files separately but some are still inside my images tree, so to be on the safe side I will clean them all out when I have some more time.</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote"> </div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">* There is an inconsistency in Category declaration and <member-groups> in Manfred's index.xml and this causes a crash. A quick fix is to change the first category at the beginning of the index.xml to Schlüsselbegriffe that is used at the end grpuings. Somehow the Category name got corrupted.</span></div>
<div class="gmail_quote">  - Of course this should also be taken into account when parsing the input and handled in more user friendly way than crashing.</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">This index.xml is quite old. I have no idea how this mismatch happend. <span>Schlüsselbegriffe (key terms) was there from the beginning and I never</span> modified the file manually. The group definition at the end of the file uses "Schlüsselbegriffe" but everywhere else "Schl_.FFFFFFFCsselbegriffe" is used. I guess the program part which handles the groups ignores the logic for special characters used elsewhere.  The current version of KPA does not create a category 'Schlüsselbegriffe' by default. Instead it creates 'Ereignisse' (events). </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">To be able to open index.xml I renamed everything to "Schlüsselbegriffe". When I closed KPA I was asked if I wanted to save it, I confirmed and guess what happend: It crashed again when I tried to reopen it. When I looked at the file with an editor I noticed that Schlüsselbegriffe was renamed back to <Category name="Schl_.FFFFFFFCsselbegriffe"> and the group definition was untouched <span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"><member-groups></span><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"><member category="Schlüsselbegriffe" ...</span>
<p>So there is indeed a bug with the current version and special characters in category names when groups are used.</p>
<p>Then I tried it the other way around: Rename everything to "Schl_.FFFFFFFCsselbegriffe". But then I'm not able to open KPA, it crashes immediately. OK, until this is fixed I will avoid umlauts in category names.  For now I've renamed Schlüsselbegriffe to Schluesselbegriffe...</p>
<p> </p>
</div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">* KPhotoAlbum is insanely searching for icon "file-broken" (png, svg and possibly some other versions of it). At least on my system this occurs and renders KPA useless. I did not find any package providing such an icon, but a quick hack to just create an empty file with such name gets KPA functioning properly (sudo touch /usr/share/icons/oxygen/8x8/emblems/file-broken.png). Of course I cannot test with Manfred's images, but at least the empty index.xml file loads.</span></div>
<div class="gmail_quote">  - KPA should be fixed to handle the case when broken image icon is not found</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">For now I'm using the workaround to create file-broken.png, but it seems there is already a fix in the development version. Thanks...</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">But something is still wrong even when <span>/usr/share/icons/oxygen/8x8/emblems/file-broken.png exists</span>, KPA is still very slow opening the detail view and switching between pictures and also going back to Home. Maybe it's looking for different icons besides <span>file-broken.png? Or I need to use a different folder than the one mentioned above?</span></div>
<div class="gmail_quote"> </div>
<div class="gmail_quote"> </div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Manually fixing the index.xml and creating a file-broken.png - or finding a proper icon for it should hopefully get KPA working for Manfred. (Provided there are no more images that would cause a crash.)</span></div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">If someone is willing to look into fixing these problems in KPA feel free as I am not familiar with these parts of the code nor with the APIs used in them...</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">miika</div>
<div class="gmail_quote"> </div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Thanks a lot for looking into this. Hopefully I will get KPA working again. :-)</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Manfred</div>
</div>
</div>
</body></html>