From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-59760-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 4A0811381F3
	for <garchives@archives.gentoo.org>; Mon, 22 Apr 2013 09:11:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 984F4E0BF9;
	Mon, 22 Apr 2013 09:10:58 +0000 (UTC)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8497FE0BF6
	for <gentoo-dev@lists.gentoo.org>; Mon, 22 Apr 2013 09:10:57 +0000 (UTC)
Received: by mail-we0-f172.google.com with SMTP id r3so6051354wey.17
        for <gentoo-dev@lists.gentoo.org>; Mon, 22 Apr 2013 02:10:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:cc:content-type;
        bh=gPoIDlFjGfSPG5KhP6M15RXHLifKuro937GmXu03E0Y=;
        b=a1Idvv9VYpGIOr8HCbW+/z62bye6Lqu/0pI+vNFcz4w3NnGM4jBxjJOgCCK6lihvTO
         FBUfAjqJ05t/JlHxwhJqbbpPTBNhtKQo/5ohOje0Gqq87TajLu1m5V+nFU8iDMKcVCuL
         2n/ZSA9IzMVp5+DMIaMdxdjWKwrb6JC6+gn9OX7lJj1uddYbStkIcPr8prJGguBAEGuo
         KiCHk0VJHjRj9SDv7L7B71Qek5seOz6cZl7CupLMGjWRhHelSNP6Cg9jB4EDpTAlZhoe
         Mxy3UjDA2tj9NoNiMiLKEInG+WYpTf2qoOUotcqRQk8FVc+3M3x7kn5x+EjFXXXbO26N
         ckxQ==
X-Received: by 10.194.157.138 with SMTP id wm10mr50175597wjb.28.1366621853016;
 Mon, 22 Apr 2013 02:10:53 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Sender: markos.chandras@gmail.com
Received: by 10.194.139.168 with HTTP; Mon, 22 Apr 2013 02:10:12 -0700 (PDT)
In-Reply-To: <517442C6.4050900@gmail.com>
References: <51703A47.4060304@gentoo.org> <517442C6.4050900@gmail.com>
From: Markos Chandras <hwoarang@gentoo.org>
Date: Mon, 22 Apr 2013 10:10:12 +0100
X-Google-Sender-Auth: ChlX70NUdQJ0PPCLVScDPDwx690
Message-ID: <CAG2jQ8hV55D39frJFd1HGvM-rp4r6cs_BR=DDjxiXkFp_p2YBg@mail.gmail.com>
Subject: Re: [gentoo-dev] FYI: libpng16 break showfoto (digikam) png save
To: gentoo-dev <gentoo-dev@lists.gentoo.org>
Cc: Samuli Suominen <ssuominen@gentoo.org>
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 5b7892ba-a1b9-45a9-bd5c-1ad1085ad64b
X-Archives-Hash: 189cdcb637610ce93396e1a84128de05

On 21 April 2013 20:49, vivo75@gmail.com <vivo75@gmail.com> wrote:
> Hi Samuli,
>   while you're at it do you know what changed between 1.5 and 1.6 in
> ICC/color profiles land?
>
> In short digikam is now unable to save png files, I've yet do debug it
> so if there is some pointers that could shorten the discovery.
> The culprit seem to be "libpng error: profile 'icc': 1B0Ah: invalid
> length", and digikam/kipi plugins has been compiled yesterday from git.
>
> thanks
>
>
> showfoto(7331)/digikam (core) Digikam::EditorWindow::showFileSaveDialog:
> Writing file to
> KUrl("file:///home/vivo/docs/NIKON/2013/20130420-test/work/DSC_9665.png")
>
> showfoto(7331)/digikam (core)
> Digikam::EditorWindow::selectValidSavingFormat: Trying to find a saving
> format with filter =  "*" , targetUrl =
> KUrl("file:///home/vivo/docs/NIKON/2013/20130420-test/work/DSC_9665.png") ,
> autoFilter "*|All Files"
> showfoto(7331)/digikam (core)
> Digikam::EditorWindow::selectValidSavingFormat: KDE Offered types:
> ("xpm", "pgm", "pbm", "rgb", "rgba", "bw", "sgi", "tga", "xv", "ppm",
> "bmp", "pic", "eps", "epsi", "epsf", "jp2", "mng", "tiff", "tif", "png",
> "jpeg", "jpg", "pcx", "xbm")
> showfoto(7331)/digikam (core)
> Digikam::EditorWindow::selectValidSavingFormat: Writable formats:
> ("xpm", "pgm", "pbm", "rgb", "rgba", "bw", "sgi", "tga", "xv", "ppm",
> "bmp", "pic", "eps", "epsi", "epsf", "jp2", "mng", "tiff", "tif", "png",
> "jpeg", "jpg", "pcx", "xbm", "TIF", "TIFF", "JPG", "JPEG", "JPE", "J2K",
> "JP2", "PGF")
> showfoto(7331)/digikam (core)
> Digikam::EditorWindow::selectValidSavingFormat: Possible format from
> local file:  "png"
> showfoto(7331)/digikam (core)
> Digikam::EditorWindow::selectValidSavingFormat: Using format from target
> url  "png"
>
> showfoto(7331)/digikam (core) Digikam::EditorCore::Private::saveAs:
> Saving to :
> "/home/vivo/docs/NIKON/2013/20130420-test/work/EditorWindow-Ly7331.digikamtempfile.png"
> ( "png" )
> showfoto(7331)/digikam (core) Digikam::EditorCore::Private::saveNext:
> Saving file
> "/home/vivo/docs/NIKON/2013/20130420-test/work/EditorWindow-Ly7331.digikamtempfile.png"
> at -1
>
> showfoto(7331)/digikam (core) Digikam::PNGLoader::save: DImg quality
> level:  1
> showfoto(7331)/digikam (core) Digikam::PNGLoader::save: PNG compression
> level:  9
> libpng error: profile 'icc': 1B0Ah: invalid length
>
> showfoto(7331)/digikam (core) Digikam::PNGLoader::save: Internal libPNG
> error during writing file. Process aborted!
> showfoto(7331)/digikam (core) Digikam::EditorCore::slotImageSaved: error
> saving image '
> /home/vivo/docs/NIKON/2013/20130420-test/work/EditorWindow-Ly7331.digikamtempfile.png
> showfoto(7331)/digikam (core) Digikam::EditorWindow::slotSavingFinished:
> "/home/vivo/docs/NIKON/2013/20130420-test/work/EditorWindow-Ly7331.digikamtempfile.png"
> false true
>
>

Hi,

I've no idea what the problem is, but what is wrong with the old
traditional way of filing bugs in https://bugs.gentoo.org ?

--
Regards,
Markos Chandras - Gentoo Linux Developer
http://dev.gentoo.org/~hwoarang