Summary: | New install digiKam 7.2 on Windows Error opening database | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | mike <mike> |
Component: | Database-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, joel, metzpinguin, mike, scholiaste |
Priority: | NOR | ||
Version: | 7.2.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/2dfe86d31546f3e9e95c324b361471f21067998c | Version Fixed In: | 7.4.0 |
Sentry Crash Report: | |||
Attachments: |
debug log
The sqlite core database was not found Select sqlite database location |
Description
mike@newmikeman.co.uk
2021-04-08 13:58:06 UTC
Can you share the DebugView log when digiKam start ? Look here for details : https://www.digikam.org/contribute/ Gilles Caulier Also try the current test version of digiKam-7.3.0. This shows a dialog if the path to the SQLite database is no longer correct. https://files.kde.org/digikam/ Maik Created attachment 137435 [details]
debug log
Here's the debug log you asked for.
I don't recognise "D:/FamFotoData" and D: is a spare drive letter that often gets assigned to a USB key or an SD card reader. Where would digikam get that from? The file "C:\\Users\\mnewm\\AppData\\Local\\digikam_crash.log" is not there. There is a 40KB file "C:\\Users\\mnewm\\AppData\\Local\\digikamrc" dated 26/05/2020 and it contains text. I searched for and found "D:/FamFotoData/" in there, so that explains something but I'm not getting the program running yet! Install the current digiKam-7.3.0 from here: https://files.kde.org/digikam/ This version gives you the opportunity to set the correct folder for your digikam4.db file at the start. Alternatively, you can rename or delete digikamrc and start with a completely new configuration. Maik Thanks for the 7.3.0 link and I have installed that version. It still insisted that I provide a database and didn't give me the option to create a fresh one. Fortunately I seem to have found a set of database files left over from the last time I did an evaluation of digiKam. So now the install seems to have completed, including the download of some files related to face recognoition. Thank you both Gilles & Maik for your prompt support and for the instant update! I'll keep this in mind while I'm evaluating digiKam this time. I'm a Lightroom user and it has never satisfied me in the area of keyword tagging. Hopefully digiKam will do better this time. Along with my other key requirement areas of geotagging, quick edits and external edits using the likes of Affinity, Luminar AI, Topaz Denoise and Sharpen. Let's close this bug in a few days just to give me time to be sure I didn't trip over something else in the installation. Kind regards / bien cordialement Mike Created attachment 142598 [details]
The sqlite core database was not found
Created attachment 142599 [details]
Select sqlite database location
Please do not close this issue...There is still a problem here. It looks like the only reason the OP was able to get digiKam started was they happened to have db files from an old digiKam installation laying around. I'm trying to install digiKam for first time on Windows 10. I'm attaching the dialog that pops up "The Sqlite core database was not found, please set the correct location in the next dialog" The next dialog allows a folder to be selected on my hard drive. However, no matter what folder I choose, it just continues to loop back to the first dialog "The sqlite core database was not found..." So it is impossible to get digiKam to open up at this moment, on a new install on Windows 10. Is there any other information I can provide that would help troubleshoot this bug? Use digiKam-7.3.0. Delete C:\Users\%USERNAME%\AppData\Local\digikamrc. And start again with the initial setup. You canceled an initial setup, a config exists but the database does not yet exist. The error message is intended to give the user an opportunity to enter the correct path in the event of later problems with the database. Maik (In reply to Maik Qualmann from comment #11) > Use digiKam-7.3.0. Delete C:\Users\%USERNAME%\AppData\Local\digikamrc. And > start again with the initial setup. You canceled an initial setup, a config > exists but the database does not yet exist. The error message is intended to > give the user an opportunity to enter the correct path in the event of later > problems with the database. > > Maik The only contents in C:\Users\%USERNAME%\AppData\Local\digikamrc is an empty directory called "cache". I also tried uninstalling digiKam and re-installing, and the same error occurs. Are there any other files somewhere that can be manually removed? In ...\AppData\Local there is a folder "digikam" but also a file "digikamrc". Maik I have now tested all initial installations of digiKam-7.2.0-7.4.0, everything works as expected. A note, the usual reinstallation does not bring any success with digiKam because the installer does not change the digiKam's configuration files. This is by intended so that new versions can be installed without problems. The OP had installed and deleted a digiKam-6.4.0 version, the digikamrc is retained, so the error message is correct and intended. If a new installation is desired, the digikamrc has to be deleted manually, that is by intended. I close the bug. Maik Can I give a suggestion, that in this scenario that the user is doing a new installation, after having removed an old version, that the prompt also explains that if there is no pre-existing database to use, the user must delete the digikamrc file manually? As of now, there is no way the user would be able to figure this out. We can add a note that the user has to manually remove the configuration file so that an initial setup can be carried out again. Maik Git commit 2dfe86d31546f3e9e95c324b361471f21067998c by Maik Qualmann. Committed on 20/10/2021 at 06:06. Pushed by mqualmann into branch 'master'. add a note about deleting the configuration file FIXED-IN: 7.4.0 M +6 -0 core/libs/album/manager/albummanager_database.cpp https://invent.kde.org/graphics/digikam/commit/2dfe86d31546f3e9e95c324b361471f21067998c *** Bug 444423 has been marked as a duplicate of this bug. *** |