From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qFmaLK+dLmes2AAAe85BDQ:P1 (envelope-from ) for ; Fri, 08 Nov 2024 23:24:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qFmaLK+dLmes2AAAe85BDQ (envelope-from ) for ; Sat, 09 Nov 2024 00:24:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=d9ScqwxO; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=Ni1UijU3; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731108271; a=rsa-sha256; cv=none; b=Q41LjAFWX5Bd7C0o9nu8a/WRUxrbKcWzvhDTzl3MGLx+ZGl3GTehVDmhiWMfNYAJDs3l+V /qOx6sM0KHBlYlq2LZ8HKH66G6JVG3Z0GiDcnW4tx8iMPbSBdbbpxoG7c5fj4d4QrXOto2 OU3w/qH0BqlB8ejIALo/THqhO+s7DbGTOTPX5OKw7cx78OUr+BHp3d+Lf2jv69B7GBqSTH pekA7DV+p8COb2c5a82CsZk7a+IQD/kq07OFpa8c1X2Q5hcaOi80YuexKqyc3W1Im+R7tC +yWSd8/ntCh810tOM7nJbULql1V0NvdVfsYacK6qdei6X//3P0nLtFhyodvIHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=d9ScqwxO; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=Ni1UijU3; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731108271; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Btnp/cWa2f6GC9rq1gJ3GCzVRf05qOamdJ5iCKjIflM=; b=P2JTEKk+MpFbung3jjzDe8xyXNgASZBUZToere+z8nuJwKbjBVkPafKvCBjnD7j3EARMYc PfHPuCCZTl86LPDg09orCirutEmSdBwwp2lBlG1cND8N72HDceGb0gUL7QGVpjvv4il/A5 yAKoEUGxQBW0y9R3OTiwgt+AAsggzyKSr7b8UMzu8ur0Qyc0hc92Qon7PSZzowQtIAdDCO S3SzYcgIxR6Fuz5quRtM5d0zYr5TkyemMmYm6VXiXeeuHkIvvQDtud1JxhBM5Q347JKyLR UpLli1L8roHaPvAIJLWVXqFGYcsKiPWf8Ab+Fq7soiSssmZo+sRXJcqOaa8tUg== 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 58B401C1B6 for ; Sat, 09 Nov 2024 00:24:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9YKj-0002UY-82; Fri, 08 Nov 2024 18:24:05 -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 ) id 1t9YKh-0002U6-Qt for bug-guix@gnu.org; Fri, 08 Nov 2024 18:24:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9YKh-00087D-I9 for bug-guix@gnu.org; Fri, 08 Nov 2024 18:24:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=Btnp/cWa2f6GC9rq1gJ3GCzVRf05qOamdJ5iCKjIflM=; b=d9ScqwxO+azQ59kx6s+l+Rf+NZ2CF/CyQVjXKPZjSd8MIqp2RjeSd0nbzBlWsNtz5rud5ltggMB8h4QTAEo23gKEPbX9hv5kOSmePy5zVS6OiaG2dhhUgtxm03WMeyhFg2NPY+x197XtnaPveEVBH/jGf52PxpgJqiAqZUmTZSaTWd6+MGWNH1o/v3RfefsK3susIcVu/gddnG3r9xay1IpRkptP1sOrjcUI6HTkeZMg0r/o4+l0JTEVUBOeFf64W+6zGZUbpqrjciS9Kz2N0K/fLV7+AQukeA8tPPE3sbWSkC67kZ+zzyeYYks5lgVKO9cF/hpBbg2EUChKmQO+BQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9YKg-000091-Ry for bug-guix@gnu.org; Fri, 08 Nov 2024 18:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74272: emacs-guix: guix-system-from-file broken Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 08 Nov 2024 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74272 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74272@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1t9YKZ-00008c-Nz for submit@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 ) id 1t9YKX-00008T-BT for submit@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 ) id 1t9YKX-0002Tf-4X for bug-guix@gnu.org; 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 ) id 1t9YKU-00086j-Oq for bug-guix@gnu.org; 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 ; Sat, 9 Nov 2024 00:23:48 +0100 (CET) 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 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 ; 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 ; 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 ; Sat, 9 Nov 2024 00:23:18 +0100 (CET) From: Christopher Howard Date: Fri, 08 Nov 2024 14:23:16 -0900 Message-ID: <875xoxtimz.fsf@librehacker.com> 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@librehacker.com; 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: 58B401C1B6 X-Migadu-Scanner: mx10.migadu.com X-TUID: 50MCChRJPkD6 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))" #) (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))" #) (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