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

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

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

Bureau
Hello,
After migration from version 6.3.0 to version 6.4.0 or 7.0.0.beta,
I still see my thumbnails in digikam but I can no longer open them in
the preview window.
Showfoto doesn't work either.
I launched digikam (and showfoto) from a terminal and each time I try to
have a preview or open a photo I have a warning:

export QT_LOGGING_RULES="digikam*=true"
digikam

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

#######

export QT_LOGGING_RULES="showfoto*=true"
showfoto

digikam.showfoto: patterns= "*.bmp *.bw *.cur *.eps *.epsf *.epsi *.gif
*.hdr *.icns *.ico *.kra *.mng *.ora *.pbm *.pcx *.pgm *.pic *.png *.ppm
*.psd *.ras *.rgb *.rgba *.sgi *.svg *.svgz *.tga *.wbmp *.webp *.xbm
*.xcf *.xpm *.tiff *.tif *.jpg *.jpeg *.jpe *.jp2 *.j2k *.jpx *.pgx
*.pgf *.heic *.heif*.3fr *.arw *.bay *.bmq *.cine *.cr2 *.crw *.cs1
*.dc2 *.dcr *.dng *.erf *.fff *.hdr *.ia *.k25 *.kc2 *.kdc *.mdc *.mef
*.mos *.mrw *.nef *.nrw *.orf *.pef *.pxn *.qtk *.raf *.raw *.rdc *.rw2
*.rwl *.sr2 *.srf *.srw *.sti *.x3f  *.BMP *.BW *.CUR *.EPS *.EPSF
*.EPSI *.GIF *.HDR *.ICNS *.ICO *.KRA *.MNG *.ORA *.PBM *.PCX *.PGM
*.PIC *.PNG *.PPM *.PSD *.RAS *.RGB *.RGBA *.SGI *.SVG *.SVGZ *.TGA
*.WBMP *.WEBP *.XBM *.XCF *.XPM *.TIFF *.TIF *.JPG *.JPEG *.JPE *.JP2
*.J2K *.JPX *.PGX *.PGF *.HEIC *.HEIF*.3FR *.ARW *.BAY *.BMQ *.CINE
*.CR2 *.CRW *.CS1 *.DC2 *.DCR *.DNG *.ERF *.FFF *.HDR *.IA *.K25 *.KC2
*.KDC *.MDC *.MEF *.MOS *.MRW *.NEF *.NRW *.ORF *.PEF *.PXN *.QTK *.RAF
*.RAW *.RDC *.RW2 *.RWL *.SR2 *.SRF *.SRW *.STI *.X3F "
digikam.geoiface: ----
digikam.general: d->image is NULL
digikam.general: d->image is NULL


That is not only for *.JPG, other formats (*.png for exemple) give the
same message.

digikam was compiled under linux as follow :

cmake  -DCMAKE_INSTALL_PREFIX=/usr    \
        -DCMAKE_BUILD_TYPE=Release     \
        -DBUILD_TESTING=OFF            \
        -DENABLE_QWEBENGINE=ON         \
        -DENABLE_INTERNALMYSQL=OFF     \
-DImageMagick_Magick++_LIBRARY=/usr/lib/libMagick++-7.Q16HDRI.so \
        -Wno-dev

Resulting in the following :

