socket.gaierror (name resolution error) is thrown instead of showing a warning when connection is down

Bug #1855379 reported by Daniel González Gasull on 2019-12-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Python 2.7.16
Debian 10

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/", line 205, in _upload
    num_cb=max(2, 8 * bytes / (1024 * 1024))
  File "/usr/lib/python2.7/dist-packages/boto/s3/", line 260, in upload_part_from_file
    query_args=query_args, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/", line 1293, in set_contents_from_file
    chunked_transfer=chunked_transfer, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/", line 750, in send_file
    chunked_transfer=chunked_transfer, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/", line 951, in _send_file_internal
  File "/usr/lib/python2.7/dist-packages/boto/s3/", line 668, in make_request
  File "/usr/lib/python2.7/dist-packages/boto/", line 1072, in make_request
  File "/usr/lib/python2.7/dist-packages/boto/", line 1031, in _mexe
    raise ex
gaierror: [Errno -3] Temporary failure in name resolution

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

Other bug subscribers