From: ludo@gnu.org (Ludovic Courtès)
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: manifest load error report.
Date: Fri, 17 Nov 2017 22:17:51 +0100 [thread overview]
Message-ID: <87375c38qo.fsf@gnu.org> (raw)
In-Reply-To: <87k1yu9vyw.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 13 Nov 2017 13:58:15 +0100")
Hi,
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> When loading a manifest with an obvious error like "definee
> packages-list" instead of "define package-list", no error is reported,
> the "guix package -m manifest.scm command just exit with error 1.
Really? I have this:
--8<---------------cut here---------------start------------->8---
$ guix package -m ~/t.scm
guix package: error: failed to load '/home/ludo/t.scm':
/home/ludo/t.scm:1:0: /home/ludo/t.scm:1:0: In procedure module-lookup: Unbound variable: definieee
$ cat ~/t.scm
(definieee foo bar)
--8<---------------cut here---------------end--------------->8---
> When using load instead of load* in a guile repl, the error is correctly
> reported :
>
> /home/mathieu/manifest.scm:1:0: /home/mathieu/manifest.scm:1:0: definee: unbound variable
>
> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
>
> Pusing a bit the investigation, it seems that in the pre-unwind-handler
> of load* in (guix ui), the "make-stack" call returns #f.
When ‘make-stack’ returns #f, that’s OK: it just means we won’t be able
to display a backtrace.
HTH,
Ludo’.
prev parent reply other threads:[~2017-11-17 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 12:58 manifest load error report Mathieu Othacehe
2017-11-17 21:17 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87375c38qo.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=m.othacehe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.