Received: (at 74250) by debbugs.gnu.org; 21 Nov 2024 20:28:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 21 15:28:03 2024 Received: from localhost ([127.0.0.1]:51902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tEDmV-0005Uo-4R for submit <at> debbugs.gnu.org; Thu, 21 Nov 2024 15:28:03 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:53958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1tEDmT-0005UG-0j for 74250 <at> debbugs.gnu.org; Thu, 21 Nov 2024 15:28:02 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 122553069ABB; Thu, 21 Nov 2024 21:27:55 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim20240523; t=1732220874; x=1734035275; bh=se67/ZQdEyI0cWhj6t1MrqvCoUewSToFjPjR7aFysoI=; b=IaKT4XyaGTWH TNxF8xhTGwyx03gtJngV1licCIJUm722H59M0Y4LcFQLmmSLRQ83QINpiU6lSyFN SxPSirXM9A+zKVYfyjyVGNt5Lr5cfKn+Cun5BNMkrt1r2l34wNnCnPf+H24aUBBl RRuEgYWXwFqImnfkezpazkzOYLirgTkxJyfJYAZPInkgvUD7PZqkNOPIfm16TFX1 UMZEb5QQJ3KYAhL0hR6NWbjIgh7HKMW2BB0hgAMrUihMY6w2ZdTJkzEGbTBiYVpp +eWsvNb1vUoomsEfpAvwNv8F+eUCH71Z5J5O1Yh4gw4JacNT2oPYsQKvlr2H3f7e NEBHVHIhLA== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id UjCYcG5ZNPlo; Thu, 21 Nov 2024 21:27:54 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 7165E3069AB9; Thu, 21 Nov 2024 21:27:53 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 53E5F3122E06; Thu, 21 Nov 2024 21:27:53 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: Suhail Singh <suhailsingh247@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <87wmgxa8vb.fsf@HIDDEN> (Suhail Singh's message of "Wed, 20 Nov 2024 16:33:12 -0500") References: <87zflt63qr.fsf@HIDDEN> <87wmgxa8vb.fsf@HIDDEN> Date: Thu, 21 Nov 2024 11:27:55 -0900 Message-ID: <87ldxccoxg.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74250 Cc: 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) After cleaning up my profiles, and some other troubleshooting, I eventually realized that the failure can be bypassed by setting guix-repl-use-server to nil, i.e., disabling emacs-guix from using the additional Internal REPL (#<buffer *Guix\ Internal\ REPL*>). The Internal REPL gave me trouble in another bug as well. I'll need to try to get a better understanding of how the magic of the Internal REPL works and how it could be messing this up. -- Christopher Howard
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 21:34:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 16:34:32 2024 Received: from localhost ([127.0.0.1]:48008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDsLI-0001IU-6M for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 16:34:32 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <suhailsingh247@HIDDEN>) id 1tDsLG-0001IE-Kv for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 16:34:31 -0500 Received: by mail-qk1-f195.google.com with SMTP id af79cd13be357-7b35b1eb7e3so96743085a.1 for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 13:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732138404; x=1732743204; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GSkKCuBtth2ieQIgTolsC2RmYJ3gS98RVIXTB0IpiXY=; b=Sd9f3la/OeniFvBldNQHNCO1qV04e+TIQw7DYMqGAA7RNInzW9DC5HfFYiLPROedVz iwYfLPkq4jHRh4IR5i15Ya0YEjvVKxuO6H7QX58gDlNxMYyb1vz/KrzxVImxQOZW1cBF Zp9K3U3hh4NrHmqqIF8UasymHXApG6fh1uzFPXDRHA/VA25ZzEuCB4z0MfQdXFO72Cmg o2tM49X7q3oRkwX/GPlfCkvoYORo3x3n+ARWKb0igwZ5jxWShH9YCtz0YQV1q6IeAWVH 1H/miKdZGCG0d0zXq7UGCAT8DFUgO6413NFypSpDpueKX6bquUArG179HQKbd3CRNTnE mdxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732138404; x=1732743204; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GSkKCuBtth2ieQIgTolsC2RmYJ3gS98RVIXTB0IpiXY=; b=bKrlTPfkijyC/qt12gMmexIpz0Qf6XBmKt6GOejYyzkwC33/zHIEE5w+4G+3WIQ0LX GpB/6AmdhLdOE1oLMyfF5Ewd/7fwpOX0OxDf319kk0uqbANj+j+V1ATYMzTLWNKZA0yw J8mNj1ErenQzP669m+qk8NHyku4TI32rUu1pYkj2vteGklZ+jFteDkwdltCWfFuLnE+h tVFOHB3U8b9XT885cT3+vl4zsyLYL+ariEhf5923f+bDE7M4ugvJOTRzSLKalgbIVW2a wApTuH90bP4TIQ37lWBhK658wXAAAhu1MK8MsVrbjsQeBrjOahWDfNhDhu6shqGB0DXz Aktg== X-Forwarded-Encrypted: i=1; AJvYcCWH6DX11qB/uYvDcNP0WxV6FfpzeZZfvx+xXk/85j3n5aN/qkGnsIF8Fz4XbrcmKYJtan/b7w==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzyx7aj1Vxvtp07pGedT0+b2wVA4P4hpt6ZbqJ/ppGei/AfabmV slBJHGIk8NUh1HdaRpYZgUUQJv/8dApqd+RC2frJ55piMwpASGP9hMpsc9eK X-Google-Smtp-Source: AGHT+IEg4hp/cFsXcvVVce5xfVBBkiieB4hdyAq0D5Bf0Gbul2QWv+Tpfp1X3DX4/Z2bhNS5jnFw4w== X-Received: by 2002:a0c:fb41:0:b0:6d4:c91:56cd with SMTP id 6a1803df08f44-6d442279d2emr15958406d6.0.1732138404426; Wed, 20 Nov 2024 13:33:24 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d438136c5asm15154846d6.103.2024.11.20.13.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 13:33:24 -0800 (PST) From: Suhail Singh <suhailsingh247@HIDDEN> To: Christopher Howard <christopher@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <87zflt63qr.fsf@HIDDEN> (Christopher Howard's message of "Wed, 20 Nov 2024 11:37:32 -0900") References: <87zflt63qr.fsf@HIDDEN> Date: Wed, 20 Nov 2024 16:33:12 -0500 Message-ID: <87wmgxa8vb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74250 Cc: Suhail Singh <suhailsingh247@HIDDEN>, 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Christopher Howard <christopher@HIDDEN> writes: > So, my experiment was to see if I could run the scheme command =C2=AB(gui= x-command > "pull")=C2=BB from the console instead, just using guix repl. However, si= nce guix > repl will not load any emacs-guix scheme code, I had to add > "/home/christopher/Repos/emacs-guix/scheme" to the GUILE_LOAD_PATH in ord= er to > be able to load (emacs-guix) module. > > Hopefully that clarifies what I am seeing. I see. Thank you for clarifying. > Looking at this now, I see that there are significant differences between= the > paths for paths in %load-path vs paths in GUILE_LOAD_PATH. Yes. The "guix-module-union" entry I alluded to was one of the differences I had observed between %load-path values between "guile" and "guix repl" when both were invoked from the commandline (outside of Emacs). It may help for a future version of emacs-guix to take some steps to resolve said differences, if you find them to be material / problematic. --=20 Suhail
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 20:37:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 15:37:57 2024 Received: from localhost ([127.0.0.1]:47928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDrSX-0007FE-5D for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 15:37:57 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:42066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1tDrSU-0007Ex-El for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 15:37:55 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 4F83B30004E3; Wed, 20 Nov 2024 21:37:48 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :received:received:received; s=dkim20240523; t=1732135066; x= 1733949467; bh=egrM4hAwP/paxpkbBgxHKts+mcTF2Y3WOzqOs47fcos=; b=O YK+om6L0PZJlvfD25RQYOcmHwyCXyldvL7C5oleY8ks3ydzVvGqNDoUaJAD7I4gV C4v7LbmtzHncTyv3CBwjywzB7du6PIN92+tzDiYha/OZGERelcWuTQCfiO94jOR5 KdJfB86jaS2bZCflsMFdVouhlPeODdYsj9UpmDk4p8PpuUvrWuYUbQluDa6IzXXs tzu1QatBPKnf5jiTe0DM1c0rxvn+DT2Mw5RViXifAABCMWNgenqpsd4U3KXG7008 hDEsoIXK4MEROEqINZY5pGRIQI6udodzeLBDGxjcj1SdI9T0MnN73v3eEQuqjj8L XtORw+hNowM5swULnAlMA== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 4QTKTf_pzP8P; Wed, 20 Nov 2024 21:37:46 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C7F2930005A1; Wed, 20 Nov 2024 21:37:45 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 44D0720D3032; Wed, 20 Nov 2024 21:37:45 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: Suhail Singh <suhailsingh247@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: Suhail Singh's message of "Wed, 20 Nov 2024 14:50:42 -0500 (20 minutes, 53 seconds ago)" Date: Wed, 20 Nov 2024 11:37:32 -0900 Message-ID: <87zflt63qr.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74250 Cc: 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) So, when inside Emacs, it appears that emacs-guix, after launching the *Gui= x REPL* and *Guix Internal REPL*, adds it's own scheme code to the paths in= %load-path. In either of these REPLs, I can see that the emacs-guix scheme= code is the first entry in the list: ``` scheme@(emacs-guix)> %load-path $13 =3D ("/home/christopher/Repos/emacs-guix/scheme" "/home/christopher/.co= nfig/guix/current/share/guile/site/3.0" "/gnu/store/60hgms029zpd92w065g7lgn= q5vw5rd7b-emacs-geiser-guile-0.28.3/share/emacs/site-lisp/geiser-guile-0.28= .3/src" "/home/christopher/.guix-home/profile/share/guile/site/3.0" "/home/= christopher/.guix-profile/share/guile/site/3.0" "/run/current-system/profil= e/share/guile/site/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-= 3.0.9/share/guile/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3= .0.9/share/guile/site/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-gui= le-3.0.9/share/guile/site" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-gui= le-3.0.9/share/guile") ``` However, that path is not in Emacs' own environment, as I can see with gete= nv: ``` ielm ELISP> (getenv "GUILE_LOAD_PATH") "/home/christopher/.guix-home/profile/share/guile/site/3.0:/home/christophe= r/.guix-profile/share/guile/site/3.0:/run/current-system/profile/share/guil= e/site/3.0" ELISP> (getenv "GUILE_LOAD_COMPILED_PATH") "/home/christopher/.guix-home/profile/lib/guile/3.0/site-ccache:/home/chris= topher/.guix-home/profile/share/guile/site/3.0:/home/christopher/.guix-prof= ile/lib/guile/3.0/site-ccache:/home/christopher/.guix-profile/share/guile/s= ite/3.0:/run/current-system/profile/lib/guile/3.0/site-ccache:/run/current-= system/profile/share/guile/site/3.0" ``` So, my experiment was to see if I could run the scheme command =C2=AB(guix-= command "pull")=C2=BB from the console instead, just using guix repl. Howev= er, since guix repl will not load any emacs-guix scheme code, I had to add = "/home/christopher/Repos/emacs-guix/scheme" to the GUILE_LOAD_PATH in order= to be able to load (emacs-guix) module. Hopefully that clarifies what I am seeing. Looking at this now, I see that there are significant differences between t= he paths for paths in %load-path vs paths in GUILE_LOAD_PATH. Perhaps I am = running old code from the wrong profile or something. I will try to look in= to this more. ``` eshell ~/Repos/guix $ realpath /home/christopher/.guix-home/profile/share/guile/si= te/3.0 /gnu/store/0zhhnwmk8jlvx2rycgkh6dclv75gp1xr-profile/share/guile/site/3.0 ~/Repos/guix $ realpath "/home/christopher/.config/guix/current/share/guile= /site/3.0" /gnu/store/yqsx2n66a0hlzpimqsw392x8f2x6nrzi-guix-804f8b209-modules/share/gu= ile/site/3.0 ``` --=20 Christopher Howard
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 19:52:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 14:52:03 2024 Received: from localhost ([127.0.0.1]:47871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDqk6-0005E6-Uu for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:52:03 -0500 Received: from mail-oo1-f65.google.com ([209.85.161.65]:55714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <suhailsingh247@HIDDEN>) id 1tDqk5-0005DZ-0f for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:52:01 -0500 Received: by mail-oo1-f65.google.com with SMTP id 006d021491bc7-5ee3c2e79aaso79985eaf.3 for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 11:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732132254; x=1732737054; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=+9WO65m9r6F9kgsDQPgns9oq6e+YRMgW5NNdqEgrV1M=; b=SFmy0lOuQDQt0hEVAl/gLSgKyn9VUwt2RP30eQ69qyuGFgu9hkXIZ7CcQD4IvxXhRd dJGQy2ADC3/vwtuc0hKFIqo4eRkPOFjcyI9B7t1sBEQ458qkvBjRY8UxdtSh6/1c1r/J 9beQXb3Meoq1uDPeVVP6UvVIOnCG8JKdX9Abadlrfi7UXkR2AmBNX4mgZn1AVM/H/oqv +v1llYq7+pKtxOLhqi8g5ZaQBcgdj/k2SNDTbpqN5Z9kU/L9r8rAORIe5NYF7XijM1jp 5E0KRRkXBkeKezlE6b+kbI3GoNzWDL5Ds87VR777zJ9uoaf92i2uu90umJcDBirqbybq mafA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732132254; x=1732737054; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+9WO65m9r6F9kgsDQPgns9oq6e+YRMgW5NNdqEgrV1M=; b=Df4DvnXNCmqrZaLu/fs8tbmBhRHT0+le2TgTView0Njx9wDJOuaW9bS53VtcEnvzJS OpDk5e+QdJySGSw1axzb7gkHGiTzThqYL7HbrZNePgnGCWvSiNn7ejyt9/Cv5RZdNpNZ z1rNnLNmz6vvRgPxvCSZGj9fL6q3dBNQONWOovCQFU3gm554heFv7pz+SRnkgie2QGSY 0xoQ4TDxZ1qwJ64ybf5uc3vAHuB6RuK6S2BIdhUgy3n8RNK/A1Mzn8V93HsJkFaaoteL 2TAutNOT60qBhgN4trSwJ5Q+4Mtnm0adNdABTCciTceoB58kl1Bo6da93Q3tMI/dUZkq PwgA== X-Forwarded-Encrypted: i=1; AJvYcCUOjOmeoW93gKbF7ST3Hv+qXg1Iu5fbkIF01xidfTSYUc86w5/66t6rZXjl3snDtCS5g99DWA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwLjTH3DXISV+9as7ZZPS2kuLNlapvlArYNThSPsSSKCkgVlVA4 OAH1sr1vKPG2kL3NQwl1DrHW0xbBRcWKWdoQTL5ikKBx+zuAghTmSDvMux/5 X-Gm-Gg: ASbGncsBEZUZ2z3HEiGT5Dl9YDr1hcssBKn9KbJe9TvhcyKFPmWVu8NA7gy21vUzi+/ 7mmomtrcfkaPN1XO6nA8dRFmoFDLZp4ACCt0f/OA9MZSHs+GiBQOpJjmu//VJuLWsUb8ZwhSsDK o4FrcUcfNijHXEV0AtR7PVuZE3MEwgMeVFQ8GJHAwCdn2312W1W4zIBXe9zzoHLoqyL/KFuexx8 ylWFFZhRaurWeys1IibSlnfXGCwRN2zWhpzei/rBqJwpg== X-Google-Smtp-Source: AGHT+IHQpXgTZff1mBbaK+en5IYsPAg7ZXREzqHu3xwxyZ4N23amPVyzqCwg1aFUHZJbvRlVB7F+Bw== X-Received: by 2002:a05:6358:7a92:b0:1c3:90ff:9721 with SMTP id e5c5f4694b2df-1ca664e0f9fmr319065855d.23.1732132254493; Wed, 20 Nov 2024 11:50:54 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4646a546d88sm13596381cf.65.2024.11.20.11.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 11:50:54 -0800 (PST) From: Suhail Singh <suhailsingh247@HIDDEN> To: Christopher Howard <christopher@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <87ttc1hfpk.fsf@HIDDEN> (Christopher Howard's message of "Wed, 20 Nov 2024 10:23:35 -0900") References: <87h68iy7u2.fsf@HIDDEN> <87h683djv2.fsf@HIDDEN> <8734jliwq6.fsf@HIDDEN> <87v7whwwr6.fsf@HIDDEN> <87ttc1hfpk.fsf@HIDDEN> Date: Wed, 20 Nov 2024 14:50:42 -0500 Message-ID: <87r075wup9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74250 Cc: Suhail Singh <suhailsingh247@HIDDEN>, 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Christopher Howard <christopher@HIDDEN> writes: > Hi, this is a little confusing since my example involved working outside > of Emacs, running Scheme from the guix repl. I am confused (as well). I thought you were running the command via the "*Guix REPL*" buffer created by emacs-guix. Perhaps not? I'll share below some thoughts as well as reasons for my curiosity. Please use your judgment in determining whether or not they are applicable to your situation. It's possible that I'm mistaken, but my understanding of emacs-guix was that it invoked a Guile REPL (even though it refers to it as a Guix REPL). This can be confirmed by evaluating "(command-line)" in the "*Guix REPL*" buffer (which on my machine, on a foreign distro, shows guile). > Are you wanting this elisp code run before/after emacs-guix.el is > loaded in Emacs? As long as emacs-guix is not modifying the GUILE_LOAD_PATH environment variable, it didn't matter when the code was evaluated. > Anyhow, if I just execute (eval-last-sexp) the code you sent, I get > this error: The error you encountered could be due to a difference in %load-path between the emacs-guix "*Guix REPL*" buffer vs %load-path when one runs "guix repl" directly on the shell. The "guix-module-union" entry may be of interest. On my machine, I have to take some extra steps to ensure that said entry exists in GUILE_LOAD_PATH (i.e., the %load-path when one loads the guile repl). -- Suhail
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 19:24:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 14:24:00 2024 Received: from localhost ([127.0.0.1]:47827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDqIx-0003yq-Se for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:24:00 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:49864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1tDqIu-0003yY-SA for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:23:57 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 0349920B2769; Wed, 20 Nov 2024 20:23:51 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim20240523; t=1732130628; x=1733945029; bh=E1DpyWJ0+nHoAsAbPO4VUWdRYn2xGsAL8LfKJgG8aMM=; b=X3ffThBjMqza 4QOSSt5qbLwFpcoAIkJKaZzqPA/MnT8JZRm2tLMZFxKBEm7kLfZLmp/tTKJDad6X JHDXoX/OcYTEKoxdNQK61aYRasD+EJR108nRZqn8QH0JJWBnXO5xAopMXDhb1GQJ niTrEFY4/jm1SXIhpvEi6fvM3dsYhVNEGwoHx4zD8ZlIkRNdfw0Qdy4YybZfgOAu mnzREU8As2YbBlhRgN0I3iuaZuILhrWKzPN9WMXf3FPLq10rpY3RZm1eAIlCmg/s zZflCL+hDjfBo3UuilOJXLfYzSmuQpcQz4WOiZHLPiDs/t8kcKFkrh6qZruD1Lw+ lOBCyqt9Fw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id WhYuVRNY-TZp; Wed, 20 Nov 2024 20:23:48 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 0945020B2746; Wed, 20 Nov 2024 20:23:47 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id BD16831229CE; Wed, 20 Nov 2024 20:23:47 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: Suhail Singh <suhailsingh247@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <87v7whwwr6.fsf@HIDDEN> (Suhail Singh's message of "Wed, 20 Nov 2024 14:06:21 -0500") References: <87h68iy7u2.fsf@HIDDEN> <87h683djv2.fsf@HIDDEN> <8734jliwq6.fsf@HIDDEN> <87v7whwwr6.fsf@HIDDEN> Date: Wed, 20 Nov 2024 10:23:35 -0900 Message-ID: <87ttc1hfpk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74250 Cc: 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Suhail Singh <suhailsingh247@HIDDEN> writes: > Out of curiosity, does the below raise an assertion error for you when > GUILE_LOAD_PATH is _not_ set "appropriately"? > > #+begin_src emacs-lisp > (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) > (dolist (suffix '("guix/current/share/guile/site/3.0" > ;; <https://www.mail-archive.com/help-guix@HIDDEN/msg13819.html> > "guix-module-union/share/guile/site/3.0")) > (cl-assert (cl-some (lambda (x) > (string-suffix-p suffix x)) > guile-load-path)))) > #+end_src Hi, this is a little confusing since my example involved working outside of Emacs, running Scheme from the guix repl. Are you wanting this elisp code run before/after emacs-guix.el is loaded in Emacs? Anyhow, if I just execute (eval-last-sexp) the code you sent, I get this error: ``` Debugger entered--Lisp error: (cl-assertion-failed ((cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path) nil)) cl--assertion-failed((cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path)) (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) nil) (let ((suffix (car tail))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) nil) (setq tail (cdr tail))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda ... ...) guile-load-path))) nil) (setq tail (cdr tail)))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'(lambda ... ...) guile-load-path) (cl--assertion-failed '(cl-some ... guile-load-path))) nil) (setq tail (cdr tail))))) (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'... guile-load-path) (cl--assertion-failed '...)) nil) (setq tail (cdr tail)))))) eval((let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some ... guile-load-path) (cl--assertion-failed ...)) nil) (setq tail (cdr tail)))))) nil) elisp--eval-last-sexp(nil) #f(compiled-function () #<bytecode 0x2999fd94511e2>)() handler-bind-1(#f(compiled-function () #<bytecode 0x2999fd94511e2>) (error) eval-expression--debug) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) ``` -- Christopher Howard
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 19:07:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 14:07:36 2024 Received: from localhost ([127.0.0.1]:47775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDq36-0003GF-Bp for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:07:36 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:48609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <suhailsingh247@HIDDEN>) id 1tDq34-0003G7-A3 for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 14:07:35 -0500 Received: by mail-qk1-f195.google.com with SMTP id af79cd13be357-7b1539faa0bso3693785a.1 for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 11:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732129593; x=1732734393; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+XhDCowzzJvVSgLESg6bt+HNcqafWMcSGq41fTVGEuU=; b=lwFTVvZBC2osB5KhsgeeB9tx1rdSfiWediEU9f9Pbtl4DTHPbgsAXBCN0PZsn0QM90 JG11wW1nqU2J5IfnrNcy3RKICSFFCEqBrFHisDgXVmnIETXrO3jgnLY9pbSXXk9ArvVM sz4PGBkBt72YtZ30cXdB73ET9tkbBwTfmZfGADTGb6xht/gpb4sz0L0HBEHVRF8Tsfmi i1mmQFX4UzgIi+wMVc7lOpklWHHSMd4oD3KB+LGWUZRHJexNjAUhfIdrS1xJzv+2UPUF drYnN2ajB/H5PgakBH7pHu9eZPifV6wd9+NKowCAZpQSJaLAkXZg8LaEcPdJaO3SeJ0W wjEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732129593; x=1732734393; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+XhDCowzzJvVSgLESg6bt+HNcqafWMcSGq41fTVGEuU=; b=vGWg9V5W56EKTVGqzbjj5/qmbZ+Hxhrknev/Yf1WeOdwsKmzpmWYOUIl5VQU6B8jb5 XbGu0TaQ5GJJtVAcckQuo0jkEUaNqosVW5Ra56VlmBc6nKJbejU5b46pT18SDyRbYQtF lPaWI3gYtuC0HKlZZ2o39kkkD0xi8h0y8NmfXGdOsuJdw1RP7zNxT4D+SAbK8ci4+L/T 69PxRVlWYdanqpL+Y0fgz/OAVZCM3TQYfw4bXs4zu35EZPvT3eBah8kW27gLqjCW62SS q/niysWR3nGLnS3eDCI+dDToGvvlpsU4ipo8jwRXCA34aEhuJTD0KGW34Z8c4TyBuSM6 wQAg== X-Gm-Message-State: AOJu0YxhKVzitCDSrDqQ33q1in5ETpqLiGuMS4S2BEdoSa3KU4f65+La luVAaDr7vtb42vP02o/z9WrF+0EnD+ZVDdvd+vbMZZNWBykxJqBKOASFjfgU X-Google-Smtp-Source: AGHT+IGgO/9Eqk5y+QoEtMCH7S1HKXus/xgUELO4ea5sjlaA/WxFNQD0XKlAJYUSQpC0niBwcR3SKw== X-Received: by 2002:a05:620a:298b:b0:7b1:4605:29c6 with SMTP id af79cd13be357-7b42eed78f1mr468362785a.62.1732129593194; Wed, 20 Nov 2024 11:06:33 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b479d2dcaasm127306285a.18.2024.11.20.11.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 11:06:32 -0800 (PST) From: Suhail Singh <suhailsingh247@HIDDEN> To: Christopher Howard <christopher@HIDDEN> Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <8734jliwq6.fsf@HIDDEN> (Christopher Howard's message of "Wed, 20 Nov 2024 09:30:41 -0900") References: <87h68iy7u2.fsf@HIDDEN> <87h683djv2.fsf@HIDDEN> <8734jliwq6.fsf@HIDDEN> Date: Wed, 20 Nov 2024 14:06:21 -0500 Message-ID: <87v7whwwr6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74250 Cc: 74250 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Christopher Howard <christopher@HIDDEN> writes: > I discovered that if I go to Gnome console, set the GUILE_LOAD_PATH > appropriately for the emacs-guix scheme code, run =C2=AB,re (emacs-guix),= =C2=BB > and then run (guix-command "pull") that the pull completes without any > issues. Out of curiosity, does the below raise an assertion error for you when GUILE_LOAD_PATH is _not_ set "appropriately"? #+begin_src emacs-lisp (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) (dolist (suffix '("guix/current/share/guile/site/3.0" ;; <https://www.mail-archive.com/help-guix@HIDDEN/= msg13819.html> "guix-module-union/share/guile/site/3.0")) (cl-assert (cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path)))) #+end_src --=20 Suhail
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 18:31:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 13:31:06 2024 Received: from localhost ([127.0.0.1]:47724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDpTm-0001gN-Hh for submit <at> debbugs.gnu.org; Wed, 20 Nov 2024 13:31:06 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:38494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1tDpTh-0001fc-SD for 74250 <at> debbugs.gnu.org; Wed, 20 Nov 2024 13:31:05 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id B514320B2769 for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 19:30:55 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:references:in-reply-to:subject:subject :from:from:received:received:received; s=dkim20240523; t= 1732127455; x=1733941856; bh=6XI12yUWr+s1tJZN3xY6H7KhQoOtbcTlABu ZBWBCHko=; b=rpu4K+bLtR8Dlnq2Lqd4z6+ZzbhvdzJ+qvpa0m/AVA3tlZ1iWts kbi1HyRpwY86pnLG7aF7aDw2aqhIb5CRvp35GUWxtXLCYxmNLDHYPxoWTLu6iQmf pv68ZkqVQt3vgCO6CVH7b4XnkpHTrdGO1V+zyQl0Pxr2TSRyldNFrsriSO4chH2d nzdxNwiFdLOefJjKO9zNbRZiTHbViSXhXB/YVdz/5NI53HtJI2QL5vRcAXplQSg9 Y/I3MjffmUGL+wu/czvBKca3fHvWiqyALR3kGcZtP5ogPowhGUmYiFoou8CNHwqy k5A6cDQXH+j09ITElRw6NefO/9u+l5dVLeQ== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id j-Znk7fbmdez for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 19:30:55 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 1F8E820B2746 for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 19:30:53 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id BE57520D302E for <74250 <at> debbugs.gnu.org>; Wed, 20 Nov 2024 19:30:53 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: 74250 <at> debbugs.gnu.org Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: <87h683djv2.fsf@HIDDEN> (Christopher Howard's message of "Tue, 19 Nov 2024 11:55:13 -0900") References: <87h68iy7u2.fsf@HIDDEN> <87h683djv2.fsf@HIDDEN> Date: Wed, 20 Nov 2024 09:30:41 -0900 Message-ID: <8734jliwq6.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74250 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I discovered that if I go to Gnome console, set the GUILE_LOAD_PATH appropriately for the emacs-guix scheme code, run =C2=AB,re (emacs-guix),= =C2=BB and then run (guix-command "pull") that the pull completes without any issues. This seems to imply that the problem is somehow root in geiser or how geiser interacts with guile. --=20 Christopher Howard
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at 74250) by debbugs.gnu.org; 19 Nov 2024 20:55:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 19 15:55:34 2024 Received: from localhost ([127.0.0.1]:44224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tDVG1-0001G3-Qx for submit <at> debbugs.gnu.org; Tue, 19 Nov 2024 15:55:34 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:35364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1tDVFz-0001Fn-9F for 74250 <at> debbugs.gnu.org; Tue, 19 Nov 2024 15:55:31 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 4C9ED3069A9E for <74250 <at> debbugs.gnu.org>; Tue, 19 Nov 2024 21:55:25 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=dkim20240523; t=1732049724; x=1733864125; bh=cECvSn E1bOCKEtnVBlcLxE2tOnITwVb/GcB40kUT9nU=; b=LZlSMT3BoQ5CUizxsAJ9rt ZCNSaWXv9+NKa3WRIoTVIaCq8AkZboIY4bHy2Fs6uZrL0q6zHth8SiDcoiKICJ2w HJAux5HoUMh6QgwUCD4v+dufW0tfGtxjRo2GbYTpQL/MOg2ivicM3VzXmhyo2aEU G4aO5m30bh1L1L4vhFklvoLNxJ25wp7PcuT3WSYqDMoXYX243J6rKG6ZwFMXQb0Q 6MhmpZxp6l1oufGQMvuq+e/kfVwyfVXJiO1XDxK+YRawGuGxR20HFIAVzAqa+COA Yc+B0MMIbl6Lf3CylNFDW5n8+BhxZF7lJWDXORrcfNp4Pn2utg/27+ZR+kzq68Ng == X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id ZVDYJ0aKTQsS for <74250 <at> debbugs.gnu.org>; Tue, 19 Nov 2024 21:55:24 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id A5B983005A01 for <74250 <at> debbugs.gnu.org>; Tue, 19 Nov 2024 21:55:23 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 574C23120C2E for <74250 <at> debbugs.gnu.org>; Tue, 19 Nov 2024 21:55:23 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: 74250 <at> debbugs.gnu.org Subject: Re: bug#74250: emacs-guix: guix-pull invalid input error In-Reply-To: Christopher Howard's message of "Thu, 07 Nov 2024 13:53:09 -0900 (1 week, 4 days, 21 hours ago)" Date: Tue, 19 Nov 2024 11:55:13 -0900 Message-ID: <87h683djv2.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74250 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) From what I can tell, the only place that &package-input-error can be raised from is guix/packages.scm:41:25. From the error, it seems that input (\"source\" #<origin \"mirror://gnu/guile/guile-3.0.9.tar.xz\" #<content-hash sha256:03bm1mnfc9kkg2ls942a0js7bxrdzmcffgrgg6anwdmjfan2a9hs> () 7efc797e9c00>) is not matching any of the match candidates in the expand-input procedure in (guix packages). Does anything about this input look malformed, or...? -- Christopher Howard
bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Nov 2024 22:53:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 07 17:53:22 2024 Received: from localhost ([127.0.0.1]:50250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t9BNR-0000ih-Um for submit <at> debbugs.gnu.org; Thu, 07 Nov 2024 17:53:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:37430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christopher@HIDDEN>) id 1t9BNQ-0000iZ-GD for submit <at> debbugs.gnu.org; Thu, 07 Nov 2024 17:53:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <christopher@HIDDEN>) id 1t9BNQ-0005HR-9R for bug-guix@HIDDEN; Thu, 07 Nov 2024 17:53:20 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <christopher@HIDDEN>) id 1t9BNO-0001wv-5A for bug-guix@HIDDEN; Thu, 07 Nov 2024 17:53:20 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 7141E30E4C3C for <bug-guix@HIDDEN>; Thu, 7 Nov 2024 23:53:16 +0100 (CET) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20240523; t=1731019993; x=1732834394; bh=JO+a3i2pUwPVVwlhlDmbAoLlRJ6Jlh8bVBBlULYYODA=; b=DCEwxSbxFKUy 4/xKpnbn2RqRfQcXnf8SwxEeBmBwVDGqouLjjMa6T7Bj+1UQWlnvSsOAPiKt079B N8wHAnO7Cz+1pHsCL0pH07w1i43qidL0bRegt+IJ7Uvn7HtkVSOz5NuIh5xCSALf HOEPt3dBoamTBL+pk4sB4Zhm5kDKv3j9Y+pGTSH7TUk/M4kCoPUmTCKRJnJ2JrKC GBWs3oauTPKBC8vMj9c++LRCFD3bgGXmdSe3a2KKD3DGG+SbFRqmc/eFxLgD84Ph 5ewi0/BbIdW3EqQLDYHtDxp24BTtMM9FRmydUlhrcoM/+E4xOiPLJuuyWDxoqZ9X 0ROx6yNbhQ== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id mTHGodbkXXLD for <bug-guix@HIDDEN>; Thu, 7 Nov 2024 23:53:13 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 4624D30E4C3B for <bug-guix@HIDDEN>; Thu, 7 Nov 2024 23:53:12 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 36FBA30CC0C4 for <bug-guix@HIDDEN>; Thu, 7 Nov 2024 23:53:12 +0100 (CET) From: Christopher Howard <christopher@HIDDEN> To: bug-guix@HIDDEN Subject: emacs-guix: guix-pull invalid input error Date: Thu, 07 Nov 2024 13:53:09 -0900 Message-ID: <87h68iy7u2.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=212.103.80.155; envelope-from=christopher@HIDDEN; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Recently (the last week or two?) I've run into this problem where if I atte= mpt to use guix-pull, which runs a "guix pull" from the *Guix REPL*, I get = this error: ``` scheme@(emacs-guix)> (guix-command "pull") Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Building from this channel: guix https://git.savannah.gnu.org/git/guix.git 2a6d964 guix pull: error: gnu/packages/commencement.scm:3333:4: package `guile@HIDDEN= 9' has an invalid input: ("source" #<origin "mirror://gnu/guile/guile-3.0.9= .tar.xz" #<content-hash sha256:03bm1mnfc9kkg2ls942a0js7bxrdzmcffgrgg6anwdmj= fan2a9hs> () 7f8e03e0f840>) $12 =3D #t ``` However, I have no trouble doing a normal guix pull from the command-line. = I have the same error running this with "emacs -q". I am running GNU Emacs 30.0.92 (build 2, x86_64-pc-linux-gnu, GTK+ Version = 3.24.41, cairo version 1.18.0) of 2024-10-29. Here is my system information: ``` christopher@theoden=20 -------------------=20 OS: Guix System x86_64=20 Host: OptiPlex 9020 00=20 Kernel: 5.15.167-gnu=20 Uptime: 30 days, 8 hours, 44 mins=20 Packages: 167 (guix-system), 248 (guix-user)=20 Shell: bash 5.1.16=20 Resolution: 1920x1080=20 DE: GNOME=20 Theme: Adwaita [GTK2/3]=20 Icons: Adwaita [GTK2/3]=20 Terminal: launch-local-em=20 CPU: Intel i5-4570 (4) @ 3.600GHz=20 GPU: AMD ATI Radeon HD 8490 / R5 235X OEM=20 GPU: Intel HD Graphics=20 Memory: 4596MiB / 15914MiB=20 ``` ``` guix describe Generation 151 Oct 28 2024 08:31:51 (current) guix 4009d1d repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 4009d1de954d694cb11af391d4113d29c5c1379d ``` --=20 =F0=9F=93=9B Christopher Howard =F0=9F=9A=80 gemini://gem.librehacker.com =F0=9F=8C=90 http://gem.librehacker.com =D7=91=D7=A8=D7=90=D7=A9=D7=99=D7=AA =D7=91=D7=A8=D7=90 =D7=90=D7=9C=D7=94= =D7=99=D7=9D =D7=90=D7=AA =D7=94=D7=A9=D7=9E=D7=99=D7=9D =D7=95=D7=90=D7=AA= =D7=94=D7=90=D7=A8=D7=A5
Christopher Howard <christopher@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#74250
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.