--gpg-binary only works if gpg is in PATH
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I installed duplicity 0.8.10 (Python 3.8) via Homebrew on MacOS 10.13.6,
and I have to add the --gpg-binary parent to PATH in order to call duplicity from cron.
$ PATH= /usr/local/
Traceback (innermost last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
action = commandline.
File "/usr/local/
globals.
File "/usr/local/
self.
File "/usr/local/
res = gnupg.run(
File "/usr/local/
process = self._attach_
File "/usr/local/
self.
File "/usr/local/
os.
File "/usr/local/
_execvpe(file, args)
File "/usr/local/
raise last_exc
File "/usr/local/
exec_
FileNotFoundError: [Errno 2] No such file or directory
GPGError: failed to determine gnupg version of None from b''
This works:
$ PATH=/usr/local/bin /usr/local/
Changed in duplicity: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
milestone: | none → 0.8.12 |
Changed in duplicity: | |
status: | Invalid → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
milestone: | none → 0.8.12 |
Changed in duplicity: | |
status: | Invalid → Won't Fix |
Related (older repro): https:/ /github. com/henrysher/ duplicity/ issues/ 17