Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] darktable, digikam, exiv2 ->???
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1145
Location: Eppingen, Germany

PostPosted: Fri Feb 22, 2019 7:21 am    Post subject: [gelöst] darktable, digikam, exiv2 ->??? Reply with quote

Guten Morgen zusammen,

anscheinend ist mir wieder etwas durcheinander geraten. Wenn ich aus digikam heraus raws mit darktable bearbeite und anschließend in das Verzeichnis als png "zurück"exportiere zeigt digikam die Dateien nicht an. Auch aktualisieren hilft nicht weiter. In der Konsole sieht das so aus:

Code:
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27631796224  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27630780416  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27630018560  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : PNG file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: AvailableRam:  27629383680  (cache:  2551300096 )
KMemoryInfo: AvailableSwap:  536866816
libpng error: IDAT: CRC error
digikam.dimg.png: Internal libPNG error during reading file. Process aborted!
digikam.dimg: "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"  : QIMAGE file identified
libpng warning: iCCP: profile 'ICC PROFILE': 40ECB7F6h: exceeds application limits
libpng warning: iCCP: CRC error
libpng error: IDAT: CRC error
digikam.dimg.qimage: Can not load " "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG" " using DImg::QImageLoader!
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: mimetype =  "PNG"  ext =  "PNG"
digikam.general: Cannot load video preview for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Video support is not available
digikam.general: Cannot create thumbnail for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"
digikam.general: Thumbnail is null for "/home/uhai/NAS/Fotos/2018/2018-04-06/2018-04-06_07-00-43_v1.PNG"


Gleichzeitig bricht mein update world immer bei darktable ab mit einem Hinweis auf exiv2:

Code:
/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc: In function ‘char* dt_exif_xmp_read_string(int)’:
/tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:2558:71: error: no matching function for call to ‘Exiv2::BasicError<char>::BasicError(int, const char [41])’
       throw Exiv2::Error(1, "[xmp_write] failed to serialize xmp data");
                                                                       ^
In file included from /usr/include/exiv2/iptc.hpp:34:0,
                 from /usr/include/exiv2/bmpimage.hpp:33,
                 from /usr/include/exiv2/exiv2.hpp:35,
                 from /tmp/portage/media-gfx/darktable-2.4.3/work/darktable-2.4.3/src/common/exif.cc:44:
/usr/include/exiv2/error.hpp:280:9: note: candidate: template<class A, class B, class C> Exiv2::BasicError<charT>::BasicError(Exiv2::ErrorCode, const A&, const B&, const C&)
         BasicError(ErrorCode code, const A& arg1, const B& arg2, const C& arg3);


Von der digikam-Mailing-list habe ich folgenden Hinweis erhalten:

Code:
This problem comes from a buggy version of Exiv2-0.26 / 0.27. The problem will
not be resolved until Exiv2 > 0.27. This also affects Darktable when you write
metadata in PNG files. At the moment I am considering to handle digiKam PNG
files like RAW files. At the moment I can only advise against writing metadata
in PNG files. The ICC profile can be destroyed if the profile name is
different from the standard.

https://bugs.kde.org/show_bug.cgi?id=401970
https://github.com/Exiv2/exiv2/issues/5


Bei mir ist exiv2 so installiert:

Code:
eix -I exiv2
[I] media-gfx/exiv2
     Verfügbare Versionen:   0.26_p20180811-r3(0/26) 0.27.0-r2(0/27) {doc examples nls (+)png webready (+)xmp ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installierte Versionen: 0.27.0-r2(0/27)(21:02:22 20.02.2019)(nls png xmp -doc -examples -webready ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Startseite:             http://www.exiv2.org/
     Beschreibung:           EXIF, IPTC and XMP metadata C++ library and command line utility


Hat jemand das gleiche Problem und evtl. schon eine Lösung? Oder müssen wir warten, dis zum exiv2-0.27.1 am ..wie im github-Bug beschrieben?

uhai
_________________
Asus 4A785TD-M EVO mit AMD Phenom(tm) II X4 945
Dell Mini 10v
http://www.openstreetmap.org


Last edited by uhai on Sat Feb 23, 2019 10:54 am; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Advocate
Advocate


Joined: 31 Oct 2002
Posts: 4438

PostPosted: Fri Feb 22, 2019 7:27 am    Post subject: Reply with quote

Da ich darktable nicht verwende habe ich das Problem nicht.
Aber einen möglichen Workaround (der gleiche der dir schon auf der digikam ml gegeben wurde):
Disable das schreiben von metadaten in darktable wenn als png gespeichert werden soll.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1145
Location: Eppingen, Germany

PostPosted: Sat Feb 23, 2019 9:59 am    Post subject: Reply with quote

Ich habe da noch einen "Bug" gefunden:

Anscheinend geht es mit darktable-2.6.0 - ich probier das mal aus.... => hat geklappt, mit darktable-2.6.0 klappt es wieder.

Die Einstellungen um den Export ohne exiv-Daten zu machen habe ich nicht gefunden. eigentlich will ich das auch nicht, weil ich sonst die Daten später irgendwie in den Bildern ergänzen muss....


Uwe
_________________
Asus 4A785TD-M EVO mit AMD Phenom(tm) II X4 945
Dell Mini 10v
http://www.openstreetmap.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum