Public bug reported:

Sorry but after last fix, I have another error.
I am using duplicity 0.8.11.1606 from snap edge channel.
I am trying to use multi backend with one of them being the OVH PCA.
It fails when trying to write to the PCA with the following error :
MultiBackend: _put: write to store #0 (pca://backupPortableX-cold)
Writing cold_duplicity-full.20200314T160021Z.vol1.difftar.gpg
Backtrace of previous error: Traceback (innermost last):
  File "/snap/duplicity/84/lib/python3.6/site-packages/duplicity/backend.py", 
line 376, in inner_retry
    return fn(self, *args)
  File "/snap/duplicity/84/lib/python3.6/site-packages/duplicity/backend.py", 
line 547, in put
    self.__do_put(source_path, remote_filename)
  File "/snap/duplicity/84/lib/python3.6/site-packages/duplicity/backend.py", 
line 533, in __do_put
    self.backend._put(source_path, remote_filename)
  File 
"/snap/duplicity/84/lib/python3.6/site-packages/duplicity/backends/pcabackend.py",
 line 154, in _put
    open(source_path.name))
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
1842, in put_object
    response_dict=response_dict)
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
1691, in _retry
    service_token=self.service_token, **kwargs)
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
1320, in put_object
    conn.putrequest(path, headers=headers, data=data)
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
449, in putrequest
    return self.request('PUT', full_path, data, headers, files)
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
439, in request
    files=files, **self.requests_args)
  File 
"/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/client.py", line 
422, in _request
    return self.request_session.request(*arg, **kwarg)
  File "/snap/duplicity/84/usr/lib/python3/dist-packages/requests/sessions.py", 
line 520, in request
    resp = self.send(prep, **send_kwargs)
  File "/snap/duplicity/84/usr/lib/python3/dist-packages/requests/sessions.py", 
line 630, in send
    r = adapter.send(request, **kwargs)
  File "/snap/duplicity/84/usr/lib/python3/dist-packages/requests/adapters.py", 
line 460, in send
    for i in request.body:
  File "/snap/duplicity/84/usr/lib/python3/dist-packages/swiftclient/utils.py", 
line 279, in __next__
    chunk = self.content.read(self.chunk_size)
  File "/snap/duplicity/84/usr/lib/python3.6/encodings/ascii.py", line 26, in 
decode
    return codecs.ascii_decode(input, self.errors)[0]
 UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 0: 
ordinal not in range(128)

** Affects: duplicity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867444

Title:
   UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position
  0: ordinal not in range(128) using PCA backend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1867444/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to