[digiKam-users] Migration from 4.x to 5.x problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Migration from 4.x to 5.x problem

Chris Green
As I said elsewhere I have just upgraded my desktop system from
xubuntu 16.04 to xubuntu 18.04.  Digikam is thus upgraded from 4.12 to
5.6.

It now fails to start, when run from the command line I see the
following:-

    chris$ digikam
    digikam.general: AlbumWatch use QFileSystemWatcher
    digikam.general: Database Parameters:
       Type:                     ""
       DB Core Name:             ""
       DB Thumbs Name:           ""
       DB Face Name:             ""
       Connect Options:          ""
       Host Name:                ""
       Host port:                -1
       Internal Server:          false
       Internal Server Path:     "/home/chris/.local/share/digikam/"
       Internal Server Serv Cmd: "mysqld"
       Internal Server Init Cmd: "mysql_install_db"
       Username:                 ""
       Password:                 ""

    QSqlDatabase:  driver not loaded
    QSqlDatabase: available drivers: QSQLITE
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]


I can't find anything like 'qsql' in the ubuntu repository, so what might I be missing, or
what else do I need to do to fix things?


--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: Migration from 4.x to 5.x problem

Gilles Caulier-4
Your package have a problem with missing Qt dependencies about sql plugin.

Try the last 6.0.0 pre-release AppImage instead available here :


Gilles Caulier

2018-08-15 19:13 GMT+02:00 Chris Green <[hidden email]>:
As I said elsewhere I have just upgraded my desktop system from
xubuntu 16.04 to xubuntu 18.04.  Digikam is thus upgraded from 4.12 to
5.6.

It now fails to start, when run from the command line I see the
following:-

    chris$ digikam
    digikam.general: AlbumWatch use QFileSystemWatcher
    digikam.general: Database Parameters:
       Type:                     ""
       DB Core Name:             ""
       DB Thumbs Name:           ""
       DB Face Name:             ""
       Connect Options:          ""
       Host Name:                ""
       Host port:                -1
       Internal Server:          false
       Internal Server Path:     "/home/chris/.local/share/digikam/"
       Internal Server Serv Cmd: "mysqld"
       Internal Server Init Cmd: "mysql_install_db"
       Username:                 ""
       Password:                 ""

    QSqlDatabase:  driver not loaded
    QSqlDatabase: available drivers: QSQLITE
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]
    digikam.dbengine: Error while opening the database. Error details [ QSqlError("", "Driver not loaded", "Driver not loaded") ]


I can't find anything like 'qsql' in the ubuntu repository, so what might I be missing, or
what else do I need to do to fix things?


--
Chris Green
·