[digikam] [Bug 367853] New: Digikam hangs on 'Reading database' when stumbling across MacOS' Photos Library.photoslibrary of a huge size (>20GB)

Andrea via KDE Bugzilla bugzilla_noreply at kde.org
Fri Aug 26 14:15:45 BST 2016


https://bugs.kde.org/show_bug.cgi?id=367853

            Bug ID: 367853
           Summary: Digikam hangs on 'Reading database' when stumbling
                    across MacOS' Photos Library.photoslibrary of a huge
                    size (>20GB)
           Product: digikam
           Version: 5.1.0
          Platform: Mac OS X Disk Images
                OS: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database-Scan
          Assignee: digikam-devel at kde.org
          Reporter: andrea at renderland.de

If installed on MacOSX (10.11.6 El Capitan) digikam seemed to freeze in the
process of reading the database after starting it for the first time with
default settings. This happens if digikam scans the default user's Pictures
folder AND in case one already has used the Apple application Photos before
that created a huge Photos Library.photoslibrary in the very same folder.
Photos Library.photoslibrary is a packaged db in itself. The size of this file
is in my  case 26 GB as I managed almost 10,000 photos with it. 

One has to wait a looong time (about half an hour) to see digikam finish
reading the content of Photos Library.photoslibrary in its own database and
later on it seems to have some performance problems with so many photos or
maybe with this file that it represents as a folder structure. 

It took me a long time to figure out that this is the reason for the apparent
freeze – at the beginning I just thought that digikam 5.0.1 is simply not
working on MacOSX El Capitan.

Reproducible: Always

Steps to Reproduce:
1. (for testing purpose one might) create a huge  Photos Library.photoslibrary
file in Pictures-folder (default) for many fotos (in my case almost 10.000)
with the Photos app of Apple MacOSX El Capitan  (it's done automatically if you
start it) 
2. Install pre-compiled digikam app 
3. Start digikam with default settings and let it scan the Pictures folder
(happens automatically)  with huge  Photos Library.photoslibrary in it

Actual Results:  
Digikam hangs on 'Reading database' during startup

Expected Results:  
At least the software should warn the user that it is going to take a very long
time to read a file of a certain size or package files like Photos
Library.photoslibrary and that it might cause performance problems later on and
give the opportunity to skip this file from being written to the databas/to
delete it/to move it elsewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list