Bug 277928 - database upgrade v4 to v5 failed : digiKam fails to start properly, lost albums
Summary: database upgrade v4 to v5 failed : digiKam fails to start properly, lost albums
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 1.9.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 23:26 UTC by Steve Toledo-Brown
Modified: 2017-07-19 13:59 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Toledo-Brown 2011-07-16 23:26:00 UTC
Version:           1.9.0
OS:                Linux

Earlier today I could start DigiKam as normal, but now it's reporting
errors as below on startup, and failing to show any of my albums.

"The schema updating process from version 4 to 5 failed, caused by an
error that we did not expect. You can try to discard your old database
and start with an empty one. (In this case, please move the database
files "digikam3.db" and "digikam4.db" from the directory
"/home/joint/Pictures".) More probably you will want to report this
error to the digikam-devel@kde.org mailing list. As well, please have a
look at what digiKam prints on the console."

An attempt to re-configure, re-adding the root album folder, failed immediately - IIRC, there was an error message related to the database access.

After a reboot, I got the same error, but this time with the possible
improvement that re-adding the root album folder seemed to be working - I got the progress dialog, which was reporting progress for the first few minutes. However, when I came back after half an hour, the dialog was gone without any root album folder being shown.



Reproducible: Sometimes

Steps to Reproduce:
Difficult to reproduce properly as I can't get any albums back into digikam.
I suspect that the problem may have been caused by having 2 userids
simultaneously trying to use digikam (same database). One of these userids also had several digikam processes running simultaneously, due to the user not being sure whether digikam had already started or not.
Bug 265034 may also be relevant, but I only killed (kill -9) digikam processes after I had already experienced the problem.

Actual Results:  
see Details section

output from running digikam in the bash shell is:
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
Time elapsed: 32 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 11 ms
Time elapsed: 2 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 12 ms
digikam(2979)/KIPI (general) Plugin_DebianScreenshots::setup: virtual void Plugin_DebianScreenshots::setup(QWidget*) 
Time elapsed: 2 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
digikam(2979)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::ImagePropertiesSideBarDB(0xb398850)  is empty. Returning the default config group 
digikam(2979)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::ImagePropertiesSideBarDB(0xb5c2940)  is empty. Returning the default config group 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
digikam(2979)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::Sidebar(0xb5c2940)  is empty. Returning the default config group 
digikam(2979)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::Sidebar(0xb398850)  is empty. Returning the default config group 
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-158633776' is still in use, all queries will cease to work.


Expected Results:  
Restart of digikam should maintain the albums structure.

sqlite integrity check appears OK :

$ sqlite3 /home/joint/Pictures/digikam4.db
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> pragma integrity_check;
ok
Comment 1 Marcel Wiesweg 2011-07-18 17:12:35 UTC
We will not really be able to help here if the original error is gone and the situation is not reproducible.
The error message is unspecific and may occur in the case of database corruption.

Normally, parallel access should be possible, unless there is a network drive involved in which case sqlite file locking may not work.

The problem of the "dialog gone later" would need more infos to investigate.
Comment 2 Steve Toledo-Brown 2011-07-19 17:11:47 UTC
Does this console output help? It comes from me starting digikam, attempting
to load a local collection, which failed at about 67%,
and then shutting it down. This failure at about 67% happens every time now
so it makes digikam completely unusable. Do I have any workaround other than
wiping out any databases and reinstalling?

dad@sktju:~$ digikam
KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You
should not do that since it most likely will not work
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
params.c:OpenConfFile() - Unable to open configuration file
"/home/dad/.smb/smb.conf":
    No such file or directory
params.c:OpenConfFile() - Unable to open configuration file
"/home/dad/.smb/smb.conf.append":
    No such file or directory
