Comment 2 for bug 1654220

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1654220] [NEW] Duplicity fails on MacOS because GPG version parsing fails

Interesting, on my Mac Sierra, it says:

ken@dione:~/stealth$ gpg --version
gpg (GnuPG) 2.0.30
libgcrypt 1.7.5
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Not sure who rebranded it, but FSF might just be interested to know....

On Thu, Jan 5, 2017 at 5:19 AM, Kenneth Newwood <email address hidden>
wrote:

> Public bug reported:
>
> Duplicity version: duplicity 0.7.11
> Python version: Python 2.7.13
> OS Distro and version: OS X El Capitan 10.11.6
>
> Duplicity 0.7.11 tries to parse the GPG version but fails because the
> GPG version string of GnuPG for Mac OS differs slightly (e.g. "gpg
> (GnuPG/MacGPG2) 2.0.30"). This leads to a fatal "GPGError: failed to
> determine gpg version of None from gpg (GnuPG/MacGPG2) 2.0.30".
>
> For a patch see the attachment.
>
> ** Affects: duplicity
> Importance: Undecided
> Status: New
>
> ** Patch added: "fixed version parsing"
> https://bugs.launchpad.net/bugs/1654220/+attachment/
> 4800339/+files/duplicity_patch.txt
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1654220
>
> Title:
> Duplicity fails on MacOS because GPG version parsing fails
>
> Status in Duplicity:
> New
>
> Bug description:
> Duplicity version: duplicity 0.7.11
> Python version: Python 2.7.13
> OS Distro and version: OS X El Capitan 10.11.6
>
> Duplicity 0.7.11 tries to parse the GPG version but fails because the
> GPG version string of GnuPG for Mac OS differs slightly (e.g. "gpg
> (GnuPG/MacGPG2) 2.0.30"). This leads to a fatal "GPGError: failed to
> determine gpg version of None from gpg (GnuPG/MacGPG2) 2.0.30".
>
> For a patch see the attachment.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1654220/+subscriptions
>