--exclude-filelist-stdin and gpg error with/without PASSPHRASE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ duplicity full --exclude-
Reading filelist standard input
Sorting filelist standard input
Warning: Problem with getpass. Passwords may be echoed.
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
globals.
File "/usr/bin/
pass1 = getpass.
File "/usr/lib/
return default_
File "/usr/lib/
return _raw_input(prompt, stream)
File "/usr/lib/
line = sys.stdin.
ValueError: I/O operation on closed file
-------
/tmp/ex contains a full path filename list
ii duplicity 0.6.06-2 encrypted bandwidth-efficient backup
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP replacement
ii gnupg-agent 2.0.14-1 GNU privacy guard - password agent
ii gnupg-curl 1.4.10-2 GNU privacy guard - a free PGP replacement (cURL)
ii gnupg2 2.0.14-1 GNU privacy guard - a free PGP replacement (new v2.x)
ii python 2.5.4-9 An interactive high-level object-oriented language (default version)
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid
-------
with :
$ env PASSPHRASE=mypass duplicity full -v 9 --exclude-
Connecting with backend: LocalBackend
Archive dir: /home/user/
Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Using temporary directory /home/user/
Registering (mktemp) temporary file /home/user/
Using temporary directory /home/user/
Registering (mktemp) temporary file /home/user/
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file /tmp/duplicity-
Removing still remembered temporary file /tmp/duplicity-
Selecting /home/user/mydir
Comparing () and None
Removing still remembered temporary file /tmp/duplicity-
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
full_
File "/usr/bin/
globals.
File "/usr/bin/
globals.
File "/usr/lib/
file = GPGFile(True, path.Path(
File "/usr/lib/
'logger': self.logger_fp})
File "/usr/lib/
create_fhs, attach_fhs)
File "/usr/lib/
if process.pid == 0: self._as_
File "/usr/lib/
os.dup2( p.child, getattr(sys, "__%s__" % std).fileno() )
ValueError: I/O operation on closed file
Getting delta of (() /home/user/mydir dir) and None
A .
Removing still remembered temporary file /tmp/duplicity-
Cleanup of temporary file /tmp/duplicity-
Removing still remembered temporary file /tmp/duplicity-
Cleanup of temporary file /tmp/duplicity-
Cleanup of temporary directory /tmp/duplicity-
Removing still remembered temporary file /home/user/
Removing still remembered temporary file /home/user/
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
full_
File "/usr/bin/
globals.
File "/usr/bin/
globals.
File "/usr/lib/
bytes_to_go = data_size - get_current_size()
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/tmp/duplicity
Removing still remembered temporary file /home/user/
Cleanup of temporary file /home/user/
Cleanup of temporary directory /home/user/
Removing still remembered temporary file /home/user/
Cleanup of temporary file /home/user/
Cleanup of temporary directory /home/user/
Changed in duplicity: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.6.14 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Still reproducible with duplicity 0.6.11 v2lHq9- tempdir/ mkstemp- oVge5k- 1
AFAICT there should be two attempts to remove
/tmp/duplicity-
gnupg 2.0.17
py-gnupg 0.3.2
pexpect 2.4
librsync 0.9.7
python 2.6.6-r2