[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exception from inside false-if-exception?
From: |
Christopher Baines |
Subject: |
Re: exception from inside false-if-exception? |
Date: |
Mon, 29 Apr 2024 15:22:46 +0100 |
User-agent: |
mu4e 1.12.2; emacs 29.3 |
Attila Lendvai <attila@lendvai.name> writes:
> dear fellow Guilers,
>
> context:
> --------
>
> i'm working on shepherd (with several non-trivial local commits). its
> test suite runs clean from a shell, but fails when i try to
> `./pre-inst-env guix build -K shepherd@0.10.99-git`.
>
>
> the sympthom:
> -------------
>
> COLUMNS is not set in the guix build env, and the basic.sh test fails with
> the following exception/backtrace in the test log:
>
> [...]
> In ice-9/boot-9.scm:
> 1747:15 8 (with-exception-handler [...])
> In shepherd/support.scm:
> 613:9 7 (_ . _)
> In unknown file:
> 6 (display-backtrace [...])
> In system/repl/debug.scm:
> 148:36 5 (print-frames [...])
> In ice-9/boot-9.scm:
> 2137:6 4 (_)
> 1747:15 3 (with-exception-handler [...])
> In system/repl/debug.scm:
> 72:40 2 (_)
> In ice-9/boot-9.scm:
> 1685:16 1 (raise-exception _ #:continuable? _)
> 1683:16 0 (raise-exception _ #:continuable? _)
> ice-9/boot-9.scm:1683:16: In procedure raise-exception:
> In procedure string->number: Wrong type argument in position 1 (expecting
> string): #f
>
> the expression pointed to by debug.scm,72:40 is this:
>
> (false-if-exception (string->number (getenv "COLUMNS")))
I think I've had similar problems in the past, I did fine this IRC
conversation:
https://logs.guix.gnu.org/guile/2021-01-19.log#204926
signature.asc
Description: PGP signature