*** This bug is a duplicate of bug 1720159 ***
    https://bugs.launchpad.net/bugs/1720159

Please upgrade to the current version of duplicity, 0.7.16.  This will assure 
that any bugs fixed since your release are available and may fix your issue.  
This applies especially to duplicity versions between 0.7.03 and 0.7.14 
inclusive.  There was a fix in 0.7.15 that reduced memory usage drastically, 
and will help with memory errors and inability to start new threads.
The bug that was resolved in 0.7.15:

* Fixed bug #1720159 - Cannot allocate memory with large manifest file since 
0.7.03
  - filelist is not read if --file-changed option in collection-status not 
present
  - This will keep memory usage lower in non collection-status operations

There are three options:
* Release tarball Install - https://launchpad.net/duplicity/+download
* Daily duplicity builds - 
https://launchpad.net/~duplicity-team/+archive/ubuntu/daily
* Stable duplicity builds - 
https://launchpad.net/~duplicity-team/+archive/ubuntu/ppa

NOTE: UNinstall duplicity first if it was installed via the distribution
repository.  For Ubuntu, that would be "sudo apt-get purge duplicity".

-- 
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/1722454

Title:
  Duplicity fails with MemoryError

Status in Duplicity:
  New
Status in duplicity package in Ubuntu:
  Confirmed

Bug description:
  Running the following command:

  /usr/bin/python /usr/bin/duplicity collection-status
  --exclude=/mnt/jabba/juergh/backup/gollum
  --include=/home/juergh/.cache/deja-dup/metadata --exclude=/home/juergh
  /.uk-pkg --exclude=/home/juergh/Music --exclude=/home/juergh/debug
  --exclude=/home/juergh/canonical/cve-matrix/cve-matrix/cve-tracker
  --exclude=/home/juergh/canonical/cve-matrix/cve-autotriage
  --exclude=/home/juergh/Desktop --exclude=/home/juergh/.cache
  --exclude=/home/juergh/tmp --exclude=/home/juergh/git
  --exclude=/home/juergh/Downloads
  --exclude=/home/juergh/.local/share/Trash
  --exclude=/home/juergh/.cache/deja-dup/tmp
  --exclude=/home/juergh/.thumbnails --exclude=/home/juergh/.cache/deja-
  dup --exclude=/home/juergh/.cache --include=/home/juergh
  --exclude=/sys --exclude=/run --exclude=/proc --exclude=/var/tmp
  --exclude=/tmp --exclude=** --gio
  file:///mnt/jabba/juergh/backup/gollum --no-encryption --verbosity=9
  --gpg-options=--no-use-agent --archive-dir=/home/juergh/.cache/deja-
  dup --tempdir=/home/juergh/.cache/deja-dup/tmp --log-fd=19

  results in:

  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1546, in <module>
      with_tempdir(main)
    File "/usr/bin/duplicity", line 1540, in with_tempdir
      fn()
    File "/usr/bin/duplicity", line 1391, in main
      do_backup(action)
    File "/usr/bin/duplicity", line 1416, in do_backup
      globals.archive_dir).set_values()
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 710, 
in set_values
      self.get_backup_chains(partials + backend_filename_list)
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 836, 
in get_backup_chains
      add_to_sets(f)
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 824, 
in add_to_sets
      if set.add_filename(filename):
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 101, 
in add_filename
      self.set_manifest(filename)
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 148, 
in set_manifest
      self.set_files_changed()
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 128, 
in set_files_changed
      mf = self.get_manifest()
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 250, 
in get_manifest
      return self.get_local_manifest()
    File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 224, 
in get_local_manifest
      return manifest.Manifest().from_string(manifest_buffer)
    File "/usr/lib/python2.7/dist-packages/duplicity/manifest.py", line 215, in 
from_string
      vi = VolumeInfo().from_string(match.group(1))
    File "/usr/lib/python2.7/dist-packages/duplicity/manifest.py", line 383, in 
from_string
      linelist = s.strip().split("\n")
  MemoryError

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: duplicity 0.7.12-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
  Uname: Linux 4.13.0-12-generic x86_64
  ApportVersion: 2.20.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Oct 10 08:05:45 2017
  InstallationDate: Installed on 2017-05-25 (137 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: duplicity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1722454/+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