GPG Error (Duply 'code 31')

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

GPG Error (Duply 'code 31')

duplicity-talk mailing list
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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
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" <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
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 <[hidden email]> 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" <
> [hidden email]> 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
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
On Thu, 20 Apr 2017 21:27:44 +0200 (CEST)
[hidden email] wrote:

> Hi Richard,
>
> Thank you for pointing me to the gpg-agent. It seems I missed the
> whole pinentry thing :/
>
> Greetings,
>
> Thomas

If you do use duplicity 0.7.12 with gpg 2.1, you may want to have a
look at this post in another thread:
https://lists.nongnu.org/archive/html/duplicity-talk/2017-04/msg00036.html

--
  Richard

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
On Thu, 20 Apr 2017 21:34:40 +0200
Richard <[hidden email]> wrote:

> On Thu, 20 Apr 2017 21:27:44 +0200 (CEST)
> [hidden email] wrote:
>
> > Hi Richard,
> >
> > Thank you for pointing me to the gpg-agent. It seems I missed the
> > whole pinentry thing :/
> >
> > Greetings,
> >
> > Thomas  
>
> If you do use duplicity 0.7.12 with gpg 2.1, you may want to have a
> look at this post in another thread:
> https://lists.nongnu.org/archive/html/duplicity-talk/2017-04/msg00036.html
>
> --
>   Richard

A fix has already been committed for duplicity 0.7.13:
https://bugs.launchpad.net/duplicity/+bug/1680682

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
In reply to this post by duplicity-talk mailing list
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 <[hidden email]> 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 <[hidden email]> 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" <
> > [hidden email]> 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
> > > [hidden email]
> > > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> > >
> > _______________________________________________
> > Duplicity-talk mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
Hi,

Can I provide more information for my problem?

Thanks,

Thomas

> Thomas via Duplicity-talk <[hidden email]> hat am 30. Juli 2017 um 21:52 geschrieben:
>
>
> 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 <[hidden email]> 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 <[hidden email]> 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" <
> > > [hidden email]> 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
> > > > [hidden email]
> > > > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> > > >
> > > _______________________________________________
> > > Duplicity-talk mailing list
> > > [hidden email]
> > > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >
> > _______________________________________________
> > Duplicity-talk mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
hey Thomas,

1.
can you send your duply conf file (obfuscate info you deem private).

2.
send a duply --preview run output (same obfuscation as above).

..ede/duply.net


On 8/15/2017 22:37, Thomas via Duplicity-talk wrote:

> Hi,
>
> Can I provide more information for my problem?
>
> Thanks,
>
> Thomas
>
>> Thomas via Duplicity-talk <[hidden email]> hat am 30. Juli 2017 um 21:52 geschrieben:
>>
>>
>> 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 <[hidden email]> 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 <[hidden email]> 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" <
>>>> [hidden email]> 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
>>>>> [hidden email]
>>>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>>
>>>> _______________________________________________
>>>> Duplicity-talk mailing list
>>>> [hidden email]
>>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> [hidden email]
>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> [hidden email]
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>


_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
Hi Edgar,

Thanks for the reply.

Here's the config file: https://pastebin.com/VNrRnYj7

And the --preview: https://pastebin.com/hXUPxfwe

Thomas


> "edgar.soldin--- via Duplicity-talk" <[hidden email]> hat am 15. August 2017 um 22:53 geschrieben:
>
>
> hey Thomas,
>
> 1.
> can you send your duply conf file (obfuscate info you deem private).
>
> 2.
> send a duply --preview run output (same obfuscation as above).
>
> ..ede/duply.net
>
>
> On 8/15/2017 22:37, Thomas via Duplicity-talk wrote:
> > Hi,
> >
> > Can I provide more information for my problem?
> >
> > Thanks,
> >
> > Thomas
> >
> >> Thomas via Duplicity-talk <[hidden email]> hat am 30. Juli 2017 um 21:52 geschrieben:
> >>
> >>
> >> 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 <[hidden email]> 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 <[hidden email]> 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" <
> >>>> [hidden email]> 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
> >>>>> [hidden email]
> >>>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >>>>>
> >>>> _______________________________________________
> >>>> Duplicity-talk mailing list
> >>>> [hidden email]
> >>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >>>
> >>> _______________________________________________
> >>> Duplicity-talk mailing list
> >>> [hidden email]
> >>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >>
> >> _______________________________________________
> >> Duplicity-talk mailing list
> >> [hidden email]
> >> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >
> > _______________________________________________
> > Duplicity-talk mailing list
> > [hidden email]
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> >
>
>
> _______________________________________________
> Duplicity-talk mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: GPG Error (Duply 'code 31')

duplicity-talk mailing list
On 8/15/2017 23:12, Thomas via Duplicity-talk wrote:
> Hi Edgar,
>
> Thanks for the reply.

nP

there were some changes in duplicity wrt. gpg 2.0+. you might want to remove the duply params. also read
  https://bbs.archlinux.org/viewtopic.php?id=208059
and see if playing w/ the gpg options helps.

..ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk