Bug 444028 - When starting digikam it hangs for a very long time checking ICC repository
Summary: When starting digikam it hangs for a very long time checking ICC repository
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-19 10:10 UTC by AlanB
Modified: 2021-11-05 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AlanB 2021-10-19 10:10:58 UTC
SUMMARY


STEPS TO REPRODUCE
1. Last week I altered some of the settings in the Metadata configuration and looked at the EXIF tool as I had previously used Exif tool GUI to correct the lens metadata on some of my older lenses. Since installing 7.3 the alteration to Exif lens data made with EXif tool GUI don't seem to work and I was trying to sort the problem. Up until this point I had no problem with digiKam (other than a few very minor niggles)
2. Every time I have attempted to start digikam thereafter it has seemed to halt every time and takes hours to load and then is incredibly slow and difficult to use.  
3.I've tried migrating the database to Maria dB server, which after a few attempts seems to have worked. I've uninstalled digikam and Maria several times and then reinstalled always with the same result. I've tried to re-install version 7.2.0 after having used Revo uninstaller to clean up after the uninstall and I've even used 2 different registry cleaners but the installer will not let me re-install 7.2.
I'd be quite happy to do a clean re-install and start my catalogue again but that doesn't seem to work either.

OBSERVED RESULT
Digikam takes several hours to load and doesn't work as it used to


EXPECTED RESULT
Digikam to take 1 or 2 minutes to load


SOFTWARE/OS VERSIONS
Windows:10 pro 64bit 
 

ADDITIONAL INFORMATION

I have about 100000 photos in my catalogue but it worked OK until recently
Comment 1 Maik Qualmann 2021-10-19 10:51:36 UTC
To get closer to the problem, a DebugView log with debug environment variables set as described here would be interesting:

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

For a new start with initial setup, delete the digikamrc here:

C:\Users\%USERNAME%\AppData\Local\digikamrc

digiKam does not save anything in the Windows registry.

Maik
Comment 2 Maik Qualmann 2021-10-19 11:21:45 UTC
Even if the message in the splash screen points to the color management, I suspect a problem with loading the albums from the DB. The albums will also be loaded during this message, I will change it and add an entry in the splash screen for loading the albums.

Maik
Comment 3 AlanB 2021-10-19 11:35:32 UTC
Thanks for the quick response Maik.
I'll try to do a debug log next time I open digikam. It's still hung, trying to load from before I reported the bug. I'd like to let it load to check the settings.
With regard to a clean install the folder at the location on my PC is just called digikam not digikamrc and i did delete that file when I tried to reinstall 7.2.0. Do I need to completely uninstall Mariasql as well? Getting rid of that software seems to be more problematic as every time I re-install it it seems to recognise the previous install. When I try to install 7.2.0 it won't install because it says the database has been upgraded by a later version i.e. 7.3 of digikam.

Alan
Comment 4 Maik Qualmann 2021-10-19 11:40:24 UTC
Yes, in ...\AppData\Local there is a folder "digikam" but also a file "digikamrc".

Maik
Comment 5 Maik Qualmann 2021-10-19 11:42:33 UTC
Well, you can't go back to digiKam-7.2.0 without further ado, because the DB has a newer structure. Use digiKam-7.3.0.

Maik
Comment 6 AlanB 2021-10-19 12:27:19 UTC
It's finally finished loading and I checked the settings.
I looked at the Metedata tag and reset the EXIF tool view to default, as this was what I altered before the problems started.
I then restarted digiKam and it loaded up very quickly but I'd only added a small proportion of my original collection.
I'll now add the rest back in and see what happens. I'll let you know if the problem is solved

Alan
Comment 7 Maik Qualmann 2021-10-19 18:22:13 UTC
Git commit d2242a6f2799d41fa4c0045b852db5f179a0fffc by Maik Qualmann.
Committed on 19/10/2021 at 18:21.
Pushed by mqualmann into branch 'master'.

add splash screen message for loading albums

M  +5    -0    core/app/main/digikamapp.cpp

https://invent.kde.org/graphics/digikam/commit/d2242a6f2799d41fa4c0045b852db5f179a0fffc
Comment 8 AlanB 2021-10-20 09:18:22 UTC
Everything now working fine. Problem was something I had changed in the Metadata section.
Thanks for your help Maik.

Alan
Comment 9 Maik Qualmann 2021-11-05 20:17:26 UTC
In principle, it cannot be related to the metadata settings. I close the bug, should the problem reappear, open the bug again.

Maik