Time elapsed: 293 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
Time elapsed: 2 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 13 ms
KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You
should not do that since it most likely will not work
digikam(1659)/KIPI (general) Plugin_DebianScreenshots::setup: virtual void
Plugin_DebianScreenshots::setup(QWidget*)
Time elapsed: 2 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 11 ms
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
digikam(1659)/digikam (core)
Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for
Digikam::ImagePropertiesSideBarDB(0xa10ac00)  is empty. Returning the
default config group
digikam(1659)/digikam (core)
Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for
Digikam::ImagePropertiesSideBarDB(0xa3268d0)  is empty. Returning the
default config group
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-143398888'
is still in use, all queries will cease to work.
klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

digikam(1659)/KIPI (general) Plugin_DebianScreenshots::setup: virtual void
Plugin_DebianScreenshots::setup(QWidget*)
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
Application asked to unregister timer 0x11000065 which is not registered in
this thread. Fix application.

(user note: now after digikam failed to load new digikam(1659)
KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate
should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
digikam(1659) KWidgetItemDelegateEventListener::eventFilter: User of
KWidgetItemDelegate should not delete widgets created by createItemWidgets!
(user note attempt 2: now after digikam failed to load new Local Collection)
(user note: about to shut down digikam)digikam(1659)/digikam (core)
Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for
Digikam::Sidebar(0xa3268d0)  is empty. Returning the default config group
digikam(1659)/digikam (core)
Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for
Digikam::Sidebar(0xa10ac00)  is empty. Returning the default config group
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-146553232'
is still in use, all queries will cease to work.
dad@sktju:~$


On Mon, Jul 18, 2011 at 6:12 PM, Marcel Wiesweg <marcel.wiesweg@gmx.de>wrote:

> https://bugs.kde.org/show_bug.cgi?id=277928
>
>
>
>
>
> --- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-18
> 17:12:35 ---
> We will not really be able to help here if the original error is gone and
> the
> situation is not reproducible.
> The error message is unspecific and may occur in the case of database
> corruption.
>
> Normally, parallel access should be possible, unless there is a network
> drive
> involved in which case sqlite file locking may not work.
>
> The problem of the "dialog gone later" would need more infos to
> investigate.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Marcel Wiesweg 2011-07-21 19:55:15 UTC
What does "fail" mean, does it crash, freeze, simply close the dialog?
There is not much relevant debug output. Did you enable 50003-7 in kdebugdialog?

klauncher(1672)/kio (KLauncher): SlavePool: No communication with slave.

This may indicate a problem with the ioslaves but it could also be some unspecific problem.
Comment 4 Steve Toledo-Brown 2011-07-21 23:46:44 UTC
"fail" : it simply closed the dialog, and no useful output appeared, with no
collections recognised by digikam.
kdebugdialog shows 50003-7 enabled (and the nearby ones for kipi).
Comment 5 Steve Toledo-Brown 2011-07-24 19:31:06 UTC
I deleted digikam4.db and then started afresh. Things seemed to be working OK for a couple of days.
Now it's happened again. Why is it even trying to update the schema? I'm still using the same version of digikam which created the database.

dad@sktju:~$ digikam
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
digikam(2736)/digikam (core) Digikam::AlbumManager::setDatabase: DatabaseParameters: [ Type "QSQLITE", Name "/home/joint/Pictures/digikam4.db" (Thumbnails Name "/home/joint/Pictures/thumbnails-digikam.db"); ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(2736)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(2736)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "0"
digikam(2736)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates  0  to  5
digikam(2736)/digikam (core) Digikam::SchemaUpdater::updateV4toV5: updateV4toV5
digikam(2736)/digikam (core) Digikam::SchemaUpdater::updateV4toV5: Moved tables
digikam(2736)/digikam (core) Digikam::SchemaUpdater::updateV4toV5: Dropped triggers
digikam(2736)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig: "/usr/share/kde4/apps/digikam/database/dbconfig.xml"
digikam(2736)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "" 
Error messages: "table AlbumRoots already exists Unable to execute statement" 1 2 "table AlbumRoots already exists" "Unable to execute statement" QSqlError(-1, "", "") 
Bound values:  ()
digikam(2736)/digikam (core) Digikam::DatabaseCoreBackend::execDBAction: Error while executing DBAction [ "CreateDB" ] Statement [ "CREATE TABLE AlbumRoots
                            (id INTEGER PRIMARY KEY,
                            label TEXT,
                            status INTEGER NOT NULL,
                            type INTEGER NOT NULL,
                            identifier TEXT,
                            specificPath TEXT,
                            UNIQUE(identifier, specificPath))" ]
digikam(2736)/kdecore (kdelibs) KToolInvocation::klauncher: klauncher not running... launching kdeinit
digikam(2736)/kdecore (kdelibs) KStandardDirs::findExe: findExe(): returning  "/usr/bin/kdeinit4"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
klauncher(2749)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket"
unnamed app(2746)/kdecore (kdelibs) KStandardDirs::findExe: findExe(): returning  "/usr/bin/kded4"
kded(2751)/kdecore (kdelibs) KStandardDirs::findExe: findExe(): returning  "/usr/bin/kbuildsycoca4"
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/kbuildsycoca4" (pid 2754) up and running.
kbuildsycoca4 running...
kbuildsycoca4(2754)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-dad/ksycoca4"
kbuildsycoca4(2754) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(2754) KBuildSycoca::checkTimestamps: timestamps check ok
kded(2751)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-dad/ksycoca4"
klauncher(2749)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-dad/ksycoca4"
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kconf_update" (pid 2755) up and running.
klauncher(2749)/kdecore (kdelibs) KStandardDirs::findExe: findExe(): returning  "/usr/bin/knotify4"
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "/usr/bin/knotify4" (pid 2756) up and running.
knotify(2757)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-dad/ksycoca4"
params.c:OpenConfFile() - Unable to open configuration file "/home/dad/.smb/smb.conf":
	No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/home/dad/.smb/smb.conf.append":
	No such file or directory
digikam(2736)/kdeui (KNotification) KNotificationManager::notificationClosed: 1
digikam(2736)/digikam (core) Digikam::CollectionScanner::completeScan: Complete scan took: 215 msecs.
digikam(2736)/digikam (core) Digikam::IccSettingsPriv::scanDirectories: ()
digikam(2736)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-dad/ksycoca4"
Time elapsed: 33 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
kded(2751)/ktimezoned KTimeZoned::checkTimezone: /etc/timezone:  "Europe/London"
kded(2751)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned"
digikam(2736)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
digikam(2736)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/London"
digikam(2736)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "AlbumFolderView Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "DateFolderView Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "DateFolderView Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "TagView Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "TimeLine Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Search Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Fuzzy Search Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Fuzzy Search Sidebar"
Time elapsed: 3 ms
Model: Time elapsed: 0 ms
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "GPS Search Sidebar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "GPS Search Sidebar"
digikam(2736)/digikam (core) Digikam::AlbumFolderViewSideBarWidget::applySettings: applying settings
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xaaa44d0)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file"
digikam(2736)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 50 m_maxConnectionsPerHost: 50
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xaaa44d0) -8
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xaab6a38)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xaab6a38) -8
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xaab6e80)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xaab6e80) -8
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamXx2736.slave-socket"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/kde_infopage.css")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamUR2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamUR2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2788) up and running.
kio_file(2788) kdemain: Starting 2788
kio_file(2788)/kio (kioslave) KIO::SlaveBase::mimeType: "text/css"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/digikam/about/digikam.css")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikampX2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikampX2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2789) up and running.
kio_file(2789) kdemain: Starting 2789
kio_file(2789)/kio (kioslave) KIO::SlaveBase::mimeType: "text/css"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/digikam/about/main.html")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamgm2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamgm2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2791) up and running.
digikam(2736)/digikam (core) Digikam::AlbumManager::startScan: KDirWatch method =  "INotify"
kio_file(2791) kdemain: Starting 2791
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x9f9bd88)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "digikamdates"
digikam(2736)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 1 m_maxConnectionsPerHost: 1
TextureColorizer::setSeaFileLandFile: Time elapsed: 16 ms
digikam(2736)/digikam (core) Digikam::FuzzySearchSideBarWidget::setActive: active =  false
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "digikamdates" for KUrl("digikamdates:?databaseType=QSQLITE&databaseName=%2Fhome%2Fjoint%2FPictures%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamrk2736.slave-socket"
kio_file(2791)/kio (kioslave) KIO::SlaveBase::mimeType: "text/html"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_digikamdates"  with protocol= "digikamdates"  args= ("digikamdates", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamrk2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_digikamdates" (pid 2798) up and running.
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
digikam(2736)/KIPI (loading) Plugin_MetadataEdit::Plugin_MetadataEdit: Plugin_MetadataEdit plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "MetadataEdit"
digikam(2736)/KIPI (loading) Plugin_JPEGLossless::Plugin_JPEGLossless: Plugin_JPEGLossless plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "JPEGLossless"
digikam(2736)/KIPI (loading) Plugin_BatchProcessImages::Plugin_BatchProcessImages: Plugin_BatchProcessImages plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "BatchProcessImages"
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_border_images" ' disabled.
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_color_images" ' disabled.
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_convert_images" ' disabled.
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_filter_images" ' disabled.
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_rename_images" ' disabled.
digikam(2736)/KIPI (loading) Plugin_AdvancedSlideshow::Plugin_AdvancedSlideshow: Plugin_AdvancedSlideshow plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "AdvancedSlideshow"
digikam(2736)/KIPI (loading) Plugin_KioExportImport::Plugin_KioExportImport: Plugin_KioExportImport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "KioExportImport"
digikam(2736)/KIPI (loading) Plugin_GalleryExport::Plugin_GalleryExport: Plugin_GalleryExport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "GalleryExport"
digikam(2736)/KIPI (general) KIPIGalleryExportPlugin::Gallery::load: Reading data from kipirc file..
digikam(2736)/KIPI (loading) Plugin_DebianScreenshots::Plugin_DebianScreenshots: Plugin_DebianScreenshots plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "Debian Screenshots Export"
digikam(2736)/KIPI (general) Plugin_DebianScreenshots::setup: virtual void Plugin_DebianScreenshots::setup(QWidget*) 
digikam(2736)/KIPI (loading) Plugin_Calendar::Plugin_Calendar: Plugin_Calendar plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "Calendar"
digikam(2736)/KIPI (loading) Plugin_ExpoBlending::Plugin_ExpoBlending: Plugin_ExpoBlending plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "ExpoBlending"
digikam(2736)/KIPI (loading) Plugin_iPodExport::Plugin_iPodExport: Plugin_iPodExport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "iPodExport"
digikam(2736)/KIPI (loading) Plugin_PicasawebExport::Plugin_PicasawebExport: Plugin_PicasawebExport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "PicasawebExport"
digikam(2736)/KIPI (loading) Plugin_viewer::Plugin_viewer: OpenGL viewer plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "kipiplugin_imageviewer"
digikam(2736)/KIPI (loading) Plugin_PrintImages::Plugin_PrintImages: Plugin_PrintImages plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "PrintImages"
digikam(2736)/KIPI (loading) Plugin_FlashExport::Plugin_FlashExport: Plugin_FlashExport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "FlashExport"
digikam(2736)/KIPI (loading) Plugin_FlickrExport::Plugin_FlickrExport: Plugin_FlickrExport plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "FlickrExport"
digikam(2736)/KIPI (loading) Plugin_DNGConverter::Plugin_DNGConverter: Plugin_DNGConverter plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "DNGConverter"
digikam(2736)/KIPI (loading) Plugin_Facebook::Plugin_Facebook: Plugin_Facebook plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "Facebook Import/Export"
digikam(2736)/KIPI (loading) Plugin_AcquireImages::Plugin_AcquireImages: Plugin_AcquireImages plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "AcquireImages"
digikam(2736)/KIPI (loading) Plugin_Kopete::Plugin_Kopete: Plugin_Kopete plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "Kopete Export"
digikam(2736)/KIPI (loading) Plugin_TimeAdjust::Plugin_TimeAdjust: Plugin_TimeAdjust plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "TimeAdjust"
digikam(2736)/KIPI (loading) Plugin_RawConverter::Plugin_RawConverter: Plugin_RawConverter plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "RawConverter"
digikam(2736)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "raw_converter_single" ' disabled.
digikam(2736)/KIPI (loading) Plugin_SendImages::Plugin_SendImages: Plugin_SendImages plugin loaded
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "SendImages"
digikam(2736)/KIPI (loading) KIPI::PluginLoader::Info::plugin: KIPI::PluginLoader: Loaded plugin  "HTMLExport"
digikam(2736)/digikam (editor plugins) ImagePlugin_Color::ImagePlugin_Color: ImagePlugin_Color plugin loaded
digikam(2736)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Colour"
digikam(2736)/digikam (editor plugins) ImagePlugin_Decorate::ImagePlugin_Decorate: ImagePlugin_Decorate plugin loaded
digikam(2736)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Decorate"
digikam(2736)/digikam (editor plugins) ImagePlugin_Enhance::ImagePlugin_Enhance: ImagePlugin_Enhance plugin loaded
digikam(2736)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Enhance"
digikam(2736)/digikam (editor plugins) ImagePlugin_FxFilters::ImagePlugin_FxFilters: ImagePlugin_FxFilters plugin loaded
digikam(2736)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_FxFilters"
digikam(2736)/digikam (editor plugins) ImagePlugin_Transform::ImagePlugin_Transform: ImagePlugin_Transform plugin loaded
digikam(2736)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Transform"
digikam(2736)/digikam (core) Digikam::ThemeEngine::loadTheme: Theme file loaded:  "/usr/share/kde4/apps/digikam/themes/Clean"
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::TransferJob(0xaab6a38) KIO::Slave(0xa0900a8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: Scheduler: killing slave  2789
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2789 ( "file://" )
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xaab6a38) KIO::Slave(0xa0900a8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::TransferJob(0xaab6e80) KIO::Slave(0xa045ce8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: Scheduler: killing slave  2791
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2791 ( "file://" )
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xaab6e80) KIO::Slave(0xa045ce8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::TransferJob(0xaaa44d0) KIO::Slave(0xa636e70)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: Scheduler: killing slave  2788
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2788 ( "file://" )
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xaaa44d0) KIO::Slave(0xa636e70)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xa07fbc0)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xa07fbc0) -8
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb4f29f8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb4f29f8) -8
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb57e760)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb57e760) -8
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/kde_infopage.css")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamUm2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamUm2736.slave-socket")
kio_digikamdates(2798)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/home/joint/Pictures"  uuid  "volumeid:?uuid=9fe49eb4-6a72-4eb3-a3cc-079939697564"
kio_digikamdates(2798)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/home/joint/Pictures"  is available  true
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2801) up and running.
kio_file(2801) kdemain: Starting 2801
digikam(2736)/digikam (core) Digikam::LensFunCameraSelector::populateLensCombo: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam(2736)/digikam (core) Digikam::LensFunCameraSelector::populateLensCombo: dev:  Asahi Optical Co.,Ltd  ::  PENTAX Optio 430
digikam(2736)/digikam (core) Digikam::LensFunIface::findCamera: Search for camera  "" - ""  ==> false
digikam(2736)/digikam (core) Digikam::LensFunIface::findLens: Search for lens  ""  ==> false
digikam(2736)/digikam (core) Digikam::CurvesWidget::updateData: updating data
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Filling this curve from other curve  0xbae3c40
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Both curves have same type: isSixteenBits =  true
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Updating curve types
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  0  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  1  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  2  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  3  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  4  is  0
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: Radius:  0.3
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Process Computation...
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Finalization...
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: Radius:  0.2
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Process Computation...
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Finalization...
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: Radius:  0.5
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Process Computation...
digikam(2736)/digikam (core) Digikam::BlurFilter::cimgBlurImage: BlurFilter::Finalization...
digikam(2736)/digikam (core) Digikam::CurvesWidget::updateData: updating data
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Filling this curve from other curve  0xac380b0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Both curves have same type: isSixteenBits =  true
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Updating curve types
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  0  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  1  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  2  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  3  is  0
digikam(2736)/digikam (core) Digikam::ImageCurves::fillFromOtherCurves: Curve type for channel  4  is  0
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "AlbumSelectWidget"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "AlbumSelectWidget"
digikam(2736)/digikam (core) Digikam::AlbumFilterModel::setSearchTextSettings: new search text settings:  "" : hasResult =  false , validRows =  0
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 10 ms
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
Time elapsed: 1 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 11 ms
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
Time elapsed: 2 ms
Model: Time elapsed: 0 ms
TextureColorizer::setSeaFileLandFile: Time elapsed: 11 ms
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObject::setConfigGroup: received new config group:  "Image Properties SideBar"
digikam(2736)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::ImagePropertiesSideBarDB(0xbd2ff08)  is empty. Returning the default config group 
digikam(2736)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::ImagePropertiesSideBarDB(0xc03ddd8)  is empty. Returning the default config group 
digikam(2736)/kio (KIOConnection) KIO::SocketConnectionBackend::socketReadyRead: KIO::SocketConnectionBackend(0xab06720) Jumbo packet of 46843 bytes
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/digikam/about/digikam.css")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamnH2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamnH2736.slave-socket")
kio_file(2801)/kio (kioslave) KIO::SlaveBase::mimeType: "text/css"
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2853) up and running.
kio_file(2853) kdemain: Starting 2853
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/digikam/about/main.html")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamHM2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamHM2736.slave-socket")
kio_file(2853)/kio (kioslave) KIO::SlaveBase::mimeType: "text/css"
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2854) up and running.
kio_file(2854) kdemain: Starting 2854
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("digikamdates:?databaseType=QSQLITE&databaseName=%2Fhome%2Fjoint%2FPictures%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SpecialJob(0x9f9bd88) KIO::Slave(0xa581308)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/kde_infopage.css")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xa07fbc0) KIO::Slave(0xa5428b8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb5fe4a0)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb5fe4a0) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb629b20)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb629b20) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xc22cb30)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xc22cb30) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xc208ef8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xc208ef8) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xc1ea478)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xc1ea478) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xc1d62a8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xc1d62a8) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb617e08)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb617e08) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb604010)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb604010) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xc26d3a8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xc26d3a8) 0
kio_file(2854)/kio (kioslave) KIO::SlaveBase::mimeType: "text/html"
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb5b3da0)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb5b3da0) 0
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb5c9ce0)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb5c9ce0) 0
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/digikam/about/digikam.css")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb4f29f8) KIO::Slave(0xbd845b8)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb52ff78)
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::TransferJob(0xb52ff78) 0
kio_file(2853)/kio (kioslave) KIO::SlaveBase::mimeType: "image/jpeg"
kio_file(2801)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/box-top-left.png")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamFO2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamFO2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2855) up and running.
kio_file(2855) kdemain: Starting 2855
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/box-top-right.png")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamvw2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamvw2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2856) up and running.
kio_file(2856) kdemain: Starting 2856
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/digikam/about/main.html")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb57e760) KIO::Slave(0xb9d9390)
kio_file(2855)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2854)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2856)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/box-middle-left.png")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamBx2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamBx2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2857) up and running.
kio_file(2857) kdemain: Starting 2857
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/top-middle.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb629b20) KIO::Slave(0xa5428b8)
kio_file(2801)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2857)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/box-middle-right.png")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamhD2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamhD2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2858) up and running.
kio_file(2858) kdemain: Starting 2858
digikam(2736)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/kde4/apps/kdeui/about/box-bottom-left.png")
digikam(2736)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-dad/digikamPC2736.slave-socket"
klauncher(2749)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_file"  with protocol= "file"  args= ("file", "local:/tmp/ksocket-dad/klauncherhX2749.slave-socket", "local:/tmp/ksocket-dad/digikamPC2736.slave-socket")
klauncher(2749)/kio (KLauncher) KLauncher::processRequestReturn: "kio_file" (pid 2859) up and running.
kio_file(2858)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2859) kdemain: Starting 2859
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-top-middle.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xc1ea478) KIO::Slave(0xb9d9390)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-top-left.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xc22cb30) KIO::Slave(0xb1039a0)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-top-right.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xc208ef8) KIO::Slave(0xb998250)
kio_file(2859)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2856)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(2855)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-middle-left.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xc1d62a8) KIO::Slave(0xbff64c8)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/body-background.jpg")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb5fe4a0) KIO::Slave(0xbd845b8)
kio_file(2854)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-center.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb617e08) KIO::Slave(0xa5428b8)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-middle-right.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb604010) KIO::Slave(0xb72da68)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-bottom-left.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xc26d3a8) KIO::Slave(0xc04fbe8)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-bottom-right.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb5b3da0) KIO::Slave(0xb998250)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/kdeui/about/box-bottom-middle.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb5c9ce0) KIO::Slave(0xb1039a0)
digikam(2736)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("file:///usr/share/kde4/apps/digikam/about/top-left-digikam.png")
digikam(2736)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0xb52ff78) KIO::Slave(0xb9d9390)
digikam(2736)/kparts KParts::Part::slotWidgetDestroyed: deleting part ""
digikam(2736)/khtml (part) KHTMLPart::~KHTMLPart: KHTMLPart(0xa053a90)
digikam(2736)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::Sidebar(0xc03ddd8)  is empty. Returning the default config group 
digikam(2736)/digikam (core) Digikam::StateSavingObjectPriv::getGroupFromObjectName: Object name for  Digikam::Sidebar(0xbd2ff08)  is empty. Returning the default config group 
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-166263984' is still in use, all queries will cease to work.
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2798 ( "digikamdates://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2854 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2855 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2856 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2859 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2858 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2801 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2853 ( "file://" )
digikam(2736)/kio (Slave) KIO::Slave::kill: killing slave pid 2857 ( "file://" )
kio_digikamdates(2798)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
dad@sktju:~$ QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-148719592' is still in use, all queries will cease to work.
kio_file(2853)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2801)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2853) kdemain: Done
kio_file(2801) kdemain: Done
klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

