From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YOBUFWVe3WGITwEAgWs5BA (envelope-from ) for ; Tue, 11 Jan 2022 11:39:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +MwODmVe3WHt+AAAG6o9tA (envelope-from ) for ; Tue, 11 Jan 2022 11:39:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D244D1B0C4 for ; Tue, 11 Jan 2022 11:39:32 +0100 (CET) Received: from localhost ([::1]:48184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7EYt-0006QE-Tq for larch@yhetil.org; Tue, 11 Jan 2022 05:39:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7EYU-000605-IG for bug-guix@gnu.org; Tue, 11 Jan 2022 05:39:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7EYP-0006Ds-O9 for bug-guix@gnu.org; Tue, 11 Jan 2022 05:39:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7EYP-0005A9-NH for bug-guix@gnu.org; Tue, 11 Jan 2022 05:39:01 -0500 Subject: bug#50978: "guix home describe" backtraces if "guix home" hasn't been used Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 11 Jan 2022 10:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 50978 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Xinglu Chen Mail-Followup-To: 50978@debbugs.gnu.org, ludo@gnu.org, maximedevos@telenet.be Received: via spool by 50978-done@debbugs.gnu.org id=D50978.164189749219776 (code D ref 50978); Tue, 11 Jan 2022 10:39:01 +0000 Received: (at 50978-done) by debbugs.gnu.org; 11 Jan 2022 10:38:12 +0000 Received: from localhost ([127.0.0.1]:54258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7EXc-00058u-5I for submit@debbugs.gnu.org; Tue, 11 Jan 2022 05:38:12 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:45440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7EXW-00058K-Ax for 50978-done@debbugs.gnu.org; Tue, 11 Jan 2022 05:38:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B6EAA45A; Tue, 11 Jan 2022 11:37:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jl99qpUsnY0S; Tue, 11 Jan 2022 11:37:58 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 27CB6F2; Tue, 11 Jan 2022 11:37:58 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8a0ad7369a557a7b4da2a222ba10b5bb83c6fb01.camel@telenet.be> <8735pjnoel.fsf@yoctocell.xyz> Date: Tue, 11 Jan 2022 11:37:57 +0100 In-Reply-To: <8735pjnoel.fsf@yoctocell.xyz> (Xinglu Chen's message of "Sat, 02 Oct 2021 22:48:50 +0200") Message-ID: <87sftuwoai.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: B6EAA45A X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50978-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641897572; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=depGbflv+gZg3Vp/N9A+s8c64y9fbixK+CdeJ67aZr8=; b=q+pf4Rv28DNt37ojoTNgKhPB48XWbTazZZVpzfGm2bPelsoNbhiry+8ipi2cINbOah2n+Q OWI9a9FasYh7BctDaqfhloeiJ8FxZZt5H16e7N9W9fW9H/E6KtaPGfZdC+HxgKSIMHHETp apxbrfWdzvVFXXAwr5YfQrFP2mDHRAghK1mkVseMnIF/BndIWsE5LVCYhlS+6T6Fhy72zY t2k1BD/3X4knIjWEQqUgPK8bMMDWK97XmsZIb8dIF/4HROPI2zenmdYDskX6b6mIgTUjeW 6EJwqhbX6EGEffrjB75yikp/16dkBewaHzFMIVPjZHMVdlf1C+5yaRSEXe1Whw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641897572; a=rsa-sha256; cv=none; b=gwU17t+idXUb+nyk0mhY8WfLC0FEOrtw4o6folhp+GIVSRJA+r7XkaNVk3wg8HFlC/omJp QoWLyN/7fJmWwFkn5n4kBAko01HnENFkW74rRLY6zjoC8QXFAPp0JBadLkbF0qQSAx5AY2 KCRXcNB5xQ6wY7Cjf4sTzZp41ZzalmDbgzxK1GFQdXcxI0X9pPLPE2JAFA3LnDqT/ajYw2 m2rq72G52HV7mqTf1kHumwpY4nY+1YSt8uI5FmYiqJY86PFT55fQQFSc569N3NQFAOJ8B6 HpPEZaQFDj5TRYnxSMKXbAKsqwIzw4OFMDGJzWD+ugH15P7Q51kyehoircw87g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D244D1B0C4 X-Spam-Score: -3.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: Dtgbrwdn2D+1 Hi, Xinglu Chen 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=E2=80= =A6") >> 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 =E2=80=98guix system describe=E2=80=99 too > > $ guix system describe > Backtrace: > 7 (primitive-load "/home/yoctocell/.config/guix/current/bin/gu= ix") > 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'.