Should not exit during restore when timeout ocours
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi,
humyo.de seems to be a bit buggy sometimes and in some cases seems to timeout.
A restore should not fail just because one timeout occoured, duplicity should just retry the retrieve the file.
The file being restored is severall gigabytes (a VMWare harddisk), so having to restart the restore results in a couple of gigabytes additional download.
Regards,
Tokudan
duplicity 0.6.06
Python 2.6.2
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
local Filesystem:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 219G 8.9G 199G 5% /
/dev/sda3 on / type ext3 (rw,relatime)
Traceback:
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
restore(
File "/usr/local/
restore_
File "/usr/local/
for ropath in rop_iter:
File "/usr/local/
final_ropath = patch_seq2ropat
File "/usr/local/
misc.
File "/usr/local/
buf = infp.read(
File "/usr/local/
if not self.addtobuffer():
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.current_fp = self.fileobj_
File "/usr/local/
manifest.
File "/usr/local/
backend.
File "/usr/local/
response = self.request("GET", url)
File "/usr/local/
response = self.conn.
File "/usr/lib/
response.
File "/usr/lib/
version, status, reason = self._read_status()
File "/usr/lib/
line = self.fp.readline()
File "/usr/lib/
data = recv(1)
File "/usr/lib/
self.recv = lambda buflen=1024, flags=0: SSLSocket.
File "/usr/lib/
raise x
SSLError: The read operation timed out
Changed in duplicity: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
summary: |
- Should not exist during restore when timeout ocours + Should not exit during restore when timeout ocours |