-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Main one documentation directory is missing. Compilation of
documentation is disabled...
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files
from git repositories.
--
----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. YES
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... NO
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found KF5XmlGui: /usr/lib/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake
(found version "5.68.0")
-- Found KF5CoreAddons:
/usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version
"5.68.0")
-- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake
(found version "5.68.0")
-- Found KF5Service: /usr/lib/cmake/KF5Service/KF5ServiceConfig.cmake
(found version "5.68.0")
-- Found KF5WindowSystem:
/usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found
version "5.68.0")
-- Found KF5Solid: /usr/lib/cmake/KF5Solid/KF5SolidConfig.cmake (found
version "5.68.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found
version "5.68.0")
-- Found KF5: success (found suitable version "5.68.0", minimum required
is "5.1.0") found components: XmlGui CoreAddons Config Service
WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version
"5.68.0")
-- Found KF5IconThemes:
/usr/lib/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version
"5.68.0")
-- Found KF5FileMetaData:
/usr/lib/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found
version "5.68.0")
-- Found KF5ThreadWeaver:
/usr/lib/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found
version "5.68.0")
-- Found KF5NotifyConfig:
/usr/lib/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found
version "5.68.0")
-- Found KF5Notifications:
/usr/lib/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found
version "5.68.0")
-- Found KF5AkonadiContact:
/usr/lib/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found
version "5.13.3")
-- Found KF5Sane: /usr/lib/cmake/KF5Sane/KF5SaneConfig.cmake (found
version "5.55.0")
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake
nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore:
/usr/lib/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found
version "5.68.0")
-- KF5::KIOWidgets include dirs:
/usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/libjpeg.so (found version "62")
-- Libjpeg version: 62
-- Using libjpeg sub-directory: libjpeg/62
-- Found TIFF: /usr/lib/libtiff.so (found version "4.0.10")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.35")
-- Found Boost: /usr/include (found version "1.68.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/liblcms2.so
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.2.6")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking for module 'x265'
--   Found x265, version 2.8
-- Found X265: /usr/include
-- Checking for module 'libavcodec'
--   Found libavcodec, version 58.18.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 7.16.100
-- Checking for module 'libavformat'
--   Found libavformat, version 58.12.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 58.3.100
-- Checking for module 'libavutil'
--   Found libavutil, version 56.14.100
-- Checking for module 'libswscale'
--   Found libswscale, version 5.1.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 55.1.100
-- Found FFmpeg:
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so

-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include
-- FFMPEG_LIBRARIES    =
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /opt/qt5/lib/cmake
-- Could NOT find QtAV (missing: QTAV_LIBRARIES QTAV_INCLUDE_DIRS)
-- QtAV_FOUND       = FALSE
-- QtAV_INCLUDE_DIR = QTAV_CORE_INCLUDE_DIR-NOTFOUND
QTAV_WIDGETS_INCLUDE_DIR-NOTFOUND
-- QtAV_LIBRARIES   =
QTAV_CORE_LIBRARY-NOTFOUND;QTAV_WIDGETS_LIBRARY-NOTFOUND
-- QtAV_VERSION     =
-- Found OpenCV: /usr (found version "3.4.7") found components: core
objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.4.7 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   :
opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.5")
-- Found LibXslt: /usr/lib/libxslt.so (found version "1.1.32")
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.10")
-- Found Marble: /usr/include
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/libastro.so
-- Found Jasper: /usr/lib/libjasper.so (found version "2.0.14")
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
(Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/libOpenGL.so
-- FIND IMAGEMAGICK API Magick++
-- -DMAGICKCORE_HDRI_ENABLE=1
-- -DMAGICKCORE_QUANTUM_DEPTH=16
-- FIND IMAGEMAGICK API MagickCore
-- -DMAGICKCORE_HDRI_ENABLE=1
-- -DMAGICKCORE_QUANTUM_DEPTH=16
-- Found ImageMagick: /usr/lib/libMagick++-7.Q16HDRI.so (found version
"7.0.9-23")
-- ImageMagick_FOUND:                      TRUE
-- ImageMagick_VERSION_STRING:             7.0.9-23
-- ImageMagick_EXECUTABLE_DIR:             /usr/bin
-- ImageMagick_INCLUDE_DIRS: /usr/include/ImageMagick-7
-- ImageMagick_LIBRARIES:
/usr/lib/libMagick++-7.Q16HDRI.so;/usr/lib/libMagickCore-6.Q16HDRI.so
-- ImageMagick_DEFINITIONS:
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- ImageMagick_Magick++_INCLUDE_DIRS:    /usr/include/ImageMagick-7
-- ImageMagick_Magick++_LIBRARY: /usr/lib/libMagick++-7.Q16HDRI.so
-- ImageMagick_Magick++_DEFINITIONS:
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- ImageMagick_MagickCore_INCLUDE_DIRS: /usr/include/ImageMagick-7
-- ImageMagick_MagickCore_LIBRARY: /usr/lib/libMagickCore-6.Q16HDRI.so
-- ImageMagick_MagickCore_DEFINITIONS:
-DMAGICKCORE_HDRI_ENABLE=1;-DMAGICKCORE_QUANTUM_DEPTH=16
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Checking for module 'lqr-1'
--   No package 'lqr-1' found
-- Could NOT find Lqr-1 (missing: LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
-- Could NOT find Gphoto2 (missing: GPHOTO2_LIBRARY GPHOTO2_INCLUDE_DIRS)
-- libgphoto2 found    : FALSE
-- libgphoto2 version  :
-- libgphoto2 includes : GPHOTO2_INCLUDE_DIRS-NOTFOUND
-- libgphoto2 libraries:
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.95.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.95.0")
-- liblensfun: Found version 0.3.95.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- Looking for OpenMP
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found with CXX flags: -fopenmp
-- RawEngine will be compiled with OpenMP support
-- RawEngine will be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will not be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
--
----------------------------------------------------------------------------------
--  digiKam 6.4.0 dependencies results <https://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. NO  (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... NO  (optional)
--  QWebEngine Support will be compiled...... YES (optional)
--  FacesEngine DNN Support will be compiled. YES (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... YES
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ NO  (optional)
--  digiKam will be compiled without API documentation building support.
--  Please install the doxygen (version >= 1.8.0) development package.
--
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libmagick++ found........................ YES (optional)
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.
--
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  libjasper found.......................... YES (optional)
--  libkcalendarcore found................... YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development
package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... YES (optional)
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... NO  (optional)
--  digiKam will be compiled without Contents Aware Resizer tool support.
--  Please install the liblqr-1 (version >= 0.4.1) development package.
--
--  libmarble found.......................... YES (optional)
--  libqtav found............................ NO  (optional)
--  digiKam will be compiled without Media Player support.
--  Please install the libqtav (version >= 1.12.0) development package.
--
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  libx265 found............................ YES (optional)
--  OpenGL found............................. YES (optional)
--  digiKam can be compiled.................. YES
--
----------------------------------------------------------------------------------
--
-- Remove GCC compiler option -pedantic from /home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wdate-time from /home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wsuggest-override from
/home/lfs/digikam-6.4.0/core
-- Remove GCC compiler option -Wzero-as-null-pointer-constant from
/home/lfs/digikam-6.4.0/core
-- Disable GCC compiler option -Wno-deprecated-copy from
/home/lfs/digikam-6.4.0/core
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Disable GCC compiler option -Wno-deprecated from
/home/lfs/digikam-6.4.0/core/libs/metadataengine
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Remove GCC compiler option -Wextra from
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wundef from
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wall from
/home/lfs/digikam-6.4.0/core/libs/facesengine
-- Remove GCC compiler option -Wcast-align from
/home/lfs/digikam-6.4.0/core/libs/pgfutils
-- Remove GCC compiler option -Wzero-as-null-pointer-constant from
/home/lfs/digikam-6.4.0/core/libs/pgfutils
-- Remove GCC compiler option -pedantic from
/home/lfs/digikam-6.4.0/core/libs/dplugins/webservices
-- Remove GCC compiler option -Wundef from
/home/lfs/digikam-6.4.0/core/libs/rawengine
-- Remove GCC compiler option -Werror=return-type from
/home/lfs/digikam-6.4.0/core/libs/rawengine
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lfs/digikam-6.4.0/build

Thank for your help.

Alain



Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Maik Qualmann
The plugins are probably not found. Image loaders are now also plugins.

Activate debug output with:

export QT_LOGGING_RULES="digikam.*=true"

And post the console log from the start.

Maik

Am Dienstag, 31. März 2020, 21:06:16 CEST schrieb Bureau:

> Hello,
> After migration from version 6.3.0 to version 6.4.0 or 7.0.0.beta,
> I still see my thumbnails in digikam but I can no longer open them in
> the preview window.
> Showfoto doesn't work either.
> I launched digikam (and showfoto) from a terminal and each time I try to
> have a preview or open a photo I have a warning:
>
> export QT_LOGGING_RULES="digikam*=true"
> digikam
>
> 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
>
> #######
>
> export QT_LOGGING_RULES="showfoto*=true"
> showfoto
>
> digikam.showfoto: patterns= "*.bmp *.bw *.cur *.eps *.epsf *.epsi *.gif
> *.hdr *.icns *.ico *.kra *.mng *.ora *.pbm *.pcx *.pgm *.pic *.png *.ppm
> *.psd *.ras *.rgb *.rgba *.sgi *.svg *.svgz *.tga *.wbmp *.webp *.xbm
> *.xcf *.xpm *.tiff *.tif *.jpg *.jpeg *.jpe *.jp2 *.j2k *.jpx *.pgx
> *.pgf *.heic *.heif*.3fr *.arw *.bay *.bmq *.cine *.cr2 *.crw *.cs1
> *.dc2 *.dcr *.dng *.erf *.fff *.hdr *.ia *.k25 *.kc2 *.kdc *.mdc *.mef
> *.mos *.mrw *.nef *.nrw *.orf *.pef *.pxn *.qtk *.raf *.raw *.rdc *.rw2
> *.rwl *.sr2 *.srf *.srw *.sti *.x3f  *.BMP *.BW *.CUR *.EPS *.EPSF
> *.EPSI *.GIF *.HDR *.ICNS *.ICO *.KRA *.MNG *.ORA *.PBM *.PCX *.PGM
> *.PIC *.PNG *.PPM *.PSD *.RAS *.RGB *.RGBA *.SGI *.SVG *.SVGZ *.TGA
> *.WBMP *.WEBP *.XBM *.XCF *.XPM *.TIFF *.TIF *.JPG *.JPEG *.JPE *.JP2
> *.J2K *.JPX *.PGX *.PGF *.HEIC *.HEIF*.3FR *.ARW *.BAY *.BMQ *.CINE
> *.CR2 *.CRW *.CS1 *.DC2 *.DCR *.DNG *.ERF *.FFF *.HDR *.IA *.K25 *.KC2
> *.KDC *.MDC *.MEF *.MOS *.MRW *.NEF *.NRW *.ORF *.PEF *.PXN *.QTK *.RAF
> *.RAW *.RDC *.RW2 *.RWL *.SR2 *.SRF *.SRW *.STI *.X3F "
> digikam.geoiface: ----
> digikam.general: d->image is NULL
> digikam.general: d->image is NULL
>
>
> That is not only for *.JPG, other formats (*.png for exemple) give the
> same message.
>
> digikam was compiled under linux as follow :
>
> cmake  -DCMAKE_INSTALL_PREFIX=/usr    \
>         -DCMAKE_BUILD_TYPE=Release     \
>         -DBUILD_TESTING=OFF            \
>         -DENABLE_QWEBENGINE=ON         \
>         -DENABLE_INTERNALMYSQL=OFF     \
> -DImageMagick_Magick++_LIBRARY=/usr/lib/libMagick++-7.Q16HDRI.so \
>         -Wno-dev
>
> Resulting in the following :
>
> -- The C compiler identification is GNU 9.2.0
> -- The CXX compiler identification is GNU 9.2.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done




Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Alain Dumont
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

Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Bureau
In reply to this post by Maik Qualmann
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

Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Maik Qualmann
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




Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Gilles Caulier-4
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 <[hidden email]> 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
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Bureau
In reply to this post by Maik Qualmann
No, I did not use the bootstrap.linux command but directly cmake ../
But I just read this script and I got some interesting information from it.
With your help, I found two possible solutions:
1) including -DKDE_INSTALL_QTPLUGINDIR=/opt/qt5/plugins in my cmake ../
command, the DK plugins are installed in the Qt directory.
2) setting the variable DK_PLUGIN_PATH=/usr/lib/plugins/digikam before
launching DK works while keeping the DK plugins in the /usr directory.

I will think about the best solution.

Thank you very much for your help.

Best regards.

Alain


Reply | Threaded
Open this post in threaded view
|

Re: Digikam-6.4.0 or 7.0.0.beta give : Unknown image format !!!

Gilles Caulier-4
The 2) is more easy to test as it do not require recompilation...

Gilles Caulier

Le mer. 1 avr. 2020 à 08:08, Alain Dumont <[hidden email]> a écrit :

>
> No, I did not use the bootstrap.linux command but directly cmake ../
> But I just read this script and I got some interesting information from it.
> With your help, I found two possible solutions:
> 1) including -DKDE_INSTALL_QTPLUGINDIR=/opt/qt5/plugins in my cmake ../
> command, the DK plugins are installed in the Qt directory.
> 2) setting the variable DK_PLUGIN_PATH=/usr/lib/plugins/digikam before
> launching DK works while keeping the DK plugins in the /usr directory.
>
> I will think about the best solution.
>
> Thank you very much for your help.
>
> Best regards.
>
> Alain
>
>