From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2D70Id9gQmbUPQAAe85BDQ:P1 (envelope-from ) for ; Mon, 13 May 2024 20:50:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2D70Id9gQmbUPQAAe85BDQ (envelope-from ) for ; Mon, 13 May 2024 20:50:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b41zrWwa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1715626207; a=rsa-sha256; cv=none; b=RcCebhmuv64TPeXsYU3RzqGvoD+U1yifE2Cy+LlYEADAthBRfHEltkXvkw9EjYFuG7mYU0 iZqmX8QV6q3wxV4sgNHzc5tJvuWrdhfrp51wWKcytFYCZ9FgVcKRr1FHWTVTqruVd3gP9m JJ1JpMYXGp3EhggDbzAJyTwzFSvp//l1gXknhmQv98C0CNEUOsoYDprA+oTziO/+Wg4v9u mwqcGgymbqEM1AV7oTUeLt6SAo+DnGKm8QcadbCI/SyzuQ2FWTaIVqc4iMeNKXITjuZovb B/kqo924S3nI8fBNv3uuvuwRJ/UynhmYTlIfCwAG/dDPT+tpA5QyJiVTohUL+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b41zrWwa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1715626207; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=E3//rwzCtFtgUijnQQ1bP+7XSCBKT3MsazeW4g1RUzw=; b=FgACOEcw4kV0wpXUJxa1ICAejAi1VGWKXxZth01olClKzFOsYYreKvxLoAVsAmIdithnsl AK9HYjTaES0+Owcs1d7ynlP/9CFp/l7bOe3iumIth7wb1cs5OaTKOXT2fSTqCAZd8jxNxs TBYqS6fsQ3zrVeV9599PbOJVMQKhvAtvDAYQhhf7STgQ2MCM+hCoPJXYmF7GyYbI+Yeuhh ZpZtRDHbb2CJCYsDGrTklFt/p/PtuqIjtE2GjU2PQpSKDNYkUFijJS4IvoDE5+keYezKC1 /dJq12Sa6myAlwOCm9JaFm6Jaiaf9RMTZl0pbitt8U0mVtqnRFviOE6dShOpfQ== 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 3FC8110D2E for ; Mon, 13 May 2024 20:50:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6aMC-0007zX-TB; Mon, 13 May 2024 14:25:05 -0400 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 1s6Nr1-0003Oc-EW for bug-guix@gnu.org; Mon, 13 May 2024 01:04:05 -0400 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 1s6Nr1-0004f9-5v for bug-guix@gnu.org; Mon, 13 May 2024 01:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Nr1-0007WC-EH for bug-guix@gnu.org; Mon, 13 May 2024 01:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70910: xdot has stopped working after update to 1.3 Resent-From: Ada Stevenson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 May 2024 05:04:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70910 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70910@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171557662228852 (code B ref -1); Mon, 13 May 2024 05:04:03 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2024 05:03:42 +0000 Received: from localhost ([127.0.0.1]:58416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Nqe-0007VB-CZ for submit@debbugs.gnu.org; Mon, 13 May 2024 01:03:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:33984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6NYb-0007AA-Eq for submit@debbugs.gnu.org; Mon, 13 May 2024 00:45:03 -0400 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 1s6NYG-0007aK-Hg for bug-guix@gnu.org; Mon, 13 May 2024 00:44:43 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6NYE-0000KA-RZ; Mon, 13 May 2024 00:44:40 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1ec69e3dbcfso29228655ad.0; Sun, 12 May 2024 21:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715575475; x=1716180275; darn=gnu.org; h=subject:from:cc:content-language:to:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=E3//rwzCtFtgUijnQQ1bP+7XSCBKT3MsazeW4g1RUzw=; b=b41zrWwatjKf29cooYqA7x1+toCVsUBSPtFCUxQtDdjJAjBIEqU/RZfRF7nxoSQlIT 2Y09QvPcxHxd3VtmT3YXL2ECTllQBFhvfrqQCoVTH974cfRtchCfdZ/2OFAKkWZv0kHF gLZjjRVLsdBvoJ0DfZbp8V7woOY7GxnJmmnrdCXieO6Q4PhFjQYubRFpmv4AX4alPxff 4YS9Kwfir4Oyf2aiMZ0IGCUhHgxww1jahtrzAG6Jy3qMnF/AxdibdqD53OfjS6o8UUGo 9BEQOYiABJPoCWPKWj/+S+V1BiH4KASs28FMMv84wUs6pHQX8qfGXzmyHHQUGmo4FpKP FYgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715575475; x=1716180275; h=subject:from:cc:content-language:to:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E3//rwzCtFtgUijnQQ1bP+7XSCBKT3MsazeW4g1RUzw=; b=Vl/lZ96cO9dXtuJ3/sBe4EUgW0iTr390mGqUn4fwtCjllJ+8IeZFUIVJPfU6qmupLi t59WJ//jmJKOmBItcY7b2oXREE29Qx79lVnaYD760CGwwUGdstIk9xtsgt0QSVm0g+Du yBNUE/xj93XIz70+98koqV/Is5XGC20Tws95eIEw4DTEc2+o/hxSn2CxbJ6hmYsdBRvp Ck6EUmQkoQLuMsThQ3DM/YwaR95yixa1h5WW1+l1drXJdVdAEEi33mzaUjC7vC+J25D/ 6Bz21s1qO2wmmZbCbgMQ+7/R+9HZ6Sl/IMzNWfJ0Uh5c/bZKBYWz18HamB/OXaX9cbQZ Tvaw== X-Gm-Message-State: AOJu0Yw1m1UMBXL9MGB/ugohSYx+Rh2B4BZGyp6vXUkahAC8yLr+rG5z DZYgXk0u4zR2oxwSWmvPE2YWAGxtgm46pa6jJ770dK7McRCJdbuoSsuMzw== X-Google-Smtp-Source: AGHT+IGSY9EqCjE/UqkNC26mE1Mi52f7oqqAZcc+VFvfP5gT/nGHaXggq+Zwsgi9Mh7aOYeJpG6tkQ== X-Received: by 2002:a17:902:a385:b0:1eb:4950:554f with SMTP id d9443c01a7336-1ef43d1574amr85698575ad.22.1715575474784; Sun, 12 May 2024 21:44:34 -0700 (PDT) Received: from [10.105.16.239] ([116.212.244.50]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c037207sm69583975ad.221.2024.05.12.21.44.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 May 2024 21:44:34 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------14jhWvFAnxIUAk3F3HAtxQjm" Message-ID: Date: Mon, 13 May 2024 04:44:29 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US From: Ada Stevenson Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=adanskana@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 13 May 2024 01:03:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 13 May 2024 14:25:02 -0400 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-Queue-Id: 3FC8110D2E X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.43 X-Spam-Score: 2.43 X-TUID: EgikGZs/fJ3P This is a multi-part message in MIME format. --------------14jhWvFAnxIUAk3F3HAtxQjm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Guix, I was trying to use `xdot` to view to output of `guix graph` (`guix graph bash | xdot -`). However, it crashed instantly with the following stack trace: > dot: No such file or directory > Traceback (most recent call last): >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/bin/.xdot-real", > line 33, in >     sys.exit(load_entry_point('xdot==1.3', 'gui_scripts', 'xdot')()) >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/__main__.py", > line 80, in main >     win.set_dotcode(sys.stdin.buffer.read()) >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", > line 712, in set_dotcode >     if self.dotwidget.set_dotcode(dotcode, filename): >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", > line 148, in set_dotcode >     if self._set_dotcode(dotcode, filename, center=center): >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", > line 134, in _set_dotcode >     xdotcode = self.run_filter(dotcode) >   File > "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", > line 129, in run_filter >     return xdotcode > UnboundLocalError: local variable 'xdotcode' referenced before assignment Using `guix time-machine` I was able to identify the regression commit as 2aeb9faa421635c0531d96658414e5bf288a3142 (when Ludo' updated it to 1.3). Using `xdot` within the time machine inside the parent commit works. I've cc'd Ludo' and hopefully we can fix this! Warmly, Ada --------------14jhWvFAnxIUAk3F3HAtxQjm Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi Guix,

