Debian Bug report logs -
#444972
duplicity: call to ncftpput fails
Reported by: Christoph Martin <martin@uni-mainz.de>
Date: Tue, 2 Oct 2007 11:30:12 UTC
Severity: normal
Found in version duplicity/0.4.3-3
Fixed in version duplicity/0.4.3-4
Done: Alexander Zangerl <az@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Alexander Zangerl <az@debian.org>:
Bug#444972; Package duplicity.
(full text, mbox, link).
Acknowledgement sent to Christoph Martin <martin@uni-mainz.de>:
New Bug report received and forwarded. Copy sent to Alexander Zangerl <az@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: duplicity
Version: 0.4.3-3
Severity: normal
duplicity calls ncftgput (version 3.2.0) in the wrong way
which results in duplicity aborting with:
ncftpput: cannot open : no remote host was specified.
Other than documented ncftpput called with the -f option
and the -C options wants do be called with the hostname
specified in the cfg file and without the hostname after the
-C option. See bug #444971.
The following patch fixes the problem:
diff -c
/usr/share/pycentral/duplicity/site-packages/duplicity/backends.py\~
/usr/share/pycentral/duplicity/site-packages/duplicity/backends.py
*** /usr/share/pycentral/duplicity/site-packages/duplicity/backends.py~
Tue Sep 25 05:36:18 2007
--- /usr/share/pycentral/duplicity/site-packages/duplicity/backends.py
Tue Oct 2 12:59:58 2007
***************
*** 524,529 ****
--- 524,530 ----
self.conn_opt = '-F'
self.tempfile, self.tempname =
tempfile.mkstemp("","duplicity.")
atexit.register(os.unlink, self.tempname)
+ os.write(self.tempfile, "host %s\n" % parsed_url.host)
os.write(self.tempfile, "user %s\n" % parsed_url.user)
os.write(self.tempfile, "pass %s\n" % self.password)
os.close(self.tempfile)
***************
*** 534,541 ****
"""Transfer source_path to remote_filename"""
pu = ParsedUrl(self.url_string)
remote_path = os.path.join (pu.path,
remote_filename).rstrip()
! commandline = "ncftpput %s -V -C '%s' '%s' '%s'" % \
! (self.flags, pu.host,
source_path.name, remote_path)
self.run_command_persist(commandline)
def get(self, remote_filename, local_path):
--- 535,542 ----
"""Transfer source_path to remote_filename"""
pu = ParsedUrl(self.url_string)
remote_path = os.path.join (pu.path,
remote_filename).rstrip()
! commandline = "ncftpput %s -V -C '%s' '%s'" % \
! (self.flags, source_path.name,
remote_path)
self.run_command_persist(commandline)
def get(self, remote_filename, local_path):
Christoph
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (900, 'stable'), (70, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages duplicity depends on:
ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii librsync1 0.9.7-1 Library which implements the rsync
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
ii python-gnupginterface 0.3.2-9 Python interface to GnuPG (GPG)
ii python-pexpect 2.1-1 Python module for automating inter
ii ncftp 3.2.0-1 A user-friendly and well-featured
duplicity recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Zangerl <az@debian.org>:
Bug#444972; Package duplicity.
(full text, mbox, link).
Acknowledgement sent to Alexander Zangerl <az@snafu.priv.at>:
Extra info received and forwarded to list. Copy sent to Alexander Zangerl <az@debian.org>.
(full text, mbox, link).
Message #10 received at 444972@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Tue, 02 Oct 2007 13:29:01 +0200, Christoph Martin writes:
>Other than documented ncftpput called with the -f option
>and the -C options wants do be called with the hostname
>specified in the cfg file and without the hostname after the
>-C option. See bug #444971.
>The following patch fixes the problem:
...
according to the ncftp people's changelog, the first version
which cleanly works with -f/-C is 3.2.1, and upstream has decided
to concentrate on making duplicity cooperate with that version.
still, i'll have a look at your patch and will check if it
works with both old and new versions, but otherwise i'm
more leaning towards uploading a new package which does
conflict with the older ncftp versions.
regards
az
--
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
If USENET is anarchy, IRC is a paranoid schizophrenic after 6 days on speed.
-- Chris "Saundo" Saunderson
[signature.asc (application/pgp-signature, inline)]
Reply sent to Alexander Zangerl <az@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Christoph Martin <martin@uni-mainz.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #15 received at 444972-close@bugs.debian.org (full text, mbox, reply):
Source: duplicity
Source-Version: 0.4.3-4
We believe that the bug you reported is fixed in the latest version of
duplicity, which is due to be installed in the Debian FTP archive:
duplicity_0.4.3-4.diff.gz
to pool/main/d/duplicity/duplicity_0.4.3-4.diff.gz
duplicity_0.4.3-4.dsc
to pool/main/d/duplicity/duplicity_0.4.3-4.dsc
duplicity_0.4.3-4_i386.deb
to pool/main/d/duplicity/duplicity_0.4.3-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 444972@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexander Zangerl <az@debian.org> (supplier of updated duplicity package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 6 Oct 2007 20:02:43 +1000
Source: duplicity
Binary: duplicity
Architecture: source i386
Version: 0.4.3-4
Distribution: unstable
Urgency: low
Maintainer: Alexander Zangerl <az@debian.org>
Changed-By: Alexander Zangerl <az@debian.org>
Description:
duplicity - encrypted bandwidth-efficient backup
Closes: 444972
Changes:
duplicity (0.4.3-4) unstable; urgency=low
.
* applied Christoph Martin's patch to the ftp backend
to make duplicity cooperate with etch's ncftp (closes: #444972)
Files:
27fe9583c017ce97984a52933fb3af7d 663 utils optional duplicity_0.4.3-4.dsc
5d04b9dc2b9be79d5f35699abfe2695c 11142 utils optional duplicity_0.4.3-4.diff.gz
b710b010dbcf4fcf03230835a77ce9c9 111980 utils optional duplicity_0.4.3-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHB5otpy/2bEK9ZF0RAh+cAJoCw59MbqWgKJuarTiCmUiFp34gIQCgj2e2
YmU5vofkGJLyIeQESmhkPqc=
=m/De
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 15 Nov 2007 07:29:31 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 00:15:02 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.