Bug 433468

Summary: DigiKam Create HTML Gallery lockup
Product: [Applications] digikam Reporter: Nicole Sharp <nicolesharp100>
Component: Plugin-Generic-HTMLGalleryAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Nicole Sharp 2021-02-23 08:24:13 UTC
SUMMARY

64-bit DigiKam 7.1.0 for 64-bit Microsoft Windows 10 locks up when attempting to Create HTML Gallery using Simple/Natural template.  Not sure if it is just my system, but this appears to be a consistent bug since upgrading from DigiKam 7.0.0 to DigiKam 7.1.0.  I was able to successfully create galleries with DigiKam 7.0.0, but have not been able to since upgrading to DigiKam 7.1.0 using the same/identical settings and images.

What happens is that it gets to "create directories" ... "copying theme" ... "generate images and XML files" ... "create directories" ... "create directories" ... "generating files" and then stops.  Progress bar says "0%" and remains there regardless of how much time is waited for.  Clicking "Back" and then "Cancel" and then closing DigiKam does not stop the process though and DigiKam must instead be manually terminated from the Windows Task Manager.  In DigiKam 6, HTML gallery generation using the exact settings might take anywhere from a few seconds for small albums to under an hour for very large albums.

STEPS TO REPRODUCE
1.  Create HTML Gallery
2.  choose image selection method: albums
3.  Simple Theme
4.  Natural Style
5.  save image format: JPEG
6.  save image quality: 100%
7.  save image max size: 1024 px
8.  include full-size original images for download: yes
9.  thumbnail format: JPEG
10.  thumbnail quality: 100%
11.  thumbnail size: 128 px
12.  open in browser: no

OBSERVED RESULT

Application gets stuck at 0%.  Closing application does not end stuck/locked-up process, and digikam.exe must be manually terminated from Windows Task Manager.

EXPECTED RESULT

HTML gallery creation.

SOFTWARE/OS VERSIONS

64-bit DigiKam 7.1.0
64-bit Microsoft Windows 10

ADDITIONAL INFORMATION

As part of additional testing, I uninstalled DigiKam 7.1.0 and then installed DigiKam 7.0.0.  HTML Gallery creation now works correctly, with medium-sized galleries containing hundreds of images created within just a minute or so (using identical settings and images from DigiKam 7.1.0).  So downgrading to DigiKam 7.0.0 is a practical workaround and the issue is specific to just DigiKam 7.1.0.
Comment 1 Maik Qualmann 2021-02-23 12:13:50 UTC
Tested here with the Linux and Windows version of the current release candidate from digiKam-7.2.0. The problem cannot be reproduced. Gallery is created without problems. If you want to test digiKam-7.2.0, create a backup of the database in case you want to revert to an older version.

https://files.kde.org/digikam/

Otherwise we need the output of DebugView when a gallery is created, as described here for Windows (don't forget to set the debug environment variable):

https://www.digikam.org/contribute/

Maik
Comment 2 caulier.gilles 2021-03-30 06:53:42 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 3 caulier.gilles 2021-12-15 05:13:36 UTC
Nicole,

Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2022-01-13 11:30:16 UTC
No feedback. not reproducible with 7.5.0. Closed