Bug 463940

Summary: Unable to launch digikam 7.9.0 on macOS 10.14.6 (Mojave)
Product: [Applications] digikam Reporter: Tim Clark <timjclark>
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, gazola01, yurii.kolesnykov
Priority: NOR    
Version: 7.9.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:
Attachments: Header of crash report at digikam 7.9.0 launch (repeatable)

Description Tim Clark 2023-01-06 20:26:39 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
I installed digikam 7.9.0 on macOS Mojave 10.14.6 but it will not run.
The install image I downloaded from the website today was named: digiKam-7.9.0-MacOS-x86-64
I have a MacPro 5,1 with 3.46 GHz 6-Core Intel Xeon processor and 32GB RAM with an AMD Radeon HD 7950 3GB graphics card.

When I try to launch the application absolutely nothing happens - I get no splash screen, no windows of any sort open on either screen.

I have rebooted, no change in behavior.
I ran Disk Utility - First Aid, no change in behavior.
I reran the installation program, no change in behavior.

STEPS TO REPRODUCE
1. downloaded digiKam-7.9.0-MacOS-x86-64.dmg from the website
2. checked the MD5 hash matched
3. mounted disk image and ran installer successfully
4. Double-click application icon

OBSERVED RESULT
Nothing at all happens, no splash screen, no windows open

EXPECTED RESULT
Application should launch

SOFTWARE/OS VERSIONS
macOS: 10.14.6

ADDITIONAL INFORMATION
I noticed a discrepancy regarding the supported versions of macOS:
The website says 10.13 and newer 

https://docs.digikam.org/en/getting_started/installation.html#minimum-system-requirements 
  says:
Operating System: 64-bit Windows 7 or newer, Apple macOS 10.15 (Catalina) or newer and on M1, 64-bit Linux. Details see below.

https://docs.digikam.org/en/getting_started/installation.html#digikam-on-macos
  says: 
digiKam runs with Intel based Mac’s on macOS 10.13 (High Sierra) and newer.

One of these are wrong...
Comment 1 caulier.gilles 2023-01-07 13:52:45 UTC
Git commit c912415a69f1554895d5037f2b99b044e60e5c18 by Gilles Caulier.
Committed on 07/01/2023 at 13:52.
Pushed by cgilles into branch 'master'.

fix MacOS requirements in digiKam doc

M  +2    -4    getting_started/installation.rst

https://invent.kde.org/documentation/digikam-doc/commit/c912415a69f1554895d5037f2b99b044e60e5c18
Comment 2 caulier.gilles 2023-01-08 14:29:40 UTC
I updated the list of macOS rights for the application in the document. Can you check if you have similar settings on your computer ?

https://docs.digikam.org/en/getting_started/installation.html#application-rights

Best

Gilles Caulier
Comment 3 Gary 2023-01-14 10:31:48 UTC
Created attachment 155274 [details]
Header of crash report at digikam 7.9.0 launch (repeatable)

I had the same issue as Tim - Unable to launch digikam 7.9.0 on macOS 10.14.6 (Mojave).

My setup:  iMac 5K 2017 (18,3) 3.4GHz i5, MacOS 10.14.6, 16GB RAM, Radeon Pro 570 4GB. Images are stored on my local network. 

The problem persisted despite adding access rights in the macOS Security and Privacy Panel
Ref. https://docs.digikam.org/en/getting_started/installation.html#application-rights
 
My workaround was uninstalling 7.9.0 (using AppCleaner 3.6.7 app), rebooting and re-installing digikam 7.8.0. 

It appears that Files and Folders Access Rights don't exist in the macOS Security and Privacy Panel before 10.15 (Catalina). 
Ref. https://support.apple.com/en-au/guide/mac-help/mchld5a35146/mac

Tim & Gilles, hope this helps (this is my first bug report here). There might be some other issue that I'm missing. 

Regards,
Gary
Comment 4 caulier.gilles 2023-01-14 11:01:48 UTC
Hum. I will install last Apple updates on my Mojave Intel computer (macOS, Xcode, and Macports) used to compile digiKam package and rebuild all from scratch. This will take a while... but we will see if this fix the problem.

Gilles
Comment 5 caulier.gilles 2023-01-20 16:24:04 UTC
Hi all,

Some fresh news : i upgraded my MacBookPro to last Monterey 12.6.2 and install last XCode Command Line Tool extensions.

Since this morning, Macports compilation from scratch is under progress. It's long as usual. Until now, all is fine, excepted that now the digiKam bundle needs at least macOS 10.15 (Catalina): One library compiled with Macports do not compiled with older macOS versions. This is the side effect of rolling release policy used by Macports: there is a reduced backward compatibility...

Wait few hours again to see the Macports compilation completed...

Gilles Caulier
Comment 6 caulier.gilles 2023-04-09 07:44:01 UTC
MacOS 10.15 is now required to run last digiKam versions.

Gilles Caulier