Hi,

Results of investigating this issue and a proposed solution
are shared below, I hope this helps to close this bug.

How to reproduce:

1. Install Debian testing (Wheeze) with network install;
   select the Xfce desktop environment; install only
   desktop environment, laptop and, system tools
   categories (No server packages).

2. apt-get install fritzing

3. run Fritzing in a terminal:

    pp@od:~$ Fritzing 
    QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers: QMYSQL3 QMYSQL
    QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers: QMYSQL3 QMYSQL
    QSqlDatabasePrivate::addDatabase: duplicate connection name 
'qt_sql_default_connection', old connection removed.
    QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers: QMYSQL3 QMYSQL
    QSqlDatabasePrivate::addDatabase: duplicate connection name 
'qt_sql_default_connection', old connection removed.
    QSqlQuery::prepare: database not open
    ...

4. The "problem with the swapping mechanism"... dialog is shown.

How to fix:

5. apt-get install libqt4-sql-sqlite

6. Fritzing now runs fine. 

Root cause: Fritzing requires the sqlite plugin for
libqt4-sql [1], but the dependencies include libqt4-sql only,
not the libqt4-sql-sqlite package.  In some debian installations,
another package has alreay required libqt4-sql-sqlite and
the problem does not show there.

In a friend's laptop with OpenSUSE, rpm -q -R fritzing
shows libqt4-sql-sqlite in the dependencies in addition
to libqt4-sql.

Proposed solution:

Update the fritzing package to include libqt4-sql-sqlite
in the dependencies.

-- 
Regards,
Patricio

[1] 
https://code.google.com/p/fritzing/source/browse/trunk/fritzing/src/referencemodel/sqlitereferencemodel.cpp#168

Use of sqlite is also mentioned here:
http://fritzing.org/developer/programmer-intro/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to