--exclude-device-files and --exclude-other-filesystems options crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Quack,
I'm using duplicity 0.8.04-2 on Debian unstable (Python 3.7.4).
Recently I got:
Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/lib/
action = commandline.
File "/usr/lib/
args = parse_cmdline_
File "/usr/lib/
(options, args) = parser.
File "/usr/lib/
stop = self._process_
File "/usr/lib/
self.
File "/usr/lib/
option.
File "/usr/lib/
self.action, self.dest, opt, value, values, parser)
File "/usr/lib/
self, action, dest, opt, value, values, parser)
File "/usr/lib/
self.
File "/usr/lib/
select_
File "/usr/lib/
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
Printing the `option` variable I got --exclude-
\_o<
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.8.05 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I also noticed the same problem. Here's a minimal test case that demonstrates the problem:
mkdir -p /tmp/duplicity- test/a test/
cd /tmp/duplicity-
touch a/one
touch a/two
mkdir b
PASSPHRASE=password duplicity --exclude- device- files a/ file:// /tmp/duplicity- test/b