duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] GPG Error (Duply 'code 31')


From: barghest
Subject: Re: [Duplicity-talk] GPG Error (Duply 'code 31')
Date: Sun, 30 Jul 2017 21:52:32 +0200 (CEST)

Hi, 

unfortunately the error is back. I've set  
allow-loopback-pinentry in .gnupg/gpg-agent.conf and GPG_OPTS='--pinentry-mode 
loopback' in my profile config and the backup worked for the last weeks.

duplicity 0.7.13.1-1
gnupg 2.1.21-3


GPG-Fehlerdetail: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1540, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1534, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1385, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1504, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 572, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 429, in write_multivol
    globals.volsize)
  File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 394, in 
GPGWriteFile
    file.close()
  File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 279, in close
    self.gpg_failed()
  File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 264, in 
gpg_failed
    raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: "ABCD" wird als voreingestellter geheimer Signaturschl\xfcssel benutzt
gpg: Sorry, we are in batchmode - can't get input
===== End GnuPG log =====


GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: "ABCD" wird als voreingestellter geheimer Signaturschlüssel benutzt
gpg: Sorry, we are in batchmode - can't get input
===== End GnuPG log =====

21:42:44.139 Task 'BKP' failed with exit code '31'.
--- Finished state FAILED 'code 31' at 21:42:44.139 - Runtime 02:00:29.969 ---

Thanks in advance

Thomas



> Thomas via Duplicity-talk <address@hidden> hat am 20. April 2017 um 21:27 
> geschrieben:
> 
> 
> Hi Richard,
> 
> Thank you for pointing me to the gpg-agent. It seems I missed the whole 
> pinentry thing :/
> 
> Greetings,
> 
> Thomas
> 
> > Richard via Duplicity-talk <address@hidden> hat am 19. April 2017 um 23:30 
> > geschrieben:
> > 
> > 
> > What is your version
> > - of duplicity -- is it 0.7.12 ?
> > - of gpg -- is it 2.1 ?
> > And do you use gpg-agent for this backup ?
> > 
> > On Apr 19, 2017 21:33, "Thomas via Duplicity-talk" <
> > address@hidden> wrote:
> > 
> > > Hey,
> > >
> > > Here I am with another problem after my first one yesterday could easily
> > > be solved.
> > >
> > > Duply runs fine but after some time I get this:
> > >
> > > GPG-Fehlerdetail: Traceback (most recent call last):
> > >   File "/usr/bin/duplicity", line 1546, in <module>
> > >     with_tempdir(main)
> > >   File "/usr/bin/duplicity", line 1540, in with_tempdir
> > >     fn()
> > >   File "/usr/bin/duplicity", line 1391, in main
> > >     do_backup(action)
> > >   File "/usr/bin/duplicity", line 1510, in do_backup
> > >     full_backup(col_stats)
> > >   File "/usr/bin/duplicity", line 575, in full_backup
> > >     globals.backend)
> > >   File "/usr/bin/duplicity", line 432, in write_multivol
> > >     globals.volsize)
> > >   File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 376, in
> > > GPGWriteFile
> > >     file.close()
> > >   File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 261, in
> > > close
> > >     self.gpg_failed()
> > >   File "/usr/lib/python2.7/site-packages/duplicity/gpg.py", line 246, in
> > > gpg_failed
> > >     raise GPGError(msg)
> > > GPGError: GPG Failed, see log below:
> > > ===== Begin GnuPG log =====
> > > gpg: "ABCDEFGHI" wird als voreingestellter geheimer Signaturschlüssel
> > > benutzt
> > > gpg: Sorry, we are in batchmode - can't get input
> > > ===== End GnuPG log =====
> > >
> > >
> > > GPGError: GPG Failed, see log below:
> > > ===== Begin GnuPG log =====
> > > gpg: "ABCDEFGHI" wird als voreingestellter geheimer Signaturschlüssel
> > > benutzt
> > > gpg: Sorry, we are in batchmode - can't get input
> > > ===== End GnuPG log =====
> > >
> > > 17:18:43.561 Task 'BKP' failed with exit code '31'.
> > > --- Finished state FAILED 'code 31' at 17:18:43.561 - Runtime 02:00:43.565
> > > ---
> > >
> > > Greetings,
> > >
> > > Thomas
> > >
> > > _______________________________________________
> > > Duplicity-talk mailing list
> > > address@hidden
> > > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> > >
> > _______________________________________________
> > Duplicity-talk mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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