Thanks, not solved yet, but we're close. Below is the current output. The call actually goes through to the server. BUT, where the asterisks are is the Base64 encoded password... and it has a leading " b' ", which my working duplicity install does NOT have. I am not sure if that is a part of the newly created byte array, are that it gets added somewhere else when the byte array is printed.
Change line 291 to:
return u'Basic %s' % base64.encodestring(auth_string.encode()).decode().strip()
Now a backup starts, and we hit the next error once the first volume is uploaded:
Writing duplicity-full.20190920T171053Z.vol1.difftar.gpg
Backtrace of previous error: Traceback (innermost last):
File "/usr/local/lib/python3.7/dist-packages/duplicity/backend.py", line 371, in inner_retry
return fn(self, *args)
File "/usr/local/lib/python3.7/dist-packages/duplicity/backend.py", line 531, in put
self.__do_put(source_path, remote_filename)
File "/usr/local/lib/python3.7/dist-packages/duplicity/backend.py", line 517, in __do_put
self.backend._put(source_path, remote_filename)
File "/usr/local/lib/python3.7/dist-packages/duplicity/backends/webdavbackend.py", line 437, in _put
url = "" + remote_filename
TypeError: can only concatenate str (not "bytes") to str
Attempt 1 failed. TypeError: can only concatenate str (not "bytes") to str
Any ideas? :-)