duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Error: /usr/lib/python2.7/getpass.py:83: GetPassWar


From: edgar . soldin
Subject: Re: [Duplicity-talk] Error: /usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
Date: Mon, 21 Mar 2016 13:10:52 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

On 21.03.2016 13:05, Jelle de Jong wrote:
> Hello everybody,
> 
> I searched the mailing list but could not find a patch for this problem
> yet, however I am guessing someone already solved it. Could somebody
> direct me to the code patch or otherwise help me out?
> 
> debian 8.3
> duplicity 0.6.24-1
> libpython2.7-stdlib:amd64 2.7.9-2
> 
> Info: Duplicity cleanup finished successfully.
> Info: Duplicity remove-older-than finished successfully.
> Error: Local and Remote metadata are synchronized, no sync needed.
> Error: Last full backup date: Fri Dec 18 19:01:53 2015
> Error: /usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control
> echo on the terminal.
> Error: passwd = fallback_getpass(prompt, stream)
> Error: Warning: Password input may be echoed.
> Error: GnuPG passphrase for signing key: Traceback (most recent call last):
> Error: File "/usr/bin/duplicity", line 1509, in <module>
> Error: with_tempdir(main)
> Error: File "/usr/bin/duplicity", line 1503, in with_tempdir
> Error: fn()
> Error: File "/usr/bin/duplicity", line 1352, in main
> Error: do_backup(action)
> Error: File "/usr/bin/duplicity", line 1458, in do_backup
> Error: globals.gpg_profile.signing_passphrase = get_passphrase(1,
> action, True)
> Error: File "/usr/bin/duplicity", line 168, in get_passphrase
> Error: pass1 = getpass_safe(_("GnuPG passphrase for signing key:")+" ")
> Error: File "/usr/bin/duplicity", line 71, in getpass_safe
> Error: return getpass.getpass(message)
> Error: File "/usr/lib/python2.7/getpass.py", line 83, in unix_getpass
> Error: passwd = fallback_getpass(prompt, stream)
> Error: File "/usr/lib/python2.7/getpass.py", line 118, in fallback_getpass
> Error: return _raw_input(prompt, stream)
> Error: File "/usr/lib/python2.7/getpass.py", line 135, in _raw_input
> Error: raise EOFError
> Error: EOFError
> Fatal: Duplicity failed.
> 

smells like duplicity is run by cron but needs the passphrase and tries to get 
it via terminal, but there is none in cron.

supplying the gpg passphrases needed via env var or gpgagent should resolve 
this.

..ede/duply.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]