kio_file(2858)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2858) kdemain: Done
klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

kio_file(2857)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2857) kdemain: Done
kio_file(2854)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2854) kdemain: Done
kio_file(2856)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2856) kdemain: Done
klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

kio_file(2855)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2855) kdemain: Done
kio_file(2859)/kio (kioslave) KIO::SlaveBase::dispatchLoop:  dispatchLoop() slave was killed, returning
kio_file(2859) kdemain: Done
klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

klauncher(2749)/kio (KLauncher): SlavePool: No communication with slave. 

QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
Comment 6 Marcel Wiesweg 2011-07-25 19:29:22 UTC
digikam(2736)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a
database structure version  "0"

Look at this: something wrote a "0" (and not a null value, and not the empty string) into the db version field. There is - I hope - no code in digikam that would do that, at least not unless something is already broken.
Comment 7 aditsu 2011-08-20 16:30:23 UTC
I got a similar problem too (using version 1.9.0); I found this link: http://is.gd/QSfbLY and I confirm that DBVersion is 0 in the settings table.
Possibly related: bug 269528
Comment 8 aditsu 2011-08-20 16:37:38 UTC
Now I did this:
update Settings set value=5 where keyword='DBVersion';
and after that, digikam started normally.
Comment 9 caulier.gilles 2011-12-15 13:54:59 UTC
aditsu, Steve,

