bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'guix download' outputs a backtrace when daemon isn't running


From: Ludovic Courtès
Subject: Re: 'guix download' outputs a backtrace when daemon isn't running
Date: Mon, 22 Apr 2013 13:25:55 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

> # ./pre-inst-env guix download http://example.com
>
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 8 [catch #t #<catch-closure 8ab6ef0> ...]
> In unknown file:
>    ?: 7 [apply-smob/1 #<catch-closure 8ab6ef0>]
> In ice-9/boot-9.scm:
>   63: 6 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
>  432: 5 [eval # #]
> In ice-9/boot-9.scm:
> 2320: 4 [save-module-excursion #<procedure 8a48e80 at ice-9/boot-9.scm:3961:3 
> ()>]
> 3966: 3 [#<procedure 8a48e80 at ice-9/boot-9.scm:3961:3 ()>]
> In unknown file:
>    ?: 2 [load-compiled/vm 
> "/root/.cache/guile/ccache/2.0-LE-4-2.0/home/guix-test2/scripts/guix.go"]
> In guix/ui.scm:
>  419: 1 [guix-main "/home/guix-test2/scripts/guix" "download" 
> "http://example.com";]
> In unknown file:
>    ?: 0 [# "failed to connect to `~a': ~a~%" ...]
>
> ERROR: In procedure #<syntax-transformer leave>:
> ERROR: Wrong type to apply: #<syntax-transformer leave>

This indicates that the macro use wasn’t expanded, and we’re not trying
to apply the macro.

Fixed by commit b2a886f.  Within a file, macro definitions must appear
before they are used.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]