GNU bug report logs

#76040 Insufficient error message on scheme errors

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 04:55:16 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 03 23:55:16 2025
Received: from localhost ([127.0.0.1]:42182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1tfAxv-0005Ov-4Q
	for submit@debbugs.gnu.org; Mon, 03 Feb 2025 23:55:16 -0500
Received: from lists.gnu.org ([2001:470:142::17]:36902)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@nomike.com>) id 1tf70N-0001tg-NG
 for submit@debbugs.gnu.org; Mon, 03 Feb 2025 19:41:32 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@nomike.com>) id 1tf70G-0002fM-8X
 for bug-guix@gnu.org; Mon, 03 Feb 2025 19:41:25 -0500
Received: from baboon.oak.relay.mailchannels.net ([23.83.215.8])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@nomike.com>) id 1tf70C-0001yW-Bt
 for bug-guix@gnu.org; Mon, 03 Feb 2025 19:41:23 -0500
X-Sender-Id: dreamhost|x-authsender|nomike@nomike.com
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 4359A181FE6
 for <bug-guix@gnu.org>; Tue,  4 Feb 2025 00:41:15 +0000 (UTC)
Received: from pdx1-sub0-mail-a203.dreamhost.com
 (trex-0.trex.outbound.svc.cluster.local [100.121.114.237])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id D7464182F2D
 for <bug-guix@gnu.org>; Tue,  4 Feb 2025 00:41:14 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1738629674; a=rsa-sha256;
 cv=none;
 b=BkYzS1qfUFHniTZEHJxbW5LS8Mv9JJL5JNqR3S45TK1fEvKPC0nDNrfxhkIePSRHY8ATnA
 N29S4vLzfQnAKxkf3kCe4hWpBnc78I35AEXWd/n85INwV8Fzp4OONxFSUVszkVBR4mMTjF
 gIgshWMJ9wfXCpnHDd8sNGsFwQ2K5rho1D6Qi+zAycKfxUmortan5eBuWzZJnzctcM81iW
 hKGyKbkd2vMw0KjQyG2vUSwT9WhR8JKPSBXfV/zTajF8cz9UGH7y2tUtiMfUNxoYJ0ggxd
 tMkqnANDvZAyZyPMymlcVLVWtEsF8zBTCvBK2kiDfqK3FDrbf3ImERL0sadA2g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1738629674;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 dkim-signature; bh=XcUZNo/VUD+bHSRwY/SvuTBy3+k9HCCBfWUSG6oIs6A=;
 b=NY6tuUxN21ZrLS+WyJdPDELarhimRT/SE2OL1+okTy+qgyxx0ahJ7RjXRCUBEOkx5Of9DI
 9t/JSVm+rFyszbyRsCHZIKuoD+Fey1JLWMGXus60ltk0GuSHspiQ6tLPewKo+ScK8roJ/e
 OJiOMAMnC5SZh8abu+L3zMEdU0VXdzgeCDOiZRbnn+8vvja1QXtiLyawv4SaKwOnjtNJsH
 26HUZ/+pyY2O9zcWx+lSyFRFcOzBoP5Iywk/NFSe1lEGJU+h0kF8QZrsL6RDdX3zgmA2IZ
 yOh3WWTXtFM+dE6RM7Q0P/uLLaltk6QSZHr9BgC2zj/B8la73rGpVomfjMQ2gw==
ARC-Authentication-Results: i=1; rspamd-854f7f575d-h8thh;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@nomike.com
X-Sender-Id: dreamhost|x-authsender|nomike@nomike.com
X-MC-Relay: Junk
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@nomike.com
X-MailChannels-Auth-Id: dreamhost
X-Celery-Unite: 66a93c6757699c8f_1738629675100_133871951
X-MC-Loop-Signature: 1738629675100:832190143
X-MC-Ingress-Time: 1738629675099
Received: from pdx1-sub0-mail-a203.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.121.114.237 (trex/7.0.2); Tue, 04 Feb 2025 00:41:15 +0000
Received: from [10.31.0.156] (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 (Authenticated sender: nomike@nomike.com)
 by pdx1-sub0-mail-a203.dreamhost.com (Postfix) with ESMTPSA id 4Yn4L22mf6z86
 for <bug-guix@gnu.org>; Mon,  3 Feb 2025 16:41:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1738629674;
 bh=XWzT2GUc8L+0yHcmHzRUWqYBX0AG+yKRzezNHw1qtdM=;
 h=Content-Type:Date:To:From:Subject;
 b=YY9EyONqueLJ05dsJOlAEowTdh0NdRo39nN/ECmYDKhs4yZ3HY7h/1bfICC4X25sy
 y8k0CDOQ/ad7QmpdODfE/XDrfvQ6WgHWhbJVR8hDNY5MNsvS9oBY1PQfoeVKRzf6cs
 Ug9zbs00VxjT3UB3+WrF8+LgarD89ZyCTHzyR//20euYXc4WC7nDt8c0lVeeZLM5+e
 4xnr4F5vTr+y6nMf4ULJzjPBtBnMzUi0jnhxcCwrX8+vJiBJGBIPISQ7zEpFm+yh8I
 t8P0MA+zL/c5KAUKjOQOCbLpfhyIRldCg15UjVZZPPARu1sAA41Dtu1/Oi1dGjkkQu
 Sgs5vGZ+2x4Ew==
Content-Type: multipart/mixed; boundary="------------qAYXErCvIJTaLe00X468N0iN"
Message-ID: <647df585-0bff-41ab-98f9-38bc43e774ca@nomike.com>
Date: Tue, 4 Feb 2025 01:41:10 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: bug-guix@gnu.org
Content-Language: en-US
From: "nomike (they/them)" <nomike@nomike.com>
Subject: Insufficient error message on scheme errors
Received-SPF: pass client-ip=23.83.215.8; envelope-from=nomike@nomike.com;
 helo=baboon.oak.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 03 Feb 2025 23:55:13 -0500
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
[Message part 1 (text/plain, inline)]
The logging for guile errors is not sufficient when running `guix home 
reconfigure`.

If you run the small self-contained example I've attached, the following 
warning will be printed to the terminal:

> guix home: warning: unknown keyword or bad argument

There is an error in `prusa-slicer.scm`. If you rename it to 
`prusa-slicer.scm~`, the warning is gone.

The bug here is, that the error message is very generic and doesn't tell 
me what's going on. Via trial and error I can try renaming scheme files, 
comment out sections of code, etc. and eventually track down the area of 
the issue and then maybe spot the error there, but IMHO guix should 
print more info to the terminal.

Something like this for example:

> guix home: warning: unknown keyword or bad argument 'foobar' in 
./prusa-slicer.scm:12

would be much more helpful. Especially for noobs like me.

PS: This is not about the issue with `prusa-slicer.scm`, I know it's 
wrong and bullshit ;-).
[guile-logging-bug.tar.bz2 (application/x-bzip, attachment)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 12:07:03 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.