[Digikam-devel] [Bug 282047] No open digikam

Alexey Stukalov astukalov at gmail.com
Fri Jan 6 13:34:31 GMT 2012


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





--- Comment #23 from Alexey Stukalov <astukalov gmail com>  2012-01-06 13:34:31 ---
Ok, so with the patches from my repo I was able to compile 2.5.0 and test this
bug.
When I use digikamrc from the attachment, digikam doesn't crash, it shows the
dialogbox 'Error while opening the database. digiKam will try to automatically
reconnect to the database' with progress bar which goes on forever. On the
console the following is being written:

digikam(25501)/digikam (core): Please set parameters before setting a database
error handler 
QSqlDatabase:  driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL QODBC3 QODBC
QPSQL7 QPSQL
digikam(25501)/digikam (core): Error while opening the database. Error details
[ QSqlError(-1, "Driver not loaded", "Driver not loaded") ] 

The last line is being repeated multiple time.

If 'Cancel' is pressed in the dialog box, there's an error box about no working
database. When I press OK, the digikam crashes:

Thread 1 (Thread 0x7f705d36c980 (LWP 25501)):
[KCrash Handler]
#6  0x00007f705ab741e0 in Digikam::DatabaseCoreBackend::status() const () from
/usr/lib/libdigikamcore.so.2
#7  0x00007f705a500427 in Digikam::DatabaseAccess::DatabaseAccess() () from
/usr/lib/libdigikamdatabase.so.2
#8  0x00007f705a4e8d60 in Digikam::CollectionScanner::databaseInitialScanDone()
() from /usr/lib/libdigikamdatabase.so.2
#9  0x00000000005c67fb in ?? ()
#10 0x000000000058b32b in ?? ()
#11 0x000000000048b907 in ?? ()
#12 0x00007f70568e838d in __libc_start_main () from /lib/libc.so.6
#13 0x000000000048d375 in _start ()

Overall, it's better than it was before as digikam reports the source of the
problem, but maybe more graceful handling of incorrect data in .ini file is
still required.

-- 
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