X-Loop: help-debbugs@HIDDEN
Subject: bug#74272: emacs-guix: guix-system-from-file broken
Resent-From: Christopher Howard <christopher@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 08 Nov 2024 23:24:02 +0000
Resent-Message-ID: <handler.74272.B.1731108236538 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 74272
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 74272 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.1731108236538
(code B ref -1); Fri, 08 Nov 2024 23:24:02 +0000
Received: (at submit) by debbugs.gnu.org; 8 Nov 2024 23:23:56 +0000
Received: from localhost ([127.0.0.1]:52586 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1t9YKZ-00008c-Nz
for submit <at> debbugs.gnu.org; Fri, 08 Nov 2024 18:23:56 -0500
Received: from lists.gnu.org ([209.51.188.17]:34552)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <christopher@HIDDEN>) id 1t9YKX-00008T-BT
for submit <at> debbugs.gnu.org; Fri, 08 Nov 2024 18:23:54 -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 1t9YKX-0002Tf-4X
for bug-guix@HIDDEN; Fri, 08 Nov 2024 18:23:53 -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 1t9YKU-00086j-Oq
for bug-guix@HIDDEN; Fri, 08 Nov 2024 18:23:52 -0500
Received: from localhost (unknown [127.0.0.1])
by mx.kolabnow.com (Postfix) with ESMTP id 7544B217124C
for <bug-guix@HIDDEN>; Sat, 9 Nov 2024 00:23:48 +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:subject:subject:from:from:received
:received:received; s=dkim20240523; t=1731108225; x=1732922626;
bh=Btnp/cWa2f6GC9rq1gJ3GCzVRf05qOamdJ5iCKjIflM=; b=Ni1UijU397DG
kmkDRqyk1ECTiBjiZBjLmDoAbkp0f8Zl2hOOate/o3SM2QZB+l+6/YXbxtNv+aQu
welXeM90GquDKTt9TOcVn4d14t9eehxapOdKL7SWH8cmJkrfQtP/YBWE6kikdyKQ
Kgc9C+fGda00AxCj+hxtdH9QJI91QfhQcqOr51vd41J+qGBosMWlPZjS0C+HAPFE
w/lMR7QoCIZuaEwqnakjbMXPIJT+sT/7qw2orX/BdC6WFOzb7UT/CoaztDzXHsry
NSdVol7nM+QrRxyTxsFYeFr60p38mDFGZoRLy+S+WWObEQFSxwNiUnjJyWFaqS0w
67O00aPLVw==
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-out011.mykolab.com [127.0.0.1]) (amavis, port 10024)
with ESMTP id 06yx-SavB0df for <bug-guix@HIDDEN>;
Sat, 9 Nov 2024 00:23:45 +0100 (CET)
Received: from int-mx009.mykolab.com (unknown [10.9.13.9])
by mx.kolabnow.com (Postfix) with ESMTPS id 1FFBA2170E7E
for <bug-guix@HIDDEN>; Sat, 9 Nov 2024 00:23:44 +0100 (CET)
Received: from ext-subm010.mykolab.com (unknown [10.9.6.10])
by int-mx009.mykolab.com (Postfix) with ESMTPS id E476B20C6F16
for <bug-guix@HIDDEN>; Sat, 9 Nov 2024 00:23:18 +0100 (CET)
From: Christopher Howard <christopher@HIDDEN>
Date: Fri, 08 Nov 2024 14:23:16 -0900
Message-ID: <875xoxtimz.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-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 (---)
I get an error when attempting to run guix-system-from-file, which is run w=
ith command M-x guix y y. After entering path to the system configuration f=
ile, I get this error:
```
Debugger entered--Lisp error: (error "Error in evaluating guile expression:=
ice-9/boot-9.scm:1685:16: In procedure raise-exception:\nerror: system-sex=
ps: unbound variable\n\nEntering a new prompt. Type `,bt' for a backtrace =
or `,q' to continue.")
signal(error ("Error in evaluating guile expression: ice-9/boot-9.scm:168=
5:16: In procedure raise-exception:\nerror: system-sexps: unbound variable\=
n\nEntering a new prompt. Type `,bt' for a backtrace or `,q' to continue."=
))
error("Error in evaluating guile expression: %s" "ice-9/boot-9.scm:1685:1=
6: In procedure raise-exception:\nerror: system-sexps: unbound variable\n\n=
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.")
(if (geiser-eval--retort-error res) (error "Error in evaluating guile exp=
ression: %s" (geiser-eval--retort-output res)) (cdr (assq 'result res)))
(let ((res (geiser-eval--send/wait (list ':eval (list ':scm str)) guix-ge=
iser-connection-timeout))) (if res nil (error "Sorry, the evaluation is abo=
rted because it has taken too much time.\nTry to increase the value of `gui=
x-geiser-connection-timeout'\nvariable if you have a slow machine, or pleas=
e report if you\nthink this command takes unreasonably long time to run."))=
(if (geiser-eval--retort-error res) (error "Error in evaluating guile expr=
ession: %s" (geiser-eval--retort-output res)) (cdr (assq 'result res))))
(save-current-buffer (set-buffer (or repl (guix-geiser-repl))) (let ((res=
(geiser-eval--send/wait (list ':eval (list ':scm str)) guix-geiser-connect=
ion-timeout))) (if res nil (error "Sorry, the evaluation is aborted because=
it has taken too much time.\nTry to increase the value of `guix-geiser-con=
nection-timeout'\nvariable if you have a slow machine, or please report if =
you\nthink this command takes unreasonably long time to run.")) (if (geiser=
-eval--retort-error res) (error "Error in evaluating guile expression: %s" =
(geiser-eval--retort-output res)) (cdr (assq 'result res)))))
(let ((gc-cons-threshold (max gc-cons-threshold 10000000))) (save-current=
-buffer (set-buffer (or repl (guix-geiser-repl))) (let ((res (geiser-eval--=
send/wait (list ':eval (list ... str)) guix-geiser-connection-timeout))) (i=
f res nil (error "Sorry, the evaluation is aborted because it has taken too=
much time.\nTry to increase the value of `guix-geiser-connection-timeout'\=
nvariable if you have a slow machine, or please report if you\nthink this c=
ommand takes unreasonably long time to run.")) (if (geiser-eval--retort-err=
or res) (error "Error in evaluating guile expression: %s" (geiser-eval--ret=
ort-output res)) (cdr (assq 'result res))))))
guix-geiser-eval("(system-sexps 'from-file '(\"/home/christopher/Repos/cm=
h/systems/work.scm\") '(file number-of-packages number-of-services kernel b=
ootloader firmware initrd-modules))" #<buffer *Guix Internal REPL*>)
(car (guix-geiser-eval str repl))
(guix-guile-read-from-string (car (guix-geiser-eval str repl)))
guix-geiser-eval-read("(system-sexps 'from-file '(\"/home/christopher/Rep=
os/cmh/systems/work.scm\") '(file number-of-packages number-of-services ker=
nel bootloader firmware initrd-modules))" #<buffer *Guix Internal REPL*>)
(let ((result (guix-geiser-eval-read str (guix-get-repl-buffer 'internal)=
))) (if (and (consp result) (eq (car result) 'in-file)) (guix-guile-read-fr=
om-file (cdr result)) result))
guix-eval-read("(system-sexps 'from-file '(\"/home/christopher/Repos/cmh/=
systems/work.scm\") '(file number-of-packages number-of-services kernel boo=
tloader firmware initrd-modules))")
(let ((sexps (guix-eval-read (guix-make-guile-expression 'system-sexps se=
arch-type search-values params)))) (if (eq search-type 'from-file) (mapcar =
#'(lambda (alist) (cons (cons 'file (car search-values)) alist)) sexps) sex=
ps))
guix-system-get-entries(from-file ("/home/christopher/Repos/cmh/systems/w=
ork.scm") (file number-of-packages number-of-services kernel bootloader fir=
mware initrd-modules))
guix-system-info-get-entries(from-file "/home/christopher/Repos/cmh/syste=
ms/work.scm")
apply(guix-system-info-get-entries (from-file "/home/christopher/Repos/cm=
h/systems/work.scm"))
bui-get-entries(guix-system info (from-file "/home/christopher/Repos/cmh/=
systems/work.scm"))
bui-get-display-entries(guix-system info (from-file "/home/christopher/Re=
pos/cmh/systems/work.scm"))
guix-system-get-display(from-file "/home/christopher/Repos/cmh/systems/wo=
rk.scm")
guix-system-from-file("/home/christopher/Repos/cmh/systems/work.scm")
funcall-interactively(guix-system-from-file "/home/christopher/Repos/cmh/=
systems/work.scm")
call-interactively(guix-system-from-file)
magit-invoke-popup-action(121)
funcall-interactively(magit-invoke-popup-action 121)
call-interactively(magit-invoke-popup-action nil nil)
command-execute(magit-invoke-popup-action)
```
--=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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Christopher Howard <christopher@HIDDEN> Subject: bug#74272: Acknowledgement (emacs-guix: guix-system-from-file broken) Message-ID: <handler.74272.B.1731108236538.ack <at> debbugs.gnu.org> References: <875xoxtimz.fsf@HIDDEN> X-Gnu-PR-Message: ack 74272 X-Gnu-PR-Package: guix Reply-To: 74272 <at> debbugs.gnu.org Date: Fri, 08 Nov 2024 23:24:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 74272 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74272: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74272 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#74272: emacs-guix: guix-system-from-file broken
References: <875xoxtimz.fsf@HIDDEN>
Resent-From: Christopher Howard <christopher@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 05 Dec 2024 17:31:02 +0000
Resent-Message-ID: <handler.74272.B74272.17334198602969 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74272
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 74272 <at> debbugs.gnu.org
Received: via spool by 74272-submit <at> debbugs.gnu.org id=B74272.17334198602969
(code B ref 74272); Thu, 05 Dec 2024 17:31:02 +0000
Received: (at 74272) by debbugs.gnu.org; 5 Dec 2024 17:31:00 +0000
Received: from localhost ([127.0.0.1]:40550 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tJFgq-0000lo-EP
for submit <at> debbugs.gnu.org; Thu, 05 Dec 2024 12:31:00 -0500
Received: from mx.kolabnow.com ([212.103.80.154]:50842)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <christopher@HIDDEN>) id 1tJFgn-0000lR-9O
for 74272 <at> debbugs.gnu.org; Thu, 05 Dec 2024 12:30:58 -0500
Received: from localhost (unknown [127.0.0.1])
by mx.kolabnow.com (Postfix) with ESMTP id BB4CE310A8F0
for <74272 <at> debbugs.gnu.org>; Thu, 5 Dec 2024 18:30:49 +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=1733419848; x=1735234249; bh=R6lSkH
OZzPu3KOX+DjSgoz5jfEdD2kAz7VYZhgsK9lQ=; b=DTjZpesqUSQZ2Bdp/XdLcJ
sT9SFVj85y7DgiF6iySYQQOAloM7oAhkuTPAPBa074L2ivTPHG0CzJ1KdRBRojb9
8mC3le6m9uj7iOi1cGSSBbLyZWl0L7f6E62NzwLeXqkhxiBO/seCCx+vr+DB2Wu6
So9PmMUGIJSsMix1K65T0noFeUJvYy8YR40vecBfE9zQgmNrKFYTtUo7/Y8uouvB
3vR5/BssiQdtcvAoQmE4mi0IX8+zTmtBuQwMCkxCJMXB79gdV+D4RZGZHcNWEWPk
eZdyGnF4zskUYCBb3hbAE5Ez3uhLERa4uXGUtdoIMtJ/kUhRnDyVWNA5WgTDyCMQ
==
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 E_txHSPZGkew for <74272 <at> debbugs.gnu.org>;
Thu, 5 Dec 2024 18:30:48 +0100 (CET)
Received: from int-mx009.mykolab.com (unknown [10.9.13.9])
by mx.kolabnow.com (Postfix) with ESMTPS id CC39130D84A1
for <74272 <at> debbugs.gnu.org>; Thu, 5 Dec 2024 18:30:47 +0100 (CET)
Received: from ext-subm010.mykolab.com (unknown [10.9.6.10])
by int-mx009.mykolab.com (Postfix) with ESMTPS id B53A920C2B2A
for <74272 <at> debbugs.gnu.org>; Thu, 5 Dec 2024 18:30:47 +0100 (CET)
From: Christopher Howard <christopher@HIDDEN>
In-Reply-To: Christopher Howard's message of "Fri, 08 Nov 2024 14:23:16 -0900
(3 weeks, 5 days, 18 hours ago)"
Date: Thu, 05 Dec 2024 08:30:44 -0900
Message-ID: <871pymox4r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
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 find this problem, like my other emacs-guix issues I have reported, goes away if I set guix-repl-use-server to nil. Evidentally something is broken with regards to *Guix Internal REPL*, where it is not loading code correctly.
--
Christopher Howard
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.