Bug 397565 - Unable to launch in OS X after install
Summary: Unable to launch in OS X after install
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-MacOS (show other bugs)
Version: 6.0.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 22:52 UTC by bcr
Modified: 2018-08-21 16:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
Showing error dialog at startup (80.06 KB, image/png)
2018-08-17 22:52 UTC, bcr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bcr 2018-08-17 22:52:14 UTC
Created attachment 114469 [details]
Showing error dialog at startup

I'm getting this error after installing 6.0.0 (beta?) on my Mac (v 10.11.6)


LSOpenURLsWithRole() failed with error -10810 for the file /opt/digikam/Applications/KF5/digikam.app.
Comment 1 bcr 2018-08-17 22:53:44 UTC
I uninstalled any previous versions, re-ran the install and the same thing happened.  : (
Comment 2 caulier.gilles 2018-08-18 12:19:28 UTC
Read well bug #394434 and especially my comment here :

https://bugs.kde.org/show_bug.cgi?id=394434#c63

I'm 90% sure that your problem is the same.

Gilles Caulier
Comment 3 bcr 2018-08-20 13:24:03 UTC
Same issue happening with the beta1 release:

digiKam-6.0.0-beta1-20180819T165057-MacOS-x86-64.pkg
Comment 4 caulier.gilles 2018-08-20 13:41:19 UTC
yes. I investigate.

Just for testing :

Go to Finder in your Applications folder. You must found a sub directory name digiKam. Open it and 2 icons must be available. In fact both ones are symlinks to the real applications.

Right click to digiKam one, and select option to show target executable. Finder will switch the view to a the real directory including the binary files. Execute digiKam exe, and look if it run.

On my Macbbok pro it work fine. It sound like the symlink are broken in properties, but i'm not 100% sure.

Gilles Caulier
Comment 5 caulier.gilles 2018-08-20 13:45:07 UTC
But wait a minute.

LSOpenURLsWithRole() is a broken binary compatibility issue. You run El Capitan, where i compile whole digiKam under High Sierra. this can explain the problem, even if i compile with a binary compatibility to older MacOS versions.

I will check this point this evening.

Gilles Caulier
Comment 6 bcr 2018-08-20 14:16:39 UTC
Tried your suggestion and launched it from

/opt/digikam/Applications/digikam/digikam.app

Same problem  :(
Comment 7 caulier.gilles 2018-08-20 15:06:09 UTC
I'm sure. the error come from a binary compatibilities issue.

This is strange because the compatibility is set to MacOS 10.8 everywhere...

I will rebuild all the bundle tonight

Gilles Caulier
Comment 8 caulier.gilles 2018-08-21 15:19:51 UTC
Bcr,

The new MacOS package fully recompiled from scratch is uploaded at usual place :

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

Please try again

Gilles Caulier
Comment 9 bcr 2018-08-21 16:14:07 UTC
Installs now, thanks!
Comment 10 caulier.gilles 2018-08-21 16:25:13 UTC
Thanks for the feedback.

Don't forget that bug #394434 still open and i don't find a way to fix it yet.

Gilles Caulier