Bug 19980 - klatexformula should have depends on some sqlite database driver
Summary: klatexformula should have depends on some sqlite database driver
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 23:09 CET by w unruh
Modified: 2017-01-15 11:55 CET (History)
2 users (show)

See Also:
Source RPM: klatexformula
CVE:
Status comment:


Attachments

Description w unruh 2016-12-18 23:09:05 CET
Description of problem:Installed klatexformula (the latest version as of today, Dec 18) and it refused to run due to missing driver for the database. 

Here is the error message which is helpful not at all:

"root@localhost SPECS]# klatexformula
KLatexFormula Version 3.2.11 by Philippe Faist (c) 2005-2011
Licensed under the terms of the GNU Public License GPL

Warning: QSqlDatabase: QSQLITE driver not loaded
Warning: QSqlDatabase: available drivers:
Warning: KLFMainWin::loadLibrary : Can't create resource engine for library, of scheme  "klf+sqlite" !  Create parameters are  QMap(("Filename", QVariant(QString, "/root/.klatexformula/library.klf.db") ) ( "klfDefaultSubResource" ,  QVariant(QString, "History") ) ( "klfDefaultSubResourceTitle" ,  QVariant(QString, "History") ) )
Fatal: KLFMainWin::loadLibrary: Can't create resource engine for library!
Segmentation Fault :-(
"

It appears that klatexformula needs one of the lib64qt4-database-plugin-* packages (I have not figured out which one) since when I installed all 4, klatexformula worked fine. 
So, the appropriate driver needs to be installed and be a dependency of klatexformula



Version-Release number of selected component (if applicable):
klatexformula-3.2.11-4.mga6

How reproducible:Always



Steps to Reproduce:
1.
2.
3.
Marja Van Waes 2016-12-19 17:11:13 CET

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 1 David GEIGER 2016-12-19 17:26:51 CET
As this package is not yet ported to Kf5/Qt5 it will be certainly removed from mirror.

CC: (none) => geiger.david68210

Comment 2 w unruh 2016-12-19 18:05:41 CET
Aargh NO. Wrong answer please! This is, for a subset of your users, a very important program, and is desperately needed. Removing it would be a mistake. 
Please!
Comment 3 David GEIGER 2017-01-15 11:55:04 CET
So ok, should be fixed in next klatexformula update adding "qt4-database-plugin-sqlite" as a requires!

- klatexformula-3.2.11-5.mga6

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.