Apparently what is happening is the following exception on the following path:
Writing elv/code/oss/lin_64/lib/bin/navicat/Navicat of type dir
Writing files in elv/code/oss/lin_64/lib/bin/navicat/Navicat
...
Writing elv/code/oss/lin_64/lib/bin/navicat/navicat of type dir
Duplicity attempts to create the folder elv/code/oss/lin_64/lib/bin/navicat/Navicat and then
elv/code/oss/lin_64/lib/bin/navicat/navicat.
And throws the assert exception at patchdir 610: assert index == (), index
Traceback (innermost last):
File "/usr/local/bin/duplicity", line 87, in <module>
with_tempdir(main)
File "/usr/local/bin/duplicity", line 70, in with_tempdir
fn()
File "/usr/local/lib/python3.8/site-packages/duplicity/dup_main.py", line 1543, in main
do_backup(action)
File "/usr/local/lib/python3.8/site-packages/duplicity/dup_main.py", line 1627, in do_backup
restore(col_stats)
File "/usr/local/lib/python3.8/site-packages/duplicity/dup_main.py", line 718, in restore
if not patchdir.Write_ROPaths(config.local_path,
File "/usr/local/lib/python3.8/site-packages/duplicity/patchdir.py", line 577, in Write_ROPaths
ITR(ropath.index, ropath)
File "/usr/local/lib/python3.8/site-packages/duplicity/lazy.py", line 368, in __call__
self.process_w_branch(index, branch, args)
File "/usr/local/lib/python3.8/site-packages/duplicity/lazy.py", line 322, in process_w_branch
robust.check_common_error(branch.on_error,
File "/usr/local/lib/python3.8/site-packages/duplicity/robust.py", line 41, in check_common_error
return function(*args)
File "/usr/local/lib/python3.8/site-packages/duplicity/patchdir.py", line 610, in start_process
assert index == (), index
AssertionError: (b'elv', b'code', b'oss', b'lin_64', b'lib', b'bin', b'navicat', b'navicat')