From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qE7INuGCCV+BcwAA0tVLHw (envelope-from ) for ; Sat, 11 Jul 2020 09:14:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mKiMMuGCCV9tZQAAbx9fmQ (envelope-from ) for ; Sat, 11 Jul 2020 09:14:09 +0000 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 6B2BB940B29 for ; Sat, 11 Jul 2020 09:14:09 +0000 (UTC) Received: from localhost ([::1]:50152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juBaC-000848-DK for larch@yhetil.org; Sat, 11 Jul 2020 05:14:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juBa6-00083q-18 for bug-guix@gnu.org; Sat, 11 Jul 2020 05:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juBa5-0001j8-NX for bug-guix@gnu.org; Sat, 11 Jul 2020 05:14:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juBa5-0008IQ-JU for bug-guix@gnu.org; Sat, 11 Jul 2020 05:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42247: Channel news raise error on `guix pull` Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Jul 2020 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42247 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 42247-submit@debbugs.gnu.org id=B42247.159445881731852 (code B ref 42247); Sat, 11 Jul 2020 09:14:01 +0000 Received: (at 42247) by debbugs.gnu.org; 11 Jul 2020 09:13:37 +0000 Received: from localhost ([127.0.0.1]:43826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juBZg-0008Hg-Mg for submit@debbugs.gnu.org; Sat, 11 Jul 2020 05:13:36 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juBZb-0008HP-Ov for 42247@debbugs.gnu.org; Sat, 11 Jul 2020 05:13:35 -0400 X-Originating-IP: 86.246.37.13 Received: from bababa (lfbn-idf2-1-572-13.w86-246.abo.wanadoo.fr [86.246.37.13]) (Authenticated sender: mail@ambrevar.xyz) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id D776B1BF203; Sat, 11 Jul 2020 09:13:25 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87imew9vfk.fsf@gnu.org> References: <875zaz2x5t.fsf@ambrevar.xyz> <87imew9vfk.fsf@gnu.org> Date: Sat, 11 Jul 2020 11:13:24 +0200 Message-ID: <87mu46qurv.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.8 (+) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42247@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: xrfP0ezjoL6F --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > This suggests that the =E2=80=98news.scm=E2=80=99 file of your channel is= being picked > up and evaluated as if it were a module, which it=E2=80=99s not. > > The solution is to rename it to, say, =E2=80=98news.txt=E2=80=99, or to m= ove the actual > modules to a sub-directory and specify that in =E2=80=98.guix-channel=E2= =80=99 (info > "(guix) Channels"). Thanks for the hint, this works indeed! 1. Is there anything we can do to catch this error and output a more intelligible error message? 2. I suggest we document this pitfall in the documentation. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl8JgrQACgkQm9z0l6S7 zH+UnQf/aWnVQJHLvY+cpfffFce/voeV/AGheP3WdZCBFyrIuYRsK2Slbqz3wRHn TkJ4U91nxvwZkKsXFHDGvfTBDMfSmX2t8Ov83Xxssj8RdKAI0R5rpx2bh8rhHADM A6Up0UJXXtIHzo5ET2qaexkhpfSYaDJHicHdxNcxCwlBdUr1RVxwW4Pfcf/nmOdk JNXGWTQemLSdSUqlshx0MO6iBNIbgvy2t5h5IqQsLOPuxlncp6PnlZytuAyulIOp nnLq3NdJJZ19cX0CsXIcUF3CQEJ4Kc+Au4FlSDKjtEm4mqh0mlhVDY7cnoQ6JXxF Z6w5yOfzaGUiE7Q3sKNTidKic74JUA== =we+1 -----END PGP SIGNATURE----- --=-=-=--