[KPhotoAlbum] KPhotoAlbum crashes while generating thumbnails during start
Manfred Usselmann
usselmann.m at icg-online.de
Tue Apr 30 21:41:23 BST 2013
Hello,
Am 30.04.2013 17:15, schrieb Miika Turkia:
> Hello all,
>
> here is a quick summary of what I have found out.
>
> * libkdcraw is
crashing on decoding some files. At least Sigma.x3f from
Image-ExifTool-5.72 test files.
> - This problem should be reported to
digikam/libkdcraw (it is not only KPA but at least dngconverter crashes
as well)
Whats the best place to report this issue?
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.
> * 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.
> - Of course this should also be taken into
account when parsing the input and handled in more user friendly way
than crashing.
This index.xml is quite old. I have no idea how this
mismatch happend. Schlüsselbegriffe (key terms) was there from the
beginning and I never 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).
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 <member-groups><member category="Schlüsselbegriffe" ...
So
there is indeed a bug with the current version and special characters in
category names when groups are used.
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...
But something is still
wrong even when /usr/share/icons/oxygen/8x8/emblems/file-broken.png
exists, 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 file-broken.png? Or I need to use a different
folder than the one mentioned above?
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.)
If someone is wi
> or with the APIs
used in them...
>
> miika
>
> Thanks a lot for looking into this.
Hopefully I will get KPA working again. :-)
>
> Manfred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20130430/a159a0f9/attachment.htm>
More information about the Kphotoalbum
mailing list