MemoryError, maybe a regression in 07.08?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
Using installed duplicity version 0.7.08, python 2.6.8, gpg 2.0.9 (Home: ~/.gnupg), awk 'GNU Awk 3.1.8', bash '3.2.51(1)-release (i586-suse-
This always worked but failed for the first time last night. 07.08 is installed since July 4.
The failing code only exists since
* Fixed bug #1594780 with patches from B. Reitsma
- Use re.finditer() to speed processing
so I think it might be a regression. But since I do not want to reproduce this at the customer's site, I wonder how to proceed. Can you propose some debugging code? I will have to revert this change because the customer wants a reliable backup. So maybe you can try the new method and if it
fails with a MemoryError print out debugging info and fall back to the old one? That would make it reliable and if the problem happens again hopefully tell you want went wrong.
There are 19 full manifests with about 47MB each and 108 incremental manifests.
Last full backup is too old, forcing full backup
...
File "/usr/local/
line 224, in get_local_manifest
return manifest.
File "/usr/local/
214, in from_string
for match in vi_iterator:
MemoryError
I can't seem to reproduce this problem.
How much memory do you have available?
What is your command line?
How many manifest files do you have?
On Thu, Nov 17, 2016 at 4:52 AM, Wolfgang Rohdewald <email address hidden>
wrote:
> Public bug reported: lib/python2. 6/site- packages/ duplicity/ collections. py", Manifest( ).from_ string( manifest_ buffer) lib/python2. 6/site- packages/ duplicity/ manifest. py", /bugs.launchpad .net/bugs/ 1642544 lib/python2. 6/site- packages/ duplicity/ collections. py", Manifest( ).from_ string( manifest_ buffer) lib/python2. 6/site- packa.. .
>
> Using installed duplicity version 0.7.08, python 2.6.8, gpg 2.0.9 (Home:
> ~/.gnupg), awk 'GNU Awk 3.1.8', bash '3.2.51(1)-release (i586-suse-
> linux-gnu)'.
>
> This always worked but failed for the first time last night. 07.08 is
> installed since July 4.
>
> The failing code only exists since
>
> * Fixed bug #1594780 with patches from B. Reitsma
> - Use re.finditer() to speed processing
>
> so I think it might be a regression. But since I do not want to reproduce
> this at the customer's site, I wonder how to proceed. Can you propose some
> debugging code? I will have to revert this change because the customer
> wants a reliable backup. So maybe you can try the new method and if it
> fails with a MemoryError print out debugging info and fall back to the old
> one? That would make it reliable and if the problem happens again hopefully
> tell you want went wrong.
>
> There are 19 full manifests with about 47MB each and 108 incremental
> manifests.
>
> Last full backup is too old, forcing full backup
> ...
> File "/usr/local/
> line 224, in get_local_manifest
> return manifest.
> File "/usr/local/
> line
> 214, in from_string
> for match in vi_iterator:
> MemoryError
>
> ** Affects: duplicity
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https:/
>
> Title:
> MemoryError, maybe a regression in 07.08?
>
> Status in Duplicity:
> New
>
> Bug description:
> Using installed duplicity version 0.7.08, python 2.6.8, gpg 2.0.9
> (Home: ~/.gnupg), awk 'GNU Awk 3.1.8', bash '3.2.51(1)-release (i586
> -suse-linux-gnu)'.
>
> This always worked but failed for the first time last night. 07.08 is
> installed since July 4.
>
> The failing code only exists since
>
> * Fixed bug #1594780 with patches from B. Reitsma
> - Use re.finditer() to speed processing
>
> so I think it might be a regression. But since I do not want to
> reproduce this at the customer's site, I wonder how to proceed. Can you
> propose some debugging code? I will have to revert this change because the
> customer wants a reliable backup. So maybe you can try the new method and
> if it
> fails with a MemoryError print out debugging info and fall back to the
> old one? That would make it reliable and if the problem happens again
> hopefully tell you want went wrong.
>
> There are 19 full manifests with about 47MB each and 108 incremental
> manifests.
>
> Last full backup is too old, forcing full backup
> ...
> File "/usr/local/
> line 224, in get_local_manifest
> return manifest.
> File "/usr/local/