GNU bug report logs - #76040
Insufficient error message on scheme errors

Previous Next

Package: guix;

Reported by: "nomike (they/them)" <nomike <at> nomike.com>

Date: Tue, 4 Feb 2025 04:56:01 UTC

Severity: important

To reply to this bug, email your comments to 76040 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76040; Package guix. (Tue, 04 Feb 2025 04:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "nomike (they/them)" <nomike <at> nomike.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 04 Feb 2025 04:56:01 GMT) Full text and rfc822 format available.

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

From: "nomike (they/them)" <nomike <at> nomike.com>
To: bug-guix <at> gnu.org
Subject: Insufficient error message on scheme errors
Date: Tue, 4 Feb 2025 01:41:10 +0100
[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)]

Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 05 Feb 2025 10:14:02 GMT) Full text and rfc822 format available.

This bug report was last modified 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.