duplicity remove-all-but-n-full Fails with TypeError: an integer is required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
duplicity 0.7.17
Python 2.7.15rc1
Ubuntu 18.04LTS
ext4 filesystem
command-line output:
$ duplicity remove-
Synchronizing remote metadata to local cache...
GnuPG passphrase for decryption:
Copying duplicity-
Copying duplicity-
Copying duplicity-
Cleanup of temporary directory /tmp/duplicity-
Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
sync_archive()
File "/usr/bin/
copy_
File "/usr/bin/
tdp.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
util.
File "/usr/lib/
return fn()
File "/usr/lib/
util.
TypeError: an integer is required
summary: |
- "duplicity remove-all-but-n-full 1 --force <path>" fails with "Cleanup - of temporary directory /tmp/duplicity-j3izoa-tempdir failed - this is - probably a bug." + duplicity remove-all-but-n-full Fails with TypeError: an integer is + required |
The temporary file error is a known, but hard to repeat bug. It's not the cause.
The problem is the TypeError at the end, os.chmod(file, mode) requires an integer for mode.
I changed the title for this to match.
What filesystem type is /media/eric?