[Digikam-users] Conversion from digikam3.db to digikam4.db

Frederic Gedin frederic.gedin at free.fr
Wed Oct 29 22:43:57 GMT 2008


Frederic Gedin a écrit :
> Hi
>
> Is there any tool to convert digikam3.db to digikam4.db ?
> When I launch digikam on my previous album, I get an error dialog box 
> suggesting me to erase my digikam3.db file. Not a very good idea as I 
> am quite reluctant to re-tag several thousands of images.
>
> the exact message  is :
>
> The schema updating process from version 4 to 5 failed, caused by an 
> internal error. Please delete the database files ("digikam3.db" and 
> "digikam4.db" in "/home/photo_video/frederic/photos") if you want to 
> try to run digiKam with an empty database - it might work then.
>
> Any clue ?
>
> Regards
>
> Frederic
>
>
Here is the log of digikam when it fails :

digikam(2867): Root Album Path:  "/home/photo_video/frederic/photos"
digikam(2867): Database Path:  "/home/frederic/Pictures"
digikam(2867): SchemaUpdater update
digikam(2867): No database file available
digikam(2867): makeUpdates  4  to  5
digikam(2867): updateV4toV5
digikam(2867): Moved tables
digikam(2867): Dropped triggers
digikam(2867): addLocation  KUrl("file:///home/photo_video/frederic/photos")
digikam(2867): listFromType
digikam(2867): got listFromType
digikam(2867): Failed to detect a storage volume for path  
"/home/photo_video/frederic/photos"  with Solid

digikam(2867): Unable to identify a path with Solid. Adding the location 
with path only.

digikam(2867): listFromType
digikam(2867): got listFromType
digikam(2867): Creating new Location  "/"  uuid  
"volumeid:?path=%2Fhome%2Fphoto_video%2Ffrederic%2Fphotos"
digikam(2867): location for  "/home/photo_video/frederic/photos/"  is 
available true
digikam(2867): Testing location  1 "/home/photo_video/frederic/photos" 
"/home/photo_video/frederic/photos/"
digikam(2867): Failure to create a collection location. Aborting update.

QSqlDatabasePrivate::removeDatabase: connection 
'digikamDatabase-19021440' is still in use, all queries will cease to work.


Regards

Frederic





More information about the Digikam-users mailing list