Bug 312668

Summary: libpng error when starting 1.4.0
Product: [Applications] skrooge Reporter: Marko Käning <mk-lists>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED NOT A BUG    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In:

Description Marko Käning 2013-01-05 12:11:33 UTC
Hi,

I just installed 1.4.0 through my local MacPorts, but when starting up I ran into two problems:

1) libpng error: Read Error
This is printed on the console right after starting up the application.
I don't know, though, what this is actually causing.

2) QSqlDatabase: QSQLITE driver not loaded
Obviously my installation doesn't offer QSQLITE, which obviously isn't stopping the build, but it leads to problems when running skrooge.app:
---
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QSQLITE3 QMYSQL3 QMYSQL
QSqlQuery::exec: database not open
##WARNING: PRAGMA table_info( doctransaction );
##         returns :Driver not loaded Driver not loaded
.
.
.
---
Lots of these errors are thrown before the app is started.

AND, the main Apple menu is STILL NOT FUNCTIONING.

Greets,
Marko
Comment 1 Marko Käning 2013-01-05 12:20:20 UTC
I've just noticed that, although QSQLITE3 is listed as an available driver the necessary plugin wasn't installed. After doing so that problem was solved.