From unknown Mon Aug 18 09:03:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49979: Duplicity BackendException: No module named 'paramiko' Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Aug 2021 14:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49979@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Reply-To: csantosb@inventati.org Received: via spool by submit@debbugs.gnu.org id=B.162860689618545 (code B ref -1); Tue, 10 Aug 2021 14:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2021 14:48:16 +0000 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDT39-0004p3-FH for submit@debbugs.gnu.org; Tue, 10 Aug 2021 10:48:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:42674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDOnh-0007tU-25 for submit@debbugs.gnu.org; Tue, 10 Aug 2021 06:16:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDOng-0001Nl-Rl for bug-guix@gnu.org; Tue, 10 Aug 2021 06:16:00 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:28501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDOne-0004jU-5O for bug-guix@gnu.org; Tue, 10 Aug 2021 06:16:00 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GkTNy0HYVzGp44 for ; Tue, 10 Aug 2021 10:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628590546; bh=OIm9XqIHSnqCpaovizYmvSS3SmXL3E0OePJQ7Nvuxm4=; h=From:To:Subject:Reply-To:Date:From; b=PUdF2yUmAhLoh1m8rhIJi3hff051kSvGyjp9je+BxdjD7jl5YRUlzKqrRs4OlOYrP mPsgRKrUCQ36H5/831FTz0uNum1yxEi5BWcknVYnT0EOknLEulwpGnZFTOb9ehW/5M EZxoJbB/b44OnWSkY11g5ZsOEe/nhD1gKZaVMMf0= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4GkTNx63JtzGp3M for ; Tue, 10 Aug 2021 10:15:45 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 28.0.50 From: Cayetano Santos Message-ID: Date: Tue, 10 Aug 2021 12:15:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=cayetano.santos@inventati.org; helo=latitanza.investici.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Tue, 10 Aug 2021 10:48:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Context: Using guix as a package manager under a foreign up to date archlinux distribution. The output of guix describe --format=channels is https://gitlab.com/csantosb/wikidata/-/blob/master/guix-profiles-backup/guix-channels.scm Problem: When using duplicity to backup to a sftp server, I get this error message BackendException: Could not initialize backend: No module named 'paramiko' I have installed python-paramiko, but this doesn't fixes the problem. From unknown Mon Aug 18 09:03:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49979: Duplicity BackendException: No module named 'paramiko' Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Aug 2021 22:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cayetano Santos Cc: 49979@debbugs.gnu.org Received: via spool by 49979-submit@debbugs.gnu.org id=B49979.16286345478095 (code B ref 49979); Tue, 10 Aug 2021 22:30:02 +0000 Received: (at 49979) by debbugs.gnu.org; 10 Aug 2021 22:29:07 +0000 Received: from localhost ([127.0.0.1]:32770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDaF8-00026V-Sw for submit@debbugs.gnu.org; Tue, 10 Aug 2021 18:29:07 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDaF5-00025z-N7 for 49979@debbugs.gnu.org; Tue, 10 Aug 2021 18:29:05 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 436EA5C0195; Tue, 10 Aug 2021 18:28:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 10 Aug 2021 18:28:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=LUicMP1z039S1pLdLcdCYvoI dqTU8ulsQeNRYGxWKqM=; b=oB5jq9xwuk0Ijs34ilLDWs3uJG/rd6KN1Yms5WeN t3BP/Jzt3EnKYWpfIYALMe8tLmtTZ0mL4s1z7apnpx7YJF8XSkgqX9O/P9CVz5ak /q5AbcaUem2fKYAEs5ouFR9xAGio4M5YIcLwNL7Fuh+Mxka5IUX5CbHQxVLNPWTw 600= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=LUicMP 1z039S1pLdLcdCYvoIdqTU8ulsQeNRYGxWKqM=; b=TyKfbEcNUQAK9ADYwHBiLx EmFS59v+ujfeWOPZrNOuN+W5Ofyqbr/0Rzaw39RWie5Mwwat+IoRDyLurUHLLHft 12+0jccDMd/fsrTBPkbCpkdbGfDt1qhc88P9UiY1gWp1thPE38jeLAuvYSpRVDUS rwGWRY5saPfogobRPcdC5dd3WpuNC6vu6r7dPwPGghHvz4NlOBzcW4+n0Z/+4XGK gVGuBqLo9WBrEo+sPw/4WPtQt1lU9t/bdr9tJ+5qV22zwzcucxmhTlJvbEXbVm/W 4fa3PXvKAS822NhkP/ldL6MePG5r9Glj+FMkc/XmwWiV47PqjyX4H9PbTAnlGE9Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkedtgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnheptefhieegfeethfdvuddtheduieehhffgveeivdeikeeijeekfeeiueeklefhudev necuffhomhgrihhnpehgihhtlhgrsgdrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Aug 2021 18:28:57 -0400 (EDT) Date: Tue, 10 Aug 2021 18:28:54 -0400 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Aug 10, 2021 at 12:15:44PM +0200, Cayetano Santos wrote: > > Context: > > Using guix as a package manager under a foreign up to date archlinux > distribution. > > The output of guix describe --format=channels is > > https://gitlab.com/csantosb/wikidata/-/blob/master/guix-profiles-backup/guix-channels.scm > > > Problem: > > When using duplicity to backup to a sftp server, I get this error message > > BackendException: Could not initialize backend: No module named > 'paramiko' > > I have installed python-paramiko, but this doesn't fixes the problem. I don't use Duplicity. Can you give instructions to reproduce this? It's likely that paramiko needs to be added as a dependency of the duplicity package, but we should test that first. From unknown Mon Aug 18 09:03:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49979: Duplicity BackendException: No module named 'paramiko' Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 11:41:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 49979@debbugs.gnu.org, Cayetano Santos Reply-To: csantosb@inventati.org Received: via spool by 49979-submit@debbugs.gnu.org id=B49979.162868200521756 (code B ref 49979); Wed, 11 Aug 2021 11:41:05 +0000 Received: (at 49979) by debbugs.gnu.org; 11 Aug 2021 11:40:05 +0000 Received: from localhost ([127.0.0.1]:33644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDmaa-0005ep-OV for submit@debbugs.gnu.org; Wed, 11 Aug 2021 07:40:05 -0400 Received: from latitanza.investici.org ([82.94.249.234]:23253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDkrB-0006WC-4C for 49979@debbugs.gnu.org; Wed, 11 Aug 2021 05:49:09 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Gl4lg2yWjzGp4F; Wed, 11 Aug 2021 09:49:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628675343; bh=rxPTF5n93QHD/WhlCJ9HylIZK/kjdDXTn9vwyDI+cQY=; h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From; b=ueOM2ZIto8sJLOQ4MCk23ceuoSUVE1u8KWBNTGMoNCfCml3Y+VyolU1mMvkuZ0mxM GEjPbg2kBPnRwy84WKQOG5ehxa/k5HAT/ojKz3dJ4WdybOVB1w74UI45rUWCMvjh65 XUQAUTNqyPueT1W6Fcza5jgxVbPNt4G5yLCj+wlk= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4Gl4lf6qtWzGp3r; Wed, 11 Aug 2021 09:49:02 +0000 (UTC) References: User-agent: mu4e 1.4.15; emacs 28.0.50 From: Cayetano Santos In-reply-to: Message-ID: Date: Wed, 11 Aug 2021 11:49:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Wed, 11 Aug 2021 07:40:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >mer. 11 ao=C3=BBt 2021 at 00:28, Leo Famulari ... > On Tue, Aug 10, 2021 at 12:15:44PM +0200, Cayetano Santos wrote: >> >> Context: >> >> Using guix as a package manager under a foreign up to date=20 >> archlinux >> distribution. >> >> The output of guix describe --format=3Dchannels is >> >> https://gitlab.com/csantosb/wikidata/-/blob/master/guix-profiles-back= up/guix-channels.scm >> >> >> Problem: >> >> When using duplicity to backup to a sftp server, I get this=20 >> error message >> >> BackendException: Could not initialize backend: No module=20 >> named >> 'paramiko' >> >> I have installed python-paramiko, but this doesn't fixes the=20 >> problem. > > I don't use Duplicity. Can you give instructions to reproduce=20 > this? > > It's likely that paramiko needs to be added as a dependency of=20 > the > duplicity package, but we should test that first. Sure. Just issue a guix install duplicity and then duplicity /tmp sftp://dummy_user@sftp.server/dummy_backup you=E2=80=99ll get a BackendException: Could not initialize backend: No module named=20 'paramiko' message. From unknown Mon Aug 18 09:03:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: csantosb@inventati.org Subject: bug#49979: closed (Re: bug#49979: Duplicity BackendException: No module named 'paramiko') Message-ID: References: X-Gnu-PR-Message: they-closed 49979 X-Gnu-PR-Package: guix Reply-To: 49979@debbugs.gnu.org Date: Wed, 11 Aug 2021 16:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1628699162-23343-1" This is a multi-part message in MIME format... ------------=_1628699162-23343-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49979: Duplicity BackendException: No module named 'paramiko' which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49979@debbugs.gnu.org. --=20 49979: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49979 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1628699162-23343-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49979-done) by debbugs.gnu.org; 11 Aug 2021 16:25:30 +0000 Received: from localhost ([127.0.0.1]:36401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDr2o-00063a-8q for submit@debbugs.gnu.org; Wed, 11 Aug 2021 12:25:30 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:57003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDr2l-00063I-EG for 49979-done@debbugs.gnu.org; Wed, 11 Aug 2021 12:25:28 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2F6A33200932; Wed, 11 Aug 2021 12:25:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 11 Aug 2021 12:25:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=m2WQHJFTPmvfxQT9WbHwWTq9jKDtRpXCqT6szIEmmdM=; b=JK2lR3nval2O Vv8U9/xKeMlhV0+bRxa8SFJ/CeTdZX+FNNTPFESkYUB37YzsiOly5u4QeGJ7TUwj tS7jzS8urXyDP/CYAl5deHTu/97iitPEcijbf/R+JiD7UUFXNKF9LG+6MMJUdHLD x37Kk+cGkBFSYkN/s/uzY0gwKBmn4Tg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=m2WQHJFTPmvfxQT9WbHwWTq9jKDtRpXCqT6szIEmm dM=; b=fX27lMtT1x731GMv/Fn1IX8T95/0BaD6UP3dJFsvdDmZ8jnBxJOs6WeD5 gEMdSa9yOeCmvyiZR2ThJR+XPBnU8IEa74iQGpIkapXaean6u8xu7nZAih1K2LRD JzVFPtlBgVytDFVzUGESk59UsPi26FCi4WIkrQxtaaHPn7DqvOUUHOjwbQeiPHtg e4Fo4iJyv9c2FYgfw2rwvi1MxySxc64KEw95tcPPM6Z4vZ0Xg+jpmzj1KQ5pRAFr SFtlUMO7j+m3dvw7u1RVwwxpkcjz9KpOgq+IKd06jAW+vkkxnYjC8BxOzT0aURpX DO7prZMKYa/k+iUJ860MtAQ9yBGJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkedugddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtke ertddttdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefgudffteettdekkeduhffgfefgie efgeeuieetudejffelieduueeifffgudfgudenucffohhmrghinhepghhnuhdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Aug 2021 12:25:19 -0400 (EDT) Date: Wed, 11 Aug 2021 12:25:17 -0400 From: Leo Famulari To: Cayetano Santos Subject: Re: bug#49979: Duplicity BackendException: No module named 'paramiko' Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49979-done Cc: 49979-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Aug 11, 2021 at 11:49:01AM +0200, Cayetano Santos wrote: > Sure. Just issue a > > guix install duplicity > > and then > > duplicity /tmp sftp://dummy_user@sftp.server/dummy_backup > > you’ll get a > > BackendException: Could not initialize backend: No module named 'paramiko' > message. Thanks! I tested by adding python-paramiko to native-inputs [0], changed the dummy values to something meaningful, and tried your command: ------ $ duplicity /tmp sftp://leo@domain/dummy_backup Local and Remote metadata are synchronized, no sync needed. Last full backup date: none GnuPG passphrase for decryption: % ------ I didn't go past that point but it seems to fix the specific bug you reported. So, I pushed the change: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=b1c97ff60b8ac8205d878fec3af8d02ffdf601fe You can do `guix pull --commit=b1c97ff60b8 && guix package --upgrade=duplicity` to get the new version of the package. [0] It's unusual for run-time dependencies like paramiko to be a native-input. Typically, native-inputs are just build-time dependencies. Maybe there is some room for improvement in our Duplicity package... https://guix.gnu.org/manual/en/html_node/package-Reference.html ------------=_1628699162-23343-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Aug 2021 14:48:16 +0000 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDT39-0004p3-FH for submit@debbugs.gnu.org; Tue, 10 Aug 2021 10:48:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:42674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDOnh-0007tU-25 for submit@debbugs.gnu.org; Tue, 10 Aug 2021 06:16:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDOng-0001Nl-Rl for bug-guix@gnu.org; Tue, 10 Aug 2021 06:16:00 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:28501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDOne-0004jU-5O for bug-guix@gnu.org; Tue, 10 Aug 2021 06:16:00 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GkTNy0HYVzGp44 for ; Tue, 10 Aug 2021 10:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628590546; bh=OIm9XqIHSnqCpaovizYmvSS3SmXL3E0OePJQ7Nvuxm4=; h=From:To:Subject:Reply-To:Date:From; b=PUdF2yUmAhLoh1m8rhIJi3hff051kSvGyjp9je+BxdjD7jl5YRUlzKqrRs4OlOYrP mPsgRKrUCQ36H5/831FTz0uNum1yxEi5BWcknVYnT0EOknLEulwpGnZFTOb9ehW/5M EZxoJbB/b44OnWSkY11g5ZsOEe/nhD1gKZaVMMf0= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4GkTNx63JtzGp3M for ; Tue, 10 Aug 2021 10:15:45 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 28.0.50 From: Cayetano Santos To: bug-guix@gnu.org Subject: Duplicity BackendException: No module named 'paramiko' Message-ID: Date: Tue, 10 Aug 2021 12:15:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=cayetano.santos@inventati.org; helo=latitanza.investici.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 10 Aug 2021 10:48:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: csantosb@inventati.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Context: Using guix as a package manager under a foreign up to date archlinux distribution. The output of guix describe --format=channels is https://gitlab.com/csantosb/wikidata/-/blob/master/guix-profiles-backup/guix-channels.scm Problem: When using duplicity to backup to a sftp server, I get this error message BackendException: Could not initialize backend: No module named 'paramiko' I have installed python-paramiko, but this doesn't fixes the problem. ------------=_1628699162-23343-1-- From unknown Mon Aug 18 09:03:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49979: Duplicity BackendException: No module named 'paramiko' Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 49979-done@debbugs.gnu.org Reply-To: csantosb@inventati.org Received: via spool by 49979-done@debbugs.gnu.org id=D49979.162870759213302 (code D ref 49979); Wed, 11 Aug 2021 18:47:02 +0000 Received: (at 49979-done) by debbugs.gnu.org; 11 Aug 2021 18:46:32 +0000 Received: from localhost ([127.0.0.1]:36611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDtFH-0003SN-6w for submit@debbugs.gnu.org; Wed, 11 Aug 2021 14:46:31 -0400 Received: from latitanza.investici.org ([82.94.249.234]:43693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDssO-0002mp-O7 for 49979-done@debbugs.gnu.org; Wed, 11 Aug 2021 14:22:53 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GlJ8W3PTpzGp2d; Wed, 11 Aug 2021 18:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628706171; bh=pBi/bSTovepVelbvKVacM4xyO4jRvgg+TfPGwBgcXro=; h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From; b=NE3hgwegTMUVGbhovqjAJJVanYn2yfTWVmq413MY9J8la6BQqOdA/JDC8GWx4NZIs JGHSxfYAAsc/KMmQcZdKO3nGmhi4WYdElaeyVxAbeHAQjJaT9qCi2IelAbWu0iVGLs WQyUBbSQPs2Yfpnw3qkleSxe7nNSnFT8vKiQQGSY= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4GlJ8W1BfGzGp2b; Wed, 11 Aug 2021 18:22:51 +0000 (UTC) References: User-agent: mu4e 1.4.15; emacs 28.0.50 From: Cayetano Santos In-reply-to: Date: Wed, 11 Aug 2021 20:22:50 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Wed, 11 Aug 2021 14:46:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >mer. 11 ao=C3=BBt 2021 at 18:25, Leo Famulari ... > On Wed, Aug 11, 2021 at 11:49:01AM +0200, Cayetano Santos wrote: >> Sure. Just issue a >> >> guix install duplicity >> >> and then >> >> duplicity /tmp sftp://dummy_user@sftp.server/dummy_backup >> >> you=E2=80=99ll get a >> >> BackendException: Could not initialize backend: No module named=20 >> 'paramiko' > >> message. > > Thanks! I tested by adding python-paramiko to native-inputs [0],=20 > changed > the dummy values to something meaningful, and tried your=20 > command: > > ------ > $ duplicity /tmp sftp://leo@domain/dummy_backup > Local and Remote metadata are synchronized, no sync needed. > Last full backup date: none > GnuPG passphrase for decryption: % > ------ > > I didn't go past that point but it seems to fix the specific bug=20 > you > reported. So, I pushed the change: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Db1c97ff60b8ac8205= d878fec3af8d02ffdf601fe > > You can do `guix pull --commit=3Db1c97ff60b8 && guix package=20 > --upgrade=3Dduplicity` > to get the new version of the package. > > [0] It's unusual for run-time dependencies like paramiko to be a > native-input. Typically, native-inputs are just build-time=20 > dependencies. > Maybe there is some room for improvement in our Duplicity=20 > package... > > https://guix.gnu.org/manual/en/html_node/package-Reference.html Fixed, thanks !