Bug 329849 - MIGRATION : db conversion fails
Summary: MIGRATION : db conversion fails
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Migration (show other bugs)
Version: 3.5.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 13:43 UTC by Philippe ROUBACH
Modified: 2019-12-30 06:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
mig_id_pid.png (231.78 KB, image/png)
2014-01-11 14:58 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2014-01-11 13:43:41 UTC
i swicthed from mandriva to opensuse
then
i switched from digikam 2.9.0 to 3.5

i first launch digikam
then
it scans my album then i creates a new db
then
i use db migration tool 

after 92 % (global) there is an error windows saying there are duplicate ids and pids
then
migration stops

additional info :
before migration today :
- i make tests to see if my numerous bug reports are stil valid
- i accessed to my smartphone
- i import 2 photos and one movie in an already existing one then i deleted them
 



Reproducible: Always
Comment 1 Philippe ROUBACH 2014-01-11 14:58:34 UTC
Created attachment 84569 [details]
mig_id_pid.png

it occurs when copying tags
Comment 2 Philippe ROUBACH 2014-01-11 15:36:22 UTC
i close digikam
then
i delete db files
then
i launch digikam
then
digikam reates again the db files
then
i tried to restore the db  files with the migration tool
then
same error
Comment 3 caulier.gilles 2014-01-11 15:58:11 UTC
If files are scanned to recreate DB from scratch, you don't needs any migration stage... If all digiKam metadata are previously stored in files or XMP sidecar for example...

Gilles Caulier
Comment 4 Philippe ROUBACH 2014-01-11 16:19:29 UTC
ok but can you confirm the tag about a file is already in picasaweb is also in the picture files ?

when you change a photo then sending to picasaweb
this tag avoid to duplicate the photo and just replace it  in picasaweb
Comment 5 Philippe ROUBACH 2014-01-11 16:28:08 UTC
i made an experiment.

the tags indicating that a photo is already in picasaweb is in the photo file .

it remains the fact that migration tool is buggy
Comment 6 caulier.gilles 2014-08-08 08:23:53 UTC
did you convert sqlite database to mysql ?

Gilles Caulier
Comment 7 Philippe ROUBACH 2014-08-14 13:57:43 UTC
(In reply to Gilles Caulier from comment #6)
> did you convert sqlite database to mysql ?
> 
> Gilles Caulier

no
Comment 8 caulier.gilles 2015-07-24 07:54:03 UTC

*** This bug has been marked as a duplicate of bug 350574 ***
Comment 9 caulier.gilles 2019-12-30 06:58:51 UTC
Not reproducible with 7.0.0 beta 1.