Summary: | akonadi fails to start with QSQLITE3 driver | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | blaze |
Component: | server | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | grave | CC: | blaze, kdebugs, stupor_scurvy343 |
Priority: | NOR | ||
Version: | 4.10 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
blaze
2013-03-02 11:10:50 UTC
*** This bug has been confirmed by popular vote. *** >QSqlDatabase: QSQLITE3 driver not loaded
>QSqlDatabase: available drivers: QSQLITE
Installation or packaging issue. Check with your distribution that the sqlite driver is built in Akonadi
looks like ubuntu has a akonadi-backend-sqlite package. make sure it's installed
what does 'qmake -query QT_INSTALL_PLUGINS' return ? if it doesn't return /usr/lib/plugins, that's an Ubuntu issue, the akonadi-sqlite plugin is installed there: http://packages.ubuntu.com/raring/amd64/akonadi-backend-sqlite/filelist If that's the case, ask your distribution to use -DINSTALL_QSQLITE_IN_QT_PREFIX when building Akonadi. Changing status. The INSTALL files was updated with the build options: https://projects.kde.org/projects/kdesupport/akonadi/repository/revisions/073b53a491218c0c1770cd0f473180e37ba4a018/diff/INSTALL Should the plugin not load anyway, even if QT_INSTALL_PLUGINS != /usr/lib/plugins given that: $ kde4-config --path qtplugins /home/michael/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/:/usr/lib/plugins/ The Akonadi server is pure Qt. To load plugins from a custom prefix, setting QT_PLUGIN_PATH would be mandatory. That's why we suggest packagers to install the qsqlite3 plugin in the same directory as the Qt sqldriver plugins (In reply to comment #6) > The Akonadi server is pure Qt. > To load plugins from a custom prefix, setting QT_PLUGIN_PATH would be > mandatory. That's why we suggest packagers to install the qsqlite3 plugin in > the same directory as the Qt sqldriver plugins Thanks for the info. (FWIW, I got that idea from the commit message http://quickgit.kde.org/?p=akonadi.git&a=commitdiff&h=ee3c4bb057da9dc78b7faf92740bd6eba65f8cf7) No feedback from the reporter. Closing KDE 4.11.0 $ akonadictl --version Akonadi 1.10.1 Bug is still persistent. Akonadi is only operational when "QSQLITE" driver was set, but configurator uses "QSQLITE3". It's NOT the packaging issue. Oh well, now I get it. |