OK, this bug has to be in the python3-swiftclient module. The real problem is that Ubuntu is behind on versions. The latest version is 3.9.0 while the version in the snap is 3.5.0. Are you required to use the snap version? If not you might want to try one of the installs below.
* Stable tarball install - https://launchpad.net/duplicity/+download * Daily duplicity builds - https://launchpad.net/~duplicity-team/+archive/ubuntu/daily-dev-trunk * Latest pip builds - “sudo pip install duplicity" ** Changed in: duplicity Importance: Undecided => Medium ** Changed in: duplicity Status: New => In Progress ** Changed in: duplicity Milestone: None => 0.8.12 ** Changed in: duplicity Assignee: (unassigned) => Kenneth Loafman (kenneth-loafman) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to duplicity in Ubuntu. https://bugs.launchpad.net/bugs/1867529 Title: UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 0: ordinal not in range(128) with PCA Status in Duplicity: In Progress Status in duplicity package in Ubuntu: New Bug description: Same kind of bug after last fix : I am using duplicity 0.8.11.1607 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.20200315T171233Z.vol1.difftar.gpg Backtrace of previous error: Traceback (innermost last): File "/snap/duplicity/86/lib/python3.6/site-packages/duplicity/backend.py", line 376, in inner_retry return fn(self, *args) File "/snap/duplicity/86/lib/python3.6/site-packages/duplicity/backend.py", line 547, in put self.__do_put(source_path, remote_filename) File "/snap/duplicity/86/lib/python3.6/site-packages/duplicity/backend.py", line 533, in __do_put self.backend._put(source_path, remote_filename) File "/snap/duplicity/86/lib/python3.6/site-packages/duplicity/backends/pcabackend.py", line 154, in _put open(util.fsdecode(source_path.name))) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 1842, in put_object response_dict=response_dict) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 1691, in _retry service_token=self.service_token, **kwargs) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 1320, in put_object conn.putrequest(path, headers=headers, data=data) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 449, in putrequest return self.request('PUT', full_path, data, headers, files) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 439, in request files=files, **self.requests_args) File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/client.py", line 422, in _request return self.request_session.request(*arg, **kwarg) File "/snap/duplicity/86/usr/lib/python3/dist-packages/requests/sessions.py", line 520, in request resp = self.send(prep, **send_kwargs) File "/snap/duplicity/86/usr/lib/python3/dist-packages/requests/sessions.py", line 630, in send r = adapter.send(request, **kwargs) File "/snap/duplicity/86/usr/lib/python3/dist-packages/requests/adapters.py", line 460, in send for i in request.body: File "/snap/duplicity/86/usr/lib/python3/dist-packages/swiftclient/utils.py", line 279, in __next__ chunk = self.content.read(self.chunk_size) File "/snap/duplicity/86/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) To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1867529/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp