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
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Medium
Unassigned

Bug Description

duplicity 0.7.18.2
Python 2.7.16
Debian 10

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_multi.py", line 205, in _upload
    num_cb=max(2, 8 * bytes / (1024 * 1024))
  File "/usr/lib/python2.7/dist-packages/boto/s3/multipart.py", line 260, in upload_part_from_file
    query_args=query_args, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 1293, in set_contents_from_file
    chunked_transfer=chunked_transfer, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 750, in send_file
    chunked_transfer=chunked_transfer, size=size)
  File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 951, in _send_file_internal
    query_args=query_args
  File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 668, in make_request
    retry_handler=retry_handler
  File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 1072, in make_request
    retry_handler=retry_handler)
  File "/usr/lib/python2.7/dist-packages/boto/connection.py", 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