What's about this entry ? It's fixed now using digiKam 2.4 ?

Gilles Caulier
Comment 10 aditsu 2011-12-15 14:09:58 UTC
Oh, incidentally I recently upgraded digikam, and now I tried to run the new version (2.3.0) for the first time.

"Failed to update the database schema from version 5 to version 6. Please read the error messages printed on the console and report this error as a bug at bugs.kde.org."
Comment 11 aditsu 2011-12-15 14:11:31 UTC
Console messages:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(21180)/digikam (core): Schema update to V6 failed!
Comment 12 mnaugendre 2011-12-15 15:33:34 UTC
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@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@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
Comment 13 mnaugendre 2011-12-16 18:00:12 UTC
From what I could understand, the database was already corrupted before the upgrade. As my backups seem to have the same problem, I decided to restart afresh with a new Digikam (after having written the metadata to the images).

This has solved the problem for now.

Nonetheless, I would like to have some ready-made procedure or script in order to check/rebuild the database at will, and at least before each upgrade that involves a modification of the database.
Comment 14 Steve Toledo-Brown 2011-12-20 23:10:05 UTC
I tried the manual correction of DBVersion as mentioned in the link aditsu
provided, and haven't seen the problem reoccur since then. Since it's now
stable I'm unlikely to install 2.4 until it's available packaged for my
Ubuntu (Oneiric) system.

