"guix home describe" backtraces if "guix home" hasn't been used

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Maxime Devos
  • Xinglu Chen
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 2 Oct 2021 21:51
(address . bug-guix@gnu.org)
8a0ad7369a557a7b4da2a222ba10b5bb83c6fb01.camel@telenet.be
Hi,

When running "guix home describe" before "guix home import"
and before "guix build":

$ guix home describe
Backtrace:
7 (primitive-load "/home/[...]/.config/guix/current/b…")
In guix/ui.scm:
2185:7 6 (run-guix . _)
2148:10 5 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
820:3 3 (_)
800:4 2 (call-with-status-report _ _)
In guix/scripts/home.scm:
263:8 1 (_)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no home environment generation, nothing to describe~%

I don't think a backtrace is needed here.

Greetings,
Maxime
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVi4MRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kV6AQC+VOXxbKc8BlkcVHF77BXAdxqk
pHZ+Y+yihKM9hxcN/gEA5aXoBQOKYCm9rzRNL8qX4UOaf+Jws9Mv1+UflO3pXgI=
=VDuV
-----END PGP SIGNATURE-----


X
X
Xinglu Chen wrote on 2 Oct 2021 22:48
8735pjnoel.fsf@yoctocell.xyz
On Sat, Oct 02 2021, Maxime Devos wrote:

Toggle quote (26 lines)
> Hi,
>
> When running "guix home describe" before "guix home import"
> and before "guix build":
>
> $ guix home describe
> Backtrace:
> 7 (primitive-load "/home/[...]/.config/guix/current/b…")
> In guix/ui.scm:
> 2185:7 6 (run-guix . _)
> 2148:10 5 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/status.scm:
> 820:3 3 (_)
> 800:4 2 (call-with-status-report _ _)
> In guix/scripts/home.scm:
> 263:8 1 (_)
> In ice-9/boot-9.scm:
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> no home environment generation, nothing to describe~%
>
> I don't think a backtrace is needed here.

This seems to be the case for ‘guix system describe’ too

Toggle snippet (19 lines)
$ guix system describe
Backtrace:
7 (primitive-load "/home/yoctocell/.config/guix/current/bin/guix")
In guix/ui.scm:
2185:7 6 (run-guix . _)
2148:10 5 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/status.scm:
820:3 3 (_)
800:4 2 (call-with-status-report _ _)
In guix/scripts/system.scm:
1310:8 1 (_)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no system generation, nothing to describe~%
-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFYxbIVHHB1YmxpY0B5
b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5OwsP/1cO2xD5MT1MWIhPsMq3zFGETshV
6745Zs4QLdZC5xiaItviedjzQcWQM6IuNwlmaPCR9JMJw3HnWjPEWXyJ4/Y8CQiI
6TuBICetEtjfJSrIiVivJeRDoCtTebX4IZsWaIi1CXHxcpY/aE2NZQWK1ABe8Tlo
47ItDgG0zUoJPuvgm+BRRnz3wV0oSDyXvDhl8InkP6iWXboiH8lbCxlIXg4rg434
emxhuI3r+R9gWp2UOoe3myr8gPdAE026RuBsUEuyRkYFNBnlvSPkYaV0vF4NSclP
u+jMGqH2lTq7vXxHkj52HBkErk69UDZL8Q0xWMMOXg1CnC9v3sepwVyei6NeM5oE
AfBMnjW3ZtKxLTmY9QXhPxvvzSBaq4tVxeXoAusy9IYIlriX/oXA37GruLhG/NjC
eWXgkoxrvWiX8RvFF/iLESn9V5ouL2K8BV5JnS7PI1VALMQampRw6r/iOdbNh4ID
KbmAhd1DabpfD/HMZfRQAJxH/ajH1UNvwJQLXegddd0Bi7SsbLxqY+jD/FdrNsNk
cN6ebz6TvLpuKxudyR35VgtPhqA/ugvzAdlVsT6mq5QQLxqyG4r1FvLTtJ501nnu
pVSAjOzfn7B+am3/be0hWJpge5ueVr7aVIhQgRgcMKKh3hXkBJAY+WZ9A1LAU1SF
oByYoaAdGzf+I2LP
=LlKY
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 11 Jan 2022 11:37
(name . Xinglu Chen)(address . public@yoctocell.xyz)
87sftuwoai.fsf@gnu.org
Hi,

Xinglu Chen <public@yoctocell.xyz> skribis:

Toggle quote (49 lines)
> On Sat, Oct 02 2021, Maxime Devos wrote:
>
>> Hi,
>>
>> When running "guix home describe" before "guix home import"
>> and before "guix build":
>>
>> $ guix home describe
>> Backtrace:
>> 7 (primitive-load "/home/[...]/.config/guix/current/b…")
>> In guix/ui.scm:
>> 2185:7 6 (run-guix . _)
>> 2148:10 5 (run-guix-command _ . _)
>> In ice-9/boot-9.scm:
>> 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _)
>> In guix/status.scm:
>> 820:3 3 (_)
>> 800:4 2 (call-with-status-report _ _)
>> In guix/scripts/home.scm:
>> 263:8 1 (_)
>> In ice-9/boot-9.scm:
>> 1685:16 0 (raise-exception _ #:continuable? _)
>>
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> no home environment generation, nothing to describe~%
>>
>> I don't think a backtrace is needed here.
>
> This seems to be the case for ‘guix system describe’ too
>
> $ guix system describe
> Backtrace:
> 7 (primitive-load "/home/yoctocell/.config/guix/current/bin/guix")
> In guix/ui.scm:
> 2185:7 6 (run-guix . _)
> 2148:10 5 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 1752:10 4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In guix/status.scm:
> 820:3 3 (_)
> 800:4 2 (call-with-status-report _ _)
> In guix/scripts/system.scm:
> 1310:8 1 (_)
> In ice-9/boot-9.scm:
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> no system generation, nothing to describe~%

Fixed in a9268216e4f38189d7948cf2ecb51ad2eac7e586, thanks!

Ludo'.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 50978@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 50978
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch