From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wHGFDLezCWI1RAAAgWs5BA (envelope-from ) for ; Mon, 14 Feb 2022 02:43:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id hzrSCbezCWI+eAEA9RJhRA (envelope-from ) for ; Mon, 14 Feb 2022 02:43:19 +0100 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 79F073362C for ; Mon, 14 Feb 2022 02:43:18 +0100 (CET) Received: from localhost ([::1]:55522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJQOa-0004Xx-UZ for larch@yhetil.org; Sun, 13 Feb 2022 20:43:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJQO2-0004Xo-Sf for help-guix@gnu.org; Sun, 13 Feb 2022 20:42:44 -0500 Received: from [2607:f8b0:4864:20::829] (port=46786 helo=mail-qt1-x829.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJQO0-0000fs-RG for help-guix@gnu.org; Sun, 13 Feb 2022 20:42:42 -0500 Received: by mail-qt1-x829.google.com with SMTP id t1so14266583qtq.13 for ; Sun, 13 Feb 2022 17:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EtpZVp+dfgB7LmlAXzDf5hEmOwREwUhxCa4Elz7/yc0=; b=AUg0iH3TyhJZQU+hPgz0Z97wgIq6mzGa4cscjWF/ws9dL4Ji9pkKnAJiZB/Ev5BvuY udUw1yNoyJXSJdxosZ6A5yBVB6XKKclOFk9/+wxgxTL5MG8cRKx77RDrnfooGnSNm8VJ ZsmhTt8RDhW8m4bEeH7x4+SbNlhoKwvcIQdSDn0dFxmghqkErTDjXGuVNlSHQwoPFap3 n9D1rsN7Hcql2MllyLLXhXp4vZ8Uj+pWgid33SNbtHvpllCcKqdNQNcv82D1RjxtHPHc fIU+zOeCbNZbO2kLYsfl0ojr1BMJnBVWGQCaGvIT5v4zgsLNxRl3KhQIFkqnYKcWqoSq +wTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EtpZVp+dfgB7LmlAXzDf5hEmOwREwUhxCa4Elz7/yc0=; b=Eam4duqfyXPyMNjvYLnpOasrjgYrGSB4SliranEtTZIqeh8ub7BB+FnaoAhrKegUMl a0FoCS2/7HwRUfUVWcunsVhesS6sLnKUoc3GZh09YCRV3fzxR3rt63sd/xbAGmU7b4XR u3pF8Q/Jfkj/tZwD1jkp7lBsmV2eLIjW0ZjBbPM+f3dpxkyF2bsSztamDIr2hojWQ4wn g3GUnE/aK2XAB5szZ1HnuUZQa7OsZgfytY1v/hhygwkc9MvqGYP7N2P5uhEgtnvQ1t+u CXSUhAn33waDLxsbsF3U4zlqrpQx1lFhyxkklnDFclNdQeygn821J5jtr5ftfXeLDIBC Te0Q== X-Gm-Message-State: AOAM531hQbcU3Z24LPqRViMVzcZXnJMtH5Dx63YANbquiJYLmwW0F6c4 rAJc0zv0i0XEy3tOu9lAEj08b5JyfXGEpqQmB0E= X-Google-Smtp-Source: ABdhPJwxC6yWkWb76IhVlab/VpSpm5WbuXfQeEbcD+9heShvG/xCfVNq1k/litLfoqma6XFXgINuVKo8CBns8zQobSY= X-Received: by 2002:a05:622a:296:: with SMTP id z22mr8126276qtw.13.1644802959157; Sun, 13 Feb 2022 17:42:39 -0800 (PST) MIME-Version: 1.0 References: <87k0e2u8w3.fsf@ruhr-uni-bochum.de> <87fsomx3wi.fsf@ruhr-uni-bochum.de> In-Reply-To: <87fsomx3wi.fsf@ruhr-uni-bochum.de> From: Jacob MacDonald Date: Sun, 13 Feb 2022 19:42:28 -0600 Message-ID: Subject: Re: trash-cli commands fail after upgrade to 0.21.10.24 To: =?UTF-8?Q?Daniel_Mei=C3=9Fner?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::829 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=jaccarmac@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 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, PDS_HP_HELO_NORDNS=0.785, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644802998; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EtpZVp+dfgB7LmlAXzDf5hEmOwREwUhxCa4Elz7/yc0=; b=Cj46JJPtxbkUu5L37hXs6qpqWApHeL8q1PeSlRFa7+6ldMCKnQfQyffhwRilXlGQ/sI+49 7OrO09cR8g2FMSP8lkalAECnNJ0mng5LrbJHnJqIczUW5xlCKyRY+n9lAqPhpbGyK0FDz/ cRdPkM2IOtniizuXiR7+B8rate6CN4Avfj5zQ9oI+xcl8IN3flNIEUhuDUOqrjxRXG2n1m Rym8R0Pwcnp9E3pm9dTXEMhMsMS98PeGNn7es8uLTi2N8A6JMg6ACpjHEfMDpNSojyqw7U ZqzCiCNk/tZRVQ/WbSqBX9WJneltWTwMIC+8M4hhP8DtlDGfDlq+iojNAWseEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644802998; a=rsa-sha256; cv=none; b=YpCkHV6WmGWKyw2I9z09PMnsnFP/ju1odJ2a+8A8AwNI4GXwRjKvxf+Kg+prkGh0F8ENI7 P57MpehHoEYnmpjHMC7y68iu27erK4K1fN3SReMwiOBSmlF09x/ggvkKJaLlYVOFDumfwm D7qVyc6sxbEtgQyesKWizU7Gzii+ARPzhXFizgILHttgVhZY3rQwmijO8WqC8mG1GFx1PG v1tSds8NAQqZtghAYaJuZs7R5Szp5FxNFKuuaPVMPHCVwQaq0c099/YdLIVpMOgOn1T+C2 TIwzp2qspOz9pKnn723/OCQzq8dlTsqsRy0adLTTnwE3jdRqq08IC38SkSFAxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AUg0iH3T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AUg0iH3T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 79F073362C X-Spam-Score: -9.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: k2WbaOfOcV0h On Sun, Feb 13, 2022 at 8:00 AM Daniel Mei=C3=9Fner wrote: > after setting GUIX_PYTHONPATH I was able to get the cli working Thanks for investigating. I had missed that environment variable, and it looks like python-wrapper adds it to Guix's .profile. With the proper environment variable and no python-wrapper, the program works fine. > This means the package needs a fix. We could either patch the scripts > ... > or maybe we could use the wrap-program procedure to wrap it with GUIX_PYT= HONPATH set correctly. I took a look at the changes in 39510d5a5e4e0e38cd3d3bc944d5bf6d96242493, wrap-python3 in (gnu packages python.scm), and the Python build system. There may be other source code which answers my question, but: Did that version-bumping commit break trash-cli with the version upgrade or with the new phase? Does wrap-python3 write environment variables to my Guix profile somehow, or does it just update what the wrapped package outputs?