From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iEeELjRgBWKfagEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 19:57:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6AchKzRgBWLezAAAauVa8A (envelope-from ) for ; Thu, 10 Feb 2022 19:57:56 +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 790E129BF2 for ; Thu, 10 Feb 2022 19:57:56 +0100 (CET) Received: from localhost ([::1]:43932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIEdf-0000jZ-KT for larch@yhetil.org; Thu, 10 Feb 2022 13:57:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI9rp-0000jO-Fn for help-guix@gnu.org; Thu, 10 Feb 2022 08:52:14 -0500 Received: from out3.mail.ruhr-uni-bochum.de ([134.147.53.155]:60533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI9rn-00033p-27 for help-guix@gnu.org; Thu, 10 Feb 2022 08:52:12 -0500 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JvdTd5Gnxz8SCV; Thu, 10 Feb 2022 14:52:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1644501125; bh=j+yOJ36QWBqZmPvwSDTLDynZhoZagfvwC9wTEVMbJiw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=szlLDypV9XjE+tmjPd8syx+YjoOd9ciAgzt/jZAQIfpnlc/1Bkw8Yqxj9mQveLOYh PCHF0PufXB3/tINpLDPs3/mSE8Q5m46D2Sxmz6NEKh1MhbWQjuFVuHiGkebmixovFG TNGSBNHInXwaVObg3XUkC05iBB2QUlFRBEYMUdZ4= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JvdTd4kmSz8S92; Thu, 10 Feb 2022 14:52:05 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JvdTd2Fz3z8S7r; Thu, 10 Feb 2022 14:52:05 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx3.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JvdTd0s6DzDgyX; Thu, 10 Feb 2022 14:52:05 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= To: Jacob MacDonald Cc: help-guix@gnu.org Subject: Re: trash-cli commands fail after upgrade to 0.21.10.24 References: Date: Thu, 10 Feb 2022 14:51:56 +0100 In-Reply-To: (Jacob MacDonald's message of "Fri, 4 Feb 2022 22:39:44 -0600") Message-ID: <87k0e2u8w3.fsf@ruhr-uni-bochum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=134.147.53.155; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out3.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , 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=1644519476; 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=zHIJNgHcx9VWo4qF9RdwVGTG3MSyIsAU929K7Axk5DI=; b=IZ+dcDxO5YwUQkfKTgLETClOtEN5YPe3nKQWP0t+bdNhQgg5SdZ+6iId1DwQ/QVl4qBmeb Za+MS/llXftoHH7UiR8KmrpDUz1yg2ffcrpY9JIvywjIi/IBVTCQnb7k9yDmsbBpcHfv/K L6yPbZG/h3sVZw1JfgQgZuP7hzgzlXVA+L99ITBEFZ+gOg/cIcXdwo790WhEaeTyOoJDdX bTBCXIy+iY7oTZIBjLIXMgQE51KuUEXFU1WLMZF92hSt0eBiOBQcTLwJU6xhWEYCgUJ/01 y/MnDAQ5D0IlF0FohNqGkvDAmjNnN3dPgiUFg6RkTICKusLFTH3bOmub4zbJGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644519476; a=rsa-sha256; cv=none; b=E32mUoHPvTqx/DZXQcnl1UdT9Z/QxAFX2Ybjw48cBAanC5hW39hyVvqGE4k70szRaQ5yQB mxR1kTZKBaZiH8Qp12rNp9tzh3vJ4vv2W27nIYrdpvl5hT0bJk7nHhK1XcnjGVBfq8mP6O kEsxoSNJtXAf8iFsTEkkD1FJ3M/mFk2F0vh+FDNRw+VPN+yZ4rXB3IScKtsnZZFAzYWfqC /yAIlMaoWmV1ZmcjXVh89iRU4MGNBwzH+0oWmnXLWFz1JNhYHA28Tk5QnG69lJUb4Oltkj 3vMoVuz7HANX8p5pA2whXEKAT8yzarkzFt0N9ZtYjvUr2Na6ISKSwjoVaa1ZIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=szlLDypV; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; 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: -8.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=szlLDypV; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; 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: 790E129BF2 X-Spam-Score: -8.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: CMXyHHVwIGVd Hi! Jacob MacDonald writes: > I use Guix on top of a Pop!_OS install. Guix's version of trash-cli > recently updated, and the command stopped working for me. Python can't > find the 'trashcli' module unless I install python-wrapper beside it. > python-wrapper does not seem to be a propagated input of trash-cli. > I'm not sure what the expected behavior around system/Guix Python and > python-wrapper is. Is it normal to need to install Python in my > profile to launch packages written in the language? AFAIK this should work without python-wrapper. > hg is the only other script in ~/.guix-profile/bin with a Python > shebang, but it's straight to Guix's Python. The previous version of > trash-cli also didn't behave like this. Do you remember which version of trash-cli worked? In Guix=E2=80=99 histor= y I find three versions 0.12.9.14, 0.17.1.1 and 0.17.1.14. I can reproduce the problem. Interestingly, the shebang points to Python3 despite the fact that the packages requests python2: --8<---------------cut here---------------start------------->8--- daniel@xii-04 ~$ guix shell --pure trash-cli coreutils Folgende Ableitung wird erstellt: /gnu/store/7mmjs56vyc4hrgmd464bxllk9d2082sr-profile.drv Zertifikatsb=C3=BCndel der Zertifikatsautorit=C3=A4ten wird erstellt =E2=80= =A6 Liste der Emacs-Unterverzeichnisse wird erzeugt =E2=80=A6 Schriftartenverzeichnis wird erstellt =E2=80=A6 Verzeichnis von Info-Handb=C3=BCchern wird erstellt =E2=80=A6 Profil mit 2 Paketen wird erstellt =E2=80=A6 daniel@xii-04 ~ [env]$ head $GUIX_ENVIRONMENT/bin/trash #!/gnu/store/j5pp84nxd2gmlckdbf8pdljk5xh1byzc-python-wrapper-3.9.9/bin/pyth= on from __future__ import absolute_import import sys from trashcli.put import main as main sys.exit(main()) --8<---------------cut here---------------end--------------->8--- I don=E2=80=99t know if this is the root cause of the problem, though. May= be someone else who knows the python-build-system better could help. Best -- Daniel