Generating a gallery in showfoto sometimes ends with the following error: "could not load xml file '<filename + location>'". Everything appears to be ok except there is no index.html file created. There *is* a gallery.xml file. I have created a lot of galleries successfully over the last couple of months and, after trying different photo selections I have come to the conclusion that this error only occurs when at least one of the images is from a screen grab! I am using PaintShopPro 8 for the screen grabs. Maybe I should try something else? - but I don't see why, it functions perfectly well with all other images! Please advise
I have found a 'workaround' for this problem. Its a bit tedious but it works, viz: 1. Use showphoto with all the photos to create folders and thumbnails. 2. When it fails, repeat procedure but without the images that cause the failure. 3. Edit the index.html file to add in all the other images with their respective thumbnails. It still doesn't explain why the program thinks some of the images are dodgy though. Is it looking for particular tags somewhere? Chris
I've looked more deeply at this now and tried other photo groups. It seems the HTML gallery function will fail if any photo has no EXIF information. This should not happen surely? Given that it does (for now), what is the minimum EXIF info I need add?
Can you share some photo that have "no Exif" info from your collection. This is a little bit strange, and of course this must be happen... Gilles Caulier
Yes, sample images with which the error occurs would be very helpful. I can not reproduce the problem even with images that are complete without EXIF, IPTC or XMP metadata. Maik
Created attachment 114001 [details] bridge photo - still image with exif info This is a still image which quite happily produces a gallery...
Created attachment 114002 [details] dance image from mp4 - no exif info This is one without exif info
Here are two images. The one of the dancers on the bridge is from a camera still and has exif info. The other in the courtyard is a screen gab from an mp4 video with no exif info...
Git commit 4219435ac9f10b8061f7658bbefbb85516a9ec31 by Maik Qualmann. Committed on 18/07/2018 at 20:31. Pushed by mqualmann into branch 'master'. fix broken JFIF comment, remove non printable characters from the string Related: bug 140374 FIXED-IN: 6.0.0 M +3 -1 NEWS M +18 -1 core/libs/dmetadata/metaengine_p.cpp https://commits.kde.org/digikam/4219435ac9f10b8061f7658bbefbb85516a9ec31
Note: To fix the problem with the gallery, you still have to re-read the metadata of the images. Maik
Thanks. I look forward to the 6.x.x release :-)
I will generate a new 6.0.0 AppImage pre-release while this week end. You will be able to test quickly. Gilles Caulier