I was trying to use `xdot` to view to output of `guix graph` (`guix graph bash | xdot -`). However, it crashed instantly with the following stack trace:

dot: No such file or directory
Traceback (most recent call last):
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/bin/.xdot-real", line 33, in <module>
    sys.exit(load_entry_point('xdot==1.3', 'gui_scripts', 'xdot')())
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/__main__.py", line 80, in main
    win.set_dotcode(sys.stdin.buffer.read())
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", line 712, in set_dotcode
    if self.dotwidget.set_dotcode(dotcode, filename):
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", line 148, in set_dotcode
    if self._set_dotcode(dotcode, filename, center=center):
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", line 134, in _set_dotcode
    xdotcode = self.run_filter(dotcode)
  File "/gnu/store/r9mrqfpci65hsypgm7r5kpzxlm6fcd1l-xdot-1.3/lib/python3.10/site-packages/xdot/ui/window.py", line 129, in run_filter
    return xdotcode
UnboundLocalError: local variable 'xdotcode' referenced before assignment

Using `guix time-machine` I was able to identify the regression commit as 2aeb9faa421635c0531d96658414e5bf288a3142 (when Ludo' updated it to 1.3). Using `xdot` within the time machine inside the parent commit works.

I've cc'd Ludo' and hopefully we can fix this!

Warmly,

Ada

--------------14jhWvFAnxIUAk3F3HAtxQjm--