Duplicity crashes with --exclude-older-than
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The development version of duplicity crashes when --exclude-
> duplicity --exclude-
Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib64/
args = parse_cmdline_
File "/usr/lib64/
(options, args) = parser.
File "/usr/lib64/
stop = self._process_
File "/usr/lib64/
self.
File "/usr/lib64/
option.
File "/usr/lib64/
self.action, self.dest, opt, value, values, parser)
File "/usr/lib64/
self, action, dest, opt, value, values, parser)
File "/usr/lib64/
self.
File "/usr/lib64/
select_
File "/usr/lib64/
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not int
I am using duplicity under openSUSE Tumbleweed, 20191119 snapshot, Python 2.7.17.
Changed in duplicity: | |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
importance: | Undecided → Medium |
milestone: | none → 0.8.08 |
status: | New → In Progress |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
The traceback says you are running Python 3.7, not 2.7. Plus, it looks to be from an older version of duplicity. Please uninstall all versions of duplicity, especially those from the repo, then reinstall from one of the ones below. "sudo apt uninstall duplicity"
Do a 'which -a duplicity' to find if multiple versions are installed. Remove all. Look in /usr/lib64/ pythonX. Y/site packages and remove any duplicity directory found.
* Release tarball Install - https:/ /launchpad. net/duplicity/ +download /launchpad. net/~duplicity- team/+archive/ ubuntu/ daily-dev- trunk
* Daily duplicity builds - https:/
* Stable snap builds - “sudo snap install duplicity —classic"