[digiKam-users] Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Gilles Caulier caulier.gilles at gmail.com
Wed Apr 1 05:51:16 BST 2020


It'q clear :

digikam.general: Starting to load external tools.
digikam.general: Parsing plugins from "/opt/qt5/plugins/digikam/"
digikam.general: Plugins found: 0
digikam.general: No plugins loaded. Please check if the plugins were
installed in the correct path, or if any errors occurred while loading
plugins.
digikam.general: void Digikam::DPluginLoader::Private::loadPlugins()
Time elapsed: 0 ms

in the path, no shared files are fond as plugins (.so)

Look in source code how is determined this path :

https://invent.kde.org/kde/digikam/-/blob/master/core/libs/dplugins/setup/dpluginloader_p.cpp#L59

Two ways are possible : an environment variable : DK_PLUGIN_PATH or
the Qt plugin path set in your system.

The 2nd solution is used in your case which want mean a mess in your
Qt configuration.

You can solve your problem to setup the DK_PLUGIN_PATH bash variable
before to run digiKam...

About the way proposed by Maik to check the bootstrap.sh script to
configure the compilation with cmake, look here :

https://invent.kde.org/kde/digikam/-/blob/master/bootstrap.linux#L49

So, there is a detection of this Qt plugins path using qtpaths
executable provided by your system...

Best

Gilles Caulier

