GoSC2010 branch : no DB, startuo is frozen. strnage error messages in the console...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GoSC2010 branch : no DB, startuo is frozen. strnage error messages in the console...

Gilles Caulier-4
Marcel,

when i clean up all DB files, and start digiKam, i can see this on the console :

[gilles@localhost Database]$ digikam
digikam(18384)/digikam (core) Digikam::AlbumManager::setDatabase:
DatabaseParameters: [ Type "QSQLITE", Name
"/mnt/data/Database/digikam4.db" (Thumbnails Name
"/mnt/data/Database/thumbnails-digikam.db"); ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
digikam(18384)/digikam (core) Digikam::SchemaUpdater::update:
SchemaUpdater update
digikam(18384)/digikam (core)
Digikam::DatabaseConfigElementLoader::readConfig:
"/usr/share/apps/digikam/database/dbconfig.xml"
digikam(18384)/digikam (core)
Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure
executing query:
 ""
Error messages: "no such table: PrivCheck Unable to execute statement"
1 2 "no such table: PrivCheck" "Unable to execute statement"
QSqlError(-1, "", "")
Bound values:  ()
digikam(18384)/digikam (core)
Digikam::DatabaseCoreBackend::execDBAction: Error while executing
DBAction [ "CheckPriv_DROP_TABLE" ] Statement [ "
                        DROP TABLE PrivCheck;
                " ]
digikam(18384)/digikam (core)
Digikam::DatabasePrivilegesChecker::checkPriv: Error while creating a
trigger. Details:  QSqlError(1, "Unable to execute statement", "no
such table: PrivCheck")
digikam(18384)/digikam (core) Digikam::SchemaUpdater::startUpdates: No
database file available
digikam(18384)/digikam (core) Digikam::AlbumManager::setDatabase: No
locale found in database
digikam(18384)/digikam (core) Digikam::AlbumManager::setDatabase: No
locale found in config file
digikam(18384)/KIPI (loading) KIPI::PluginLoader::instance:
KIPI::PluginLoader::instance is null...
QLayout: Cannot add null widget to QVBoxLayout/
digikam(18384)/KIPI (loading) KIPI::PluginLoader::instance:
KIPI::PluginLoader::instance is null...

... and digiKam is frozen. I press CTRL+C and restart it. At this
time, collection dialog appear, and i can continue properly to setup
digiKam...

Note : in this case, i don't remove digikamrc file and Firstrun do not
appear at startup. It's normal of course.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: GoSC2010 branch : no DB, startuo is frozen. strnage error messages in the console...

Marcel Wiesweg


> when i clean up all DB files, and start digiKam, i can see this on the
> console :
>
> Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure
> executing query:
>  ""
> Error messages: "no such table: PrivCheck Unable to execute statement"
> 1 2 "no such table: PrivCheck" "Unable to execute statement"
> QSqlError(-1, "", "")
> Bound values:  ()
> digikam(18384)/digikam (core)
> Digikam::DatabaseCoreBackend::execDBAction: Error while executing
> DBAction [ "CheckPriv_DROP_TABLE" ] Statement [ "
>                         DROP TABLE PrivCheck;
>                 " ]
> digikam(18384)/digikam (core)
> Digikam::DatabasePrivilegesChecker::checkPriv: Error while creating a
> trigger. Details:  QSqlError(1, "Unable to execute statement", "no
> such table: PrivCheck")

These checks were introduced by Holger, but for MySQL, for SQLite they are
never needed.
There must have other parts been changed, I need to check this case.

Marcel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel