All systems run a bit strange if disk space runs out, most not too
gracefully.  duplicity will estimate the space needed on the local
system to run duplicity, but cannot check the remote.  It will fail with
whatever status the remote returns, which you should then correct if
possible.  I don't know what caused your truncation, but the error
message should now be clearer and have the responsible filename in it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1970124

Title:
  duplicity backup fails with obscure error message Ubuntu 22.04

Status in Duplicity:
  Fix Committed
Status in duplicity package in Ubuntu:
  Invalid

Bug description:
  I try to do a backup onto a network location (ssh://192.168.1.61 - I
  can successfully connect to this location via ssh). The backup
  completes the scan phase, then dies with error messages like this:

  Failed to read /tmp/duplicity-xdksj47v-tempdir/mktemp-_5khubio-2:
  (<class 'EOFError'>, EOFError('Compressed file ended before the end-
  of-stream marker was reached'), <traceback object at 0x7f5f660da740>)

  While the backup is running, we can see a duplicity* directory under
  /tmp:

  $ ll /tmp/duplicity-i6olpr17-tempdir/
  total 16
  drwx------  2 scohen scohen  4096 Apr 24 12:52 ./
  drwxrwxrwt 26 root   root   12288 Apr 24 12:52 ../
  -rw-------  1 scohen scohen     0 Apr 24 12:52 mkstemp-cx21bs8l-1

  However, note that this is not the directory mentioned in the failure
  message.

  A scan of the directory after the failure reveals no files like
  /tmp/dupl*

  Why is it trying to read files that do not exist?

  $ lsb_release -rd
  Description:  Ubuntu 22.04 LTS
  Release:      22.04

  $ apt-cache policy duplicity
  duplicity:
    Installed: 0.8.21-1build1
    Candidate: 0.8.21-1build1
    Version table:
   *** 0.8.21-1build1 500
          500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1970124/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to