MULTI BACKEND : startswith first arg must be bytes or a tuple of bytes, not str
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Duplicity 0.8.0.8 (official release manually built)
python -V : Python 3.7.5 (manually built)
Kernel: 4.19.0-
Desktop: Openbox 3.6.1
Distro: Devuan GNU/Linux 2.1 (ascii) x86_64
I use the MULTI backend to use "cold" "OVH Public Cloud Archive", following this guide: https:/
I setup a test "hot" container (legacy Swift Openstack backend) named "thierrybo-
My first run :
duplicity --verbosity debug --asynchronous-
the key error message (see the attached file for full log):
File "/home/
matching_
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Here is my "config_
[
{
"url": "pca://
"env": [
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
}
],
},
{
"url": "swift:
"env": [
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
}
],
}
]
summary: |
- MULTI BACKENT : startswith first arg must be bytes or a tuple of bytes, + MULTI BACKEND : startswith first arg must be bytes or a tuple of bytes, not str |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Same here. Similar configuration. duplicity 0.8.11
```
[...]
Restarting backup at volume 12.
Attempt 1 failed. TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Attempt 2 failed. TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Attempt 3 failed. TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Attempt 4 failed. TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Giving up after 5 attempts. TypeError: startswith first arg must be bytes or a tuple of bytes, not str
```