From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#32895: file progress reporter crashes on small files Date: Tue, 02 Oct 2018 14:34:50 +0200 Message-ID: <8736too7bp.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7JuK-00035D-Vo for bug-guix@gnu.org; Tue, 02 Oct 2018 08:36:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7JuG-0001Yd-QS for bug-guix@gnu.org; Tue, 02 Oct 2018 08:36:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7JuE-0001Y5-CG for bug-guix@gnu.org; Tue, 02 Oct 2018 08:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7JuE-0004jL-8L for bug-guix@gnu.org; Tue, 02 Oct 2018 08:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Ricardo Wurmus's message of "Mon, 1 Oct 2018 16:16:31 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 32895@debbugs.gnu.org Hello, Ricardo Wurmus skribis: > guix/progress.scm:214:25: In procedure display-download-progress: > In procedure /: Wrong type argument in position 1: #f > > This happens because =E2=80=9Ctransferred=E2=80=9D in the =E2=80=9Celse= =E2=80=9D branch of (@ (guix > progress) display-download-progress) is #f instead of a number. This > could be the result of running string->number on an invalid string in > =E2=80=9Cprint-build-event=E2=80=9D. Indeed, that seems to be the case. This would mean we=E2=80=99re emitting = an incorrect build trace. Do you have the exact command to reproduce it? Thanks, Ludo=E2=80=99.