[Digikam-devel] [Bug 277928] database upgrade v4 to v5 failed : digiKam fails to start properly, lost albums

mnaugendre at gmail.com mnaugendre at gmail.com
Thu Dec 15 15:33:35 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=277928


mnaugendre at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mnaugendre at gmail.com




--- Comment #12 from  <mnaugendre gmail com>  2011-12-15 15:33:34 ---
I have had the very same problem with V2.x a couple of months ago. As no
solution was found, I had to downgrade to Digikam 1.9

But now I run Fedora 16, that comes with Digikam 2.3.0, the problem remains ...
and I cannot downgrade as F16 comes with Digikam 2.

I have run several tests that are related in the users mailing-list.
Last one is the following, and also give a link to the content of my settings
table.

Hope this will help, as I really need to make Digikam work!

============================================= 
1st launch from the console:

[marie-noelle at toshiba4 Digikam]$ digikam

libdc1394 error: Failed to initialize libdc1394
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active

QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active

QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active

etc.

In Digikam, hit F5 to refresh the DB, and wait till the most recent pictures
appear in the Albums and Calendar.
Quit Digikam.
Check the DB isn't used any longer with command
lsof | grep -Ri digikam


Relaunch Digikam from the console
Got the usual error message "Impossible d'effectuer la mise à jour du schéma
..."
And in the console:

[marie-noelle at toshiba4 Digikam]$ digikam

libdc1394 error: Failed to initialize libdc1394
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(3946)/digikam (core): Schema update to V6 failed!

After click 'OK' in the error window, Digikam main window open (and the
lighttable too), albums are empty, calendar and tags seem to be there, but
thumbnails are completely blank.
>From the console, this message appear many, many times (I cannot go backward
enough to see anything else):
digikam(3946)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "" 


Several months ago, I had a version problem, and could fix it by manually
editing the content of the settings table.
But this is a different case, as it seems Digikam has created a lot of
DBVersion lines!
Using sqliteman, I have made an export of the whole table that you can find
here:
http://www.marie-noelle-augendre.com/fichiers/Digikam/export_DK_settings.html

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Digikam-devel mailing list