Subject: bug#50978: closed (Re: bug#50978: "guix home describe" backtraces if "guix home" hasn't been used)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 11 Jan 2022 10:39:01 +0000

Your bug report

#50978: "guix home describe" backtraces if "guix home" hasn't been used

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50978: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50978
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50978: "guix home describe" backtraces if "guix home" hasn't been used
From: Ludovic Courtès <[email-masked]>
To: Xinglu Chen <[email-masked]>
Cc: Maxime Devos <[email-masked]>, [email-masked]
Date: Tue, 11 Jan 2022 11:37:57 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Xinglu Chen <[email-masked]> skribis:

> 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'.

Subject: "guix home describe" backtraces if "guix home" hasn't been used
From: Maxime Devos <[email-masked]>
To: [email-masked]
Date: Sat, 02 Oct 2021 21:51:13 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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