Summary: | MySQL : external database empty after migration | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mark Purcell <msp> |
Component: | Database-Migration | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | caulier.gilles, perso, vivo75+kde |
Priority: | NOR | ||
Version: | 2.6.0 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674186 | ||
Latest Commit: | Version Fixed In: | 7.0.0 | |
Sentry Crash Report: | |||
Attachments: | debug output from digikam |
Description
Mark Purcell
2012-06-02 23:33:27 UTC
On Thu, 24 May 2012 03:03:03 Adrien wrote: > It seems to have a bug in the db migration, which delete all the data to > migrate. Maybe when constructing the new schema ? Anyway, this behaviour > should be corrected. Adrien, I have forwarded your report upstream: https://bugs.kde.org/show_bug.cgi?id=301075 Could I ask you to provide further details upstream to the KDE bug tracker. Thanks, Mark Hi, could you please help us providing some more info? To see more debug output launch `kdebugdialog --fullmode` search for 'digikam', activate the debug output, expecially for area 50007 output to information to a file. Launch digikam possibly from a shell, then try to redo the conversion and attach to this bug the result. Also, previous version of digikam? Created attachment 72034 [details]
debug output from digikam
Hi, Sorry for not answering quickly. I tried again the migration, and I got this on the command line : QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work. QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-20685328' is still in use, all queries will cease to work. QSqlDatabasePrivate::addDatabase: duplicate connection name 'digikamDatabase-20685328', old connection removed. digikam(25258)/digikam (core): Schema update to V6 failed! I also enable the debug mode, as requested, bhe debug output may not be very useful :-( I also didn't find any solution to recover my tags. (In reply to comment #4) > I also didn't find any solution to recover my tags. I just notice that the tags are in my new database (I see them with select * from Tags;), but they doesn't appears in digikam. It seems that the db migration has not going well unfortunately. Official digiKam 2.6.0 release is out since few days now : http://www.digikam.org/drupal/node/656 Please, check if this entry still valid, or update report accordingly. Thanks in advance. Gilles Caulier (In reply to comment #6) > Official digiKam 2.6.0 release is out since few days now : My problem occurs when passing from 1.9 to 2.6, which is now in Debian testing. (In reply to comment #7) > (In reply to comment #6) > > Official digiKam 2.6.0 release is out since few days now : > > My problem occurs when passing from 1.9 to 2.6, which is now in Debian > testing. About my problem with tags, it's strange : I can see my tags are imported to my new database « digikam2 », but they doesn't show up in digikam. (In reply to comment #8) > > About my problem with tags, it's strange : I can see my tags are imported to > my new database « digikam2 », but they doesn't show up in digikam. Hi, I finally retrieve my tags by modifying directly the database. Some of the tags had a missing parents (pid=-1 for instance). After modified the pid to an existing one (pid=0) into the db the tags appears magically into digikam. The missing pid of tag is a problem already reported to bug #325654 Gilles Caulier *** This bug has been marked as a duplicate of bug 325654 *** Not reproducible with 7.0.0 beta 1. |