Bug 204482 - SCAN : Failed to open database error message
Summary: SCAN : Failed to open database error message
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 1.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 07:37 UTC by Frederic Gedin
Modified: 2019-12-25 17:19 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments
Use Picture-path under Windows (1.09 KB, patch)
2009-09-17 22:56 UTC, David Eriksson
Details
attachment-21078-0.html (910 bytes, text/html)
2015-06-28 20:21 UTC, Frederic Gedin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Gedin 2009-08-20 07:37:52 UTC
Version:           10.0.0-beta3 (using KDE 4.3.0)
OS:                MS Windows
Installed from:    MS Windows

When creating a new camera, a dialog box proposes to record a new database in %user%\Pictures (note that this is not the common place where I configured the database location) and then a error message box is displayed with the following message « Failed to open the database. Error message from database:
Erreur à l'ouverture du système de base de données. unable to open database file Erreur lors de l'ouverture de la base de données
You cannot use digiKam without a working database. digiKam will attempt to start now, but it will not be functional. Please check the database settings in the configuration menu. »
Comment 1 caulier.gilles 2009-08-20 08:21:43 UTC
Do you use Windows Vista ?

Try to use another path outside your home dir, for ex c:/temp. This problem is know under Vista : right file management returned by OS are dumy...

Gilles Caulier
Comment 2 Frederic Gedin 2009-08-20 22:34:17 UTC
Does not work either for C:\digikam.
Sorry for the mistake in the version number.

Frederic
Comment 3 caulier.gilles 2009-08-21 10:25:06 UTC
For me it work. I use 2 computer under XP and Vista.

Which FS you use : Fat32 or NTFS ?

Gilles Caulier
Comment 4 Frederic Gedin 2009-08-21 22:08:55 UTC
*** Bug 204479 has been marked as a duplicate of this bug. ***
Comment 5 Gustavo Claramunt 2009-08-21 22:35:17 UTC
I use NTFS (but full r/w permissions) and it doesn't work using latest stable (4.3) with the installer. 

But uninstalling everything and installing previous stable version (4.2x, cant remember) everything goes allright.

One last thing: after using working 4.2x version, uninstall everything BUT dikikam.db and photos, then install 4.3, select old db location and collection directory results in digikam "seeing" those pictures but incapable of opening them (being raws), nor adding albums or adding collecions.

Seems like some type of kioslave problem, but other applications (like kate) can open/create/save files without problem... so i doubt it.
Comment 6 Michal Thoma 2009-09-05 21:20:00 UTC
I also experience similar problem (0.10 in KDE 4.2.2 windows binaries). Database could not be created under my user account folder (I got message that I have to created database in dircetory to which I have write permission). I was able to create database file on other place. My system is Windows XP SP3.

I also tried 1.0.0-b3 packages in KDE 4.3. I couldn't create the database file though I got no error message like in case 0.10 (probably the First run assistant will not trigger that error message).
Comment 7 martin 2009-09-08 22:49:41 UTC
I have a similar problem with KDE 4.3 and Windows XP SP3. I tried %user% directories, but also c:\tmpPictures. In both cases digikam does not show pictures or create albums. ShowFoto can open single pictures, but not directories. I have seen error messages like "Could not create database files" as well. However, I do believe that there is now a database file in the location. In case ShowFoto uses a database as well, maybe the DB backend is a problem. But to me it looks more like a kioslave-thingy. Although I am not a programmer. Is there something I can do to debug? I do have Visual Studio installed, but I never checked out or build KDE Windows components. 

-M
Comment 8 martin 2009-09-17 00:13:34 UTC
I can also confirm that version 4.2.2 works on the same machine with the same configuration. 

-M
Comment 9 David Eriksson 2009-09-17 22:56:13 UTC
Created attachment 37023 [details]
Use Picture-path under Windows
Comment 10 caulier.gilles 2009-09-18 10:06:15 UTC
David, 

Your patch #37023 id to solve entry #204480, not this one. right ?

Gilles Caulier
Comment 11 caulier.gilles 2009-09-18 10:09:35 UTC
SVN commit 1025157 by cgilles:

apply patch from David Eriksson to handle collection path under windows.
CCMAIL: meldavid@acc.umu.se
CCBUGS: 204482
CCBUGS: 204480


 M  +18 -0     setupcollectionview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1025157
Comment 12 David Eriksson 2009-09-18 12:08:45 UTC
Yes, some how it ended up in the wrong bug.
Comment 13 Frederic Gedin 2009-10-03 17:54:01 UTC
Still here on Windows Vista, KDE 4.3.1 and Digikam 1.0.0 beta 4
Comment 14 caulier.gilles 2011-12-13 13:36:03 UTC
Frederic,

This file still valid with digiKam 2.3.0 for windows provided by Ananta ?

Gilles Caulier
Comment 15 Ananta Palani 2013-06-10 13:06:00 UTC
(In reply to comment #13)
> Still here on Windows Vista, KDE 4.3.1 and Digikam 1.0.0 beta 4

Hi Frederic,

Could you try digiKam 3.1.0 and let us know if this is still a problem?
   http://download.kde.org/stable/digikam/digiKam-installer-3.1.0-win32.exe

If you are no longer using digiKam could you let us know that as well?
Comment 16 caulier.gilles 2014-08-28 12:53:15 UTC
digiKam 4.2.0 windows installer is available. Please give us a fresh feedback about this file.

Gilles Caulier
Comment 17 caulier.gilles 2015-06-28 09:39:25 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 18 Frederic Gedin 2015-06-28 20:21:08 UTC
Created attachment 93392 [details]
attachment-21078-0.html

Hi

Sorry but I don't use Digikam  any more. 

Regards 

Frederic 



Sur 28 juin 2015 11:39, à 11:39, Gilles Caulier <caulier.gilles@gmail.com> a écrit:
>https://bugs.kde.org/show_bug.cgi?id=204482
>
>--- Comment #17 from Gilles Caulier <caulier.gilles@gmail.com> ---
>New digiKam 4.11.0 is available :
>
>https://www.digikam.org/node/740
>
>Can you reproduce the problem with this release ?
>
>Gilles Caulier
>
>-- 
>You are receiving this mail because:
>You reported the bug.
Comment 19 caulier.gilles 2019-12-25 17:19:11 UTC
*** Bug 204479 has been marked as a duplicate of this bug. ***