UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 0: ordinal not in range(128) with PCA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned | ||
duplicity (Ubuntu) |
New
|
Undecided
|
Unassigned |
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://
Writing cold_duplicity-
Backtrace of previous error: Traceback (innermost last):
File "/snap/
return fn(self, *args)
File "/snap/
self.
File "/snap/
self.
File "/snap/
open(
File "/snap/
response_
File "/snap/
service_
File "/snap/
conn.
File "/snap/
return self.request('PUT', full_path, data, headers, files)
File "/snap/
files=files, **self.
File "/snap/
return self.request_
File "/snap/
resp = self.send(prep, **send_kwargs)
File "/snap/
r = adapter.
File "/snap/
for i in request.body:
File "/snap/
chunk = self.content.
File "/snap/
return codecs.
UnicodeDecodeE
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
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 /launchpad. net/~duplicity- team/+archive/ ubuntu/ daily-dev- trunk
* Daily duplicity builds - https:/
* Latest pip builds - “sudo pip install duplicity"