par2 option not working on small processors

Bug #1452263 reported by Julien
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

I came upon a bug when trying to use duplicity on a raspberry. I tried to use par2 backend combined with a file backend (par2+file://) and the par2 files were not created.
After investigations, it's related to the timeout of the 'run' method used to invoke the par2 command. The timeout is set to default (-1) which is, according to the pexpect documentation, translated into 30 seconds. My raspberry needs twice that. I changed the timeout argument to 'None' and par2 files are created.
A nice command-line argument to be able to inhibit the default timeout would be nice.

Julien (julien-3)
description: updated
description: updated
Revision history for this message
Julien (julien-3) wrote :

Ok i'm confused, it's working with a volsize of 5.

Julien (julien-3)
summary: - par2 option not working with btrfs
+ par2 option not working on small processors
Julien (julien-3)
description: updated
description: updated
Revision history for this message
Kuang-che Wu (kcwu) wrote :

I have the same issue. I found the same fix as well -- the timeout should be 'None'.

However my case is not about small processors --- I have huge backup set and want to reduce number of duplicity files, so I used a large volsize (--volsize=500).

This is definitely a bug of duplicity. I attached my patch.

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.7.04
status: New → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.