Le mer. 1 avr. 2020 à 06:33, Maik Qualmann <metzpinguin at gmail.com> a écrit :
>
> Did you use bootstrap.linux to configure your build? If not, remove the build
> folder, possibly adjust the CMake Options in the bootstrap.linux and run them.
> In the file you can also see how the plugin folder is set.
>
> Maik
>
> Am Mittwoch, 1. April 2020, 00:13:16 CEST schrieb Bureau:
> > Dear Maik, thanks for very quick answer,
> >
> > Now Digicam is compiled with -DCMAKE_BUILD_TYPE=Debug
> >
> > You are right, running digikam says:
> > digikam.general: Parsing plugins from "/opt/qt5/plugins/digikam/"
> > digikam.general: Plugins found: 0
> > digikam.general: No plugins loaded. Please check if the plugins were
> > installed in the correct path, or if any errors occurred while loading
> > plugins.
> >
> > The directory /opt/qt5/plugins/digikam doesn't exist on my system
> > (qt-5.12.7, but it is the same with qt-5.14.1)
> >
> > I realized that digikam installs its plugins in /usr/lib/plugins/digikam/*
> > so, I made a symlik : ln -vs /opt/qt5/plugins/digikam ->
> > /usr/lib/plugins/digikam
> > and now all is working well !!
> >
> > How can I compile digikam so that it searches for plugins in
> > /usr/lib/plugins/digikam rather than in /opt/qt5/plugins ?
> > I don't find anything about this in ccmake ..
> >
> > Thanks for your help.
> > Best regards.
> > Alain
> >
> >
> > By the way, here is the full log of the debug release :
> > export QT_LOGGING_RULES="digikam*=true"
> > digikam
> >
> > Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication
> > is created.
> > digikam.widgets: Use installed icons
> > digikam.general: Switch to widget style:  "Fusion"
> > digikam.general: Switch to application font:  QFont( "Noto
> > Sans,10,-1,0,50,0,0,0,0,0" )
> > digikam.general: AlbumWatch is disabled
> > digikam.general: Database Parameters:
> >     Type:                     "QSQLITE"
> >     DB Core Name:             "/pub/multimedia/album/digikam4.db"
> >     DB Thumbs Name: "/pub/multimedia/album/thumbnails-digikam.db"
> >     DB Face Name: "/pub/multimedia/album/recognition.db"
> >     DB Similarity Name:       "/pub/multimedia/album/similarity.db"
> >     Connect Options:          ""
> >     Host Name:                ""
> >     Host port:                -1
> >     Internal Server:          false
> >     Internal Server Path:     ""
> >     Internal Server Serv Cmd: ""
> >     Internal Server Init Cmd: ""
> >     Username:                 ""
> >     Password:                 ""
> >
> > digikam.dbengine: Loading SQL code from config file
> > "/usr/share/digikam/database/dbconfig.xml"
> > digikam.dbengine: Checking XML version ID => expected:  3 found:  3
> > digikam.coredb: Core database: running schema update
> > digikam.coredb: Core database: have a structure version  10
> > digikam.coredb: Core database: makeUpdates  10  to  10
> > digikam.database: Creating new Location  "/multimedia/album" uuid
> > "volumeid:?uuid=76c91ffe-82bc-45cc-a5b8-76644f4eb82e"
> > digikam.database: location for  "/pub/multimedia/album"  is available  true
> > KMemoryInfo: Platform identified :  "LINUX"
> > KMemoryInfo: TotalRam:  16739758080
> > digikam.general: Allowing a cache size of 200 MB
> > digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
> > digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
> > digikam.thumbsdb: Thumbs database: have a structure version  "3"
> > digikam.general: Thumbnails database ready for use
> > digikam.similaritydb: SimilarityDb SelectSimilaritySetting val ret =  0
> > digikam.similaritydb: SimilarityDb SelectSimilaritySetting val ret =  0
> > digikam.similaritydb: Similarity database: have a structure version  "1"
> > digikam.similaritydb: Similarity database ready for use
> > digikam.dimg: ("/usr/share/color/icc")
> > digikam.general: Does not contain  "Comment"  Namespace
> > digikam.dimg: No X.org XICC profile installed for screen  0
> > digikam.general: Camera XML data:
> > "/home/alain/.local/share/digikam/cameras.xml"
> > digikam.general: Starting to load external tools.
> > digikam.general: Parsing plugins from "/opt/qt5/plugins/digikam/"
> > digikam.general: Plugins found: 0
> > digikam.general: No plugins loaded. Please check if the plugins were
> > installed in the correct path, or if any errors occurred while loading
> > plugins.
> > digikam.general: void Digikam::DPluginLoader::Private::loadPlugins()
> > Time elapsed: 0 ms
> > digikam.facedb: FaceDB SelectFaceSetting val ret =  0
> > digikam.facedb: FaceDB SelectFaceSetting val ret =  0
> > digikam.facedb: Face database: have a structure version  "3"
> > digikam.facesengine: Face database ready for use
> > digikam.general: Face PipeLine: add database writer
> > digikam.general: Face PipeLine: add faces trainer
> > digikam.facesengine: Face database ready for use
> > digikam.general: Face PipeLine: add database writer
> > digikam.general: Face PipeLine: add faces trainer
> > digikam.geoiface: "setting backend marble"
> > digikam.general: Stacked View Mode :  0
> > digikam.geoiface: "setting backend marble"
> > digikam.geoiface: "setting backend marble"
> > digikam.general: "browse_album"
> > digikam.general: "browse_tag"
> > digikam.general: "browse_labels"
> > digikam.general: "browse_date"
> > digikam.general: "browse_timeline"
> > digikam.general: "browse_search"
> > digikam.general: "browse_fuzzysearch"
> > digikam.general: "browse_gpssearch"
> > digikam.general: "browse_people"
> > digikam.widgets: Paths to color scheme : ("/usr/share/digikam/colorschemes")
> > digikam.widgets: ""  ::  ""
> > digikam.widgets: ""  ::  ""
> > QFSFileEngine::open: No file name specified
> > kf5.kxmlgui: Unhandled container to remove :  Digikam::DigikamApp
> > QFSFileEngine::open: No file name specified
> > digikam.general: Using  8  CPU core to run threads
> > digikam.general: new search text settings: "" : hasResult = false ,
> > validRows = 0
> > QFSFileEngine::open: No file name specified
> > digikam.geoiface: ----
> > digikam.general: Added root album called:  "album"
> > digikam.general: Using  8  CPU core to run threads
> > digikam.general: Action Thread run  1  new jobs
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: ----
> > digikam.general: Stacked View Mode :  0
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: ----
> > digikam.geoiface: ----
> > digikam.general: Using  8  CPU core to run threads
> > digikam.general: Action Thread run  1  new jobs
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: ----
> > digikam.geoiface: ----
> > digikam.general: One job is done
> > digikam.general: Cancel Main Thread
> > digikam.general: One job is done
> > digikam.geoiface: "setting backend marble"
> > QFSFileEngine::open: No file name specified
> > QFSFileEngine::open: No file name specified
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: "setting backend marble"
> > digikam.facesengine: Face database ready for use
> > digikam.general: Face PipeLine: add database writer
> > digikam.general: Face PipeLine: add faces trainer
> > digikam.facesengine: Face database ready for use
> > digikam.general: Face PipeLine: add database writer
> > digikam.general: Face PipeLine: add faces trainer
> > digikam.geoiface: "setting backend marble"
> > QFSFileEngine::open: No file name specified
> > QFSFileEngine::open: No file name specified
> > digikam.geoiface: "ROADMAP"
> > digikam.geoiface: "ROADMAP"
> > digikam.general: Cancel Main Thread
> > digikam.general: Cancel Main Thread
> > digikam.general: scan mode: ScanDeferredFiles
> > digikam.general: total scan value :  1245
> > digikam.database: items to tag ()
> > digikam.database: Complete scan took: 34 msecs.
> > digikam.general: Event is dispatched to KDE desktop notifier
> > digikam.general: Try to get preview from
> > "/pub/multimedia/album/wissant/p5100273.jpg"
> > digikam.general: Preview quality:  0
> > digikam.general: Try to load DImg preview from:
> > "/pub/multimedia/album/wissant/p5100273.jpg"
> > digikam.dimg: "/pub/multimedia/album/wissant/p5100273.jpg" : Unknown
> > image format !!!
> > digikam.general: Cannot extract preview for
> > "/pub/multimedia/album/wissant/p5100273.jpg"
> > digikam.general: Stacked View Mode :  1
> > digikam.general: Stacked View Mode :  1
> > digikam.general: Testing  "mysql_install_db" ...
> > digikam.general: Found  "mysql_install_db"
> > digikam.general: Testing  "mysqld" ...
> > digikam.general: Testing  "mysqld" ...
> > digikam.general: Testing  "/usr/bin/mysqld" ...
> > digikam.general: All Binaries Found :  false
> > digikam.general: Testing  "/usr/sbin/mysqld" ...
> > digikam.general: Found  "/usr/sbin/mysqld"
> > digikam.general: All Binaries Found :  true
> > digikam.dimg: "/usr/share/digikam/data/sample-aix.png" : Unknown image
> > format !!!
> > QPainter::begin: Paint device returned engine == 0, type: 2
> > QPainter::begin: Paint device returned engine == 0, type: 2
> > QPainter::begin: Paint device returned engine == 0, type: 2
> > QPainter::begin: Paint device returned engine == 0, type: 2
> > digikam.general: new search text settings: "" : hasResult = true ,
> > validRows = 9
>
>
>
>


More information about the Digikam-users mailing list