From 9201b1927286ac2bb8421ee227d267fcff07bd22 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk7iPiqWr3BVPLWEDvJhSSvcOqheLEbLNo" Date: Thu, 27 Jun 2013 11:52:53 +0000 Subject: --- doc/bugs/GPG_problem_on_Mac.mdwn | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/bugs/GPG_problem_on_Mac.mdwn (limited to 'doc') diff --git a/doc/bugs/GPG_problem_on_Mac.mdwn b/doc/bugs/GPG_problem_on_Mac.mdwn new file mode 100644 index 000000000..25e4bb747 --- /dev/null +++ b/doc/bugs/GPG_problem_on_Mac.mdwn @@ -0,0 +1,31 @@ +### Please describe the problem. +Adding a box.com repository fails with an Internal server error and the message "user error (gpg ["--quiet","--trust-model","always","--batch","--passphrase-fd","48","--symmetric","--force-mdc"] exited 2)" + +Looking at the logfile it seems like git-annex is looking for gpg (gpg-agent) in /usr/local/MacGPG2/bin/. On my system it is in /usr/local/bin (installed using homebrew). I do not have the directory /usr/local/MacGPG2/. + +Not sure if what the git-annex philosophy is: detect the location of such external programs or ship them together with git-annex. + +### What steps will reproduce the problem? +Add a box.com repository (I assume every repository type that uses gpg will fail in the same way) on a Mac. + + +### What version of git-annex are you using? On what operating system? +git-annex version 4.20130626-g2dd6f84 +Mac OS 10.8.4 + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + +(Recording state in git...) + +(encryption setup) (shared cipher) (testing WebDAV server...) +(gpg) gpg: error running `/usr/local/MacGPG2/bin/gpg-agent': probably not installed +gpg: DBG: running `/usr/local/MacGPG2/bin/gpg-agent' for testing failed: Configuration error +gpg: can't connect to the agent: IPC connect call failed +gpg: problem with the agent: No agent running +27/Jun/2013:13:41:37 +0200 [Error#yesod-core] user error (gpg ["--quiet","--trust-model","always","--batch","--passphrase-fd","21","--symmetric","--force-mdc"] exited 2) @(yesod-core-1.1.8.3:Yesod.Internal.Core ./Yesod/Internal/Core.hs:550:5) +# End of transcript or log. +"""]] -- cgit v1.2.3