[Digikam-users] Digikam 2.0 runs only once before corrupting the DB

Marie-Noëlle Augendre mnaugendre at gmail.com
Tue Aug 23 10:04:06 BST 2011


Well, I did have this problem a couple of times in 1.9 version, and have
been able to solve it with this solution:
http://ymartin59.free.fr/wordpress/index.php/2011/04/29/digikam-does-not-start-do-not-drop-your-database-yet-it-may-be-fixed/

But this time, the Settings table is really a mess: it comprises many more
rows than the usual 20 records I saw in previous version, the DBVersion row
is multiplied by I don't how many ... I did try to fix it using Sqliteman,
but it was impossible. And anyway, the mess is back each time I launch/close
Digikam!

As for now, I'm trying to compile from git but:
 - it's almost my first try at compiling
 - I don't know anything about git
so things are quite complicate ...

Marie-Noëlle

2011/8/23 Gilles Caulier <caulier.gilles at gmail.com>

> Have you take a look here :
>
>    https://bugs.kde.org/show_bug.cgi?id=277928
> Gilles Caulier
>
> 2011/8/19 Marie-Noëlle Augendre <mnaugendre at gmail.com>
>
>> Unless I have not seen it, I don't think there has been an answer to
>> my previous post.
>>
>> As it was impossible to run Digikam 2.0 I had to downgrade to 1.9; I
>> would like very much to run 2.0 but is was impossible as it
>> corrupteded the DB each time.
>> In case it could cause problem, just prior to upgrade Digikam, I had
>> upgraded from Fedora 14 to 15, then switched from Gnome to XFCE.
>>
>> Thanks for helping,
>> Marie-Noëlle
>>
>>
>> 2011/8/15 Marie-Noëlle Augendre <mnaugendre at gmail.com>:
>> > Is this the same as
>> > http://mail.kde.org/pipermail/digikam-devel/2011-June/052100.html
>> > The traces are similar but I don't know how to solve this problem.
>> >
>> > Any idea?
>> > Thnaks,
>> > Marie-Noëlle
>> >
>> > 2011/8/14 Marie-Noëlle Augendre <mnaugendre at gmail.com>:
>> >
>> >> But the big problem is Digikam itself, that I can launch just one
>> >> time; at the second launch, I get the following error message:
>> >> "Failed to update the database schema from version 5 to version 6.
>> >> Please read the error messages printed on the console ..."
>> >>
>> >> I've restored the database from a backup, and restarted Digikam again.
>> >> And again it works at first launch, and I get the error at the 2nd and
>> >> subsequent launches.
>> >>
>> >> "Information sur les composants" is:
>> >> digiKam version 2.0.0
>> >> Dématriçage parallélisé: Oui
>> >> Exiv2 peut écrire dans un fichier JP2: Oui
>> >> Exiv2 peut écrire dans un fichier JPEG: Oui
>> >> Exiv2 peut écrire dans un fichier PGF: Oui
>> >> Exiv2 peut écrire dans un fichier PNG: Oui
>> >> Exiv2 peut écrire dans un fichier TIFF: Oui
>> >> Exiv2 prend en charge les métadonnées XMP: Oui
>> >> LibCImg: 130
>> >> LibClapack: internal library
>> >> LibExiv2: 0.21.1
>> >> LibJPEG: 62
>> >> LibJasper: 1.900.1
>> >> LibKDE: 4.7.00 (4.7.0)
>> >> LibKExiv2: 2.0.0
>> >> LibKGeoMap: 2.0.0
>> >> LibKdcraw: 2.0.0
>> >> LibLCMS: 119
>> >> LibPGF: 6.11.24 - internal library
>> >> LibPNG: 1.2.46
>> >> LibQt: 4.7.3
>> >> LibRaw: 0.13.5
>> >> LibTIFF: LIBTIFF, Version 3.9.5 Copyright (c) 1988-1996 Sam Leffler
>> >> Copyright (c) 1991-1996 Silicon Graphics, Inc.
>> >> Marble Widget: 0.11.95 (0.12 RC 2)
>> >> LibGphoto2: 2.4.10.1
>> >> LibKface: 2.0.0
>> >> LibKipi: 1.2.0
>> >> LibOpenCV: 2.2.0
>> >> Libface: 0.2
>> >> Moteur de base de données: QSQLITE
>> >>
>> >>
>> >> And if launched from a console, I get this trace:
>> >> libdc1394 error: Failed to initialize libdc1394
>> >> digikam(30805)/digikam (core) Digikam::AlbumManager::setDatabase:
>> >> DatabaseParameters: [ Type "QSQLITE", Name
>> >> "/home/marie-noelle/Digikam/digikam4.db" (Thumbnails Name
>> >> "/home/marie-noelle/Digikam/thumbnails-digikam.db"); ]
>> >> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
>> >> still in use, all queries will cease to work.
>> >> digikam(30805)/digikam (core)
>> >> Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code
>> >> from config file "/usr/share/kde4/apps/digikam/database/dbconfig.xml"
>> >> digikam(30805)/digikam (core)
>> >> Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1
>> >> digikam(30805)/digikam (core) Digikam::SchemaUpdater::update:
>> >> SchemaUpdater update
>> >> digikam(30805)/digikam (core) Digikam::SchemaUpdater::startUpdates:
>> >> Have a database structure version  5
>> >> digikam(30805)/digikam (core) Digikam::SchemaUpdater::makeUpdates:
>> >> makeUpdates  5  to  6
>> >> digikam(30805)/digikam (core)
>> >> Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure
>> >> executing query:
>> >>  ""
>> >> Error messages: "Unable to execute statement" "table ImageHistory
>> >> already exists" 1 2
>> >> Bound values:  ()
>> >> digikam(30805)/digikam (core)
>> >> Digikam::DatabaseCoreBackend::execDBAction: Error while executing
>> >> DBAction [ "UpdateSchemaFromV5ToV6" ] Statement [ "CREATE TABLE
>> >> ImageHistory
>> >>                            (imageid INTEGER PRIMARY KEY,
>> >>                             uuid TEXT,
>> >>                             history TEXT);" ]
>> >> digikam(30805)/digikam (core): Schema update to V6 failed!
>> >>
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe
>> >
>> > Parcourez les Cévennes à ma façon : Cévennes Plurielles
>> >
>> > Et toutes mes autres publications à partir de ma page d'accueil générale
>> >
>>
>>
>>
>> --
>> Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe
>>
>> Parcourez les Cévennes à ma façon : Cévennes Plurielles
>>
>> Et toutes mes autres publications à partir de ma page d'accueil générale
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>


-- 
Une galerie photos, un blog ... pourquoi pas ? Webmaster en
herbe<http://www.webmaster-en-herbe.net/>

Parcourez les Cévennes à ma façon : Cévennes
Plurielles<http://www.cevennes-plurielles.com>

Et toutes mes autres publications à partir de ma page d'accueil
générale<http://www.marie-noelle-augendre.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20110823/f343dd33/attachment.html>


More information about the Digikam-users mailing list