GNU bug report logs -
#49979
Duplicity BackendException: No module named 'paramiko'
Previous Next
Reported by: csantosb <at> inventati.org
Date: Tue, 10 Aug 2021 14:49:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 Aug 2021 12:25:17 -0400
with message-id <YRP57QxC1nQcNFmO <at> jasmine.lan>
and subject line Re: bug#49979: Duplicity BackendException: No module named 'paramiko'
has caused the debbugs.gnu.org bug report #49979,
regarding Duplicity BackendException: No module named 'paramiko'
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
49979: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49979
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
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 <at> 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 <at> 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
This bug report was last modified 3 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.