Bug 444423 - Problem with SQLite when installed on MacOS 11.2.3
Summary: Problem with SQLite when installed on MacOS 11.2.3
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 7.3.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 11:32 UTC by illydone
Modified: 2021-12-15 20:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description illydone 2021-10-26 11:32:39 UTC
SUMMARY

When launching the app just after install, error message pops up with "The SQLite core database was not found, please set the correct location in the next dialog." Giving informations about database, SQLite, a new existing empty directory and then OK gives the same error.

When trying from command line:
$ /Applications/digiKam.org/digikam.app/Contents/MacOS/digikam
dbus[1006]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

STEPS TO REPRODUCE
1. MacOS 11.2.3 + XQuartz 2.8.1 + digiKam 7.3.0
2. Just double click the app

OBSERVED RESULT

Error message: "The SQLite core database was not found, please set the correct location in the next dialog."

No SQLite DB creation and same error message.

In command line:
dbus[1006]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

EXPECTED RESULT

DB initialisation, normal launch of the app

SOFTWARE/OS VERSIONS
macOS: 11.2.3

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-10-26 16:48:39 UTC
Delete the existing digikamrc config file and start with a new first setup.

Maik

*** This bug has been marked as a duplicate of bug 435507 ***
Comment 2 illydone 2021-10-26 17:06:53 UTC
Ok. For Mac users, file is in ~/Library/Preferences/digikamrc
Sorry, I already found this file but didn't try to test and remove it.

And it works perfectly. Thanks a lot.
Comment 3 Maik Qualmann 2021-10-26 17:20:44 UTC
In digiKam-7.4.0 the path to digiKamrc is displayed with the note to delete in the message box.

Maik
Comment 4 caulier.gilles 2021-12-15 20:49:13 UTC
Fixed with #435507