Package: duplicity
Version: 0.6.08b-1+b1
Severity: minor

Here's what I get with an empty remote GPG file (probably resulting of out of 
quota), when trying to resync the local cache :

...
Fetching .../duplicity-inc.20101225T001425Z.to.20101226T001506Z.manifest.gpg to 
/tmp/duplicity-mqzqB7-tempdir/mktemp-f0fGqJ-7'
State = sftp, Before = 'quit'
Removing still remembered temporary file 
/tmp/duplicity-mqzqB7-tempdir/mkstemp-xGZcgl-1
Removing still remembered temporary file 
/tmp/duplicity-mqzqB7-tempdir/mktemp-f0fGqJ-7
GPG error detail: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1251, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1244, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1145, in main
    sync_archive()
  File "/usr/bin/duplicity", line 959, in sync_archive
    copy_to_local(fn)
  File "/usr/bin/duplicity", line 915, in copy_to_local
    globals.archive_dir.append(loc_name).name)
  File "/usr/bin/duplicity", line 841, in copy_raw
    data = src_iter.next(block_size).data
  File "/usr/bin/duplicity", line 900, in next
    self.fileobj.close()
  File "/usr/lib/python2.6/dist-packages/duplicity/dup_temp.py", line 210, in 
close
    assert not self.fileobj.close()
  File "/usr/lib/python2.6/dist-packages/duplicity/gpg.py", line 198, in close
    self.gpg_failed()
  File "/usr/lib/python2.6/dist-packages/duplicity/gpg.py", line 165, in 
gpg_failed
    raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: decrypt_message failed: eof
===== End GnuPG log =====


GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: decrypt_message failed: eof
===== End GnuPG log =====

Of course, by listing the cache one can find the culprit 0 size file :
duplicity-inc.20101225T001425Z.to.20101226T001506Z.manifest.gpg

But I guess it wouldn't be so hard to have a check against empty files and 
manage the failing backup/restore then.

Hope this helps.

Best regards,

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duplicity depends on:
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  librsync1               0.9.7-7          rsync remote-delta algorithm libra
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-pexpect          2.3-1            Python module for automating inter

duplicity recommends no packages.

Versions of packages duplicity suggests:
pn  ncftp                         <none>     (no description available)
pn  python-boto                   <none>     (no description available)

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to