On Thu, Dec 15, 2011 at 1:54 PM, Gilles Caulier <caulier.gilles@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=277928
>
>
> --- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2011-12-15
> 13:54:59 ---
> aditsu, Steve,
>
> What's about this entry ? It's fixed now using digiKam 2.4 ?
>
> Gilles Caulier
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 15 caulier.gilles 2011-12-21 07:11:23 UTC
Ananta,

The duplicate DB version string fix, solve your problem under Windows for 2.4 release ?

Gilles Caulier
Comment 16 aditsu 2012-01-19 00:34:26 UTC
I upgraded to version 2.4.1 today, and it successfully updated the schema to version 6. So I think this bug might be fixed.
Now I'm just waiting to see if the "scanning collection" progress bar will ever pass 0%
Comment 17 aditsu 2012-01-19 00:42:59 UTC
Yep, seems to work for me now.
Comment 18 caulier.gilles 2012-01-19 08:09:59 UTC
Marcel, Francesco,

Do you see that more than one DBVersion exist in DB file and break schema migration ?

Gilles Caulier
Comment 19 caulier.gilles 2013-11-20 22:14:00 UTC
Marcel, 

Do you see my previous message ?

Gilles
Comment 20 caulier.gilles 2013-11-20 22:14:47 UTC
*** Bug 218571 has been marked as a duplicate of this bug. ***
Comment 21 Marcel Wiesweg 2013-11-22 20:04:33 UTC
Gilles: I do not know what wrote "version 0" into the database, but this is not valid and will break digikam. Digikam itself will not deliberately write this value.
Comment 22 caulier.gilles 2013-11-22 22:48:45 UTC
Marcel,

Can we considerate this version ID equal to zero as a singularity, as the result of a crash for ex ?

As with other comments in this file are in a good way, i think it's fine to close this file as FIXED... Right ?

Gilles
Comment 23 caulier.gilles 2013-11-25 12:06:13 UTC
I close this file as fixed. Version ID = 0 is certainly a singularity...

Re-open if necessary.

Gilles Caulier