[opensuse] Thunderbird-6.0-4.1.x86_64 - Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
All, Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog: Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16. enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64 What's the trick? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 08/22/2011 12:28 PM:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
I don't know. Every now and then engmail does a funny. * It won't autorecognise /usr/bin/gpg or /usr/bin/gpg2 * The wizard won't accept /usr/bin/gpg2 * It drops debug files all over the place regardless * It keeps telling you it can't start GPG without gpg-agent EVEN WHEN YOU HAVE gpg-agent running RUNNING FROM AN ANCESTOR BEFORE thunderbird WAS STARTED Poor Quality Control! The 'every now' for me has been 'every upgrade of thunderbird. enigmail or gpg'. -- What is wanted is not the will to believe, but the will to find out, which is the exact opposite. --Bertrand Russell, _Skeptical Essays_ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 08/22/2011 12:35 PM, Anton Aylward wrote:
David C. Rankin said the following on 08/22/2011 12:28 PM:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
I don't know. Every now and then engmail does a funny.
* It won't autorecognise /usr/bin/gpg or /usr/bin/gpg2 * The wizard won't accept /usr/bin/gpg2 * It drops debug files all over the place regardless * It keeps telling you it can't start GPG without gpg-agent EVEN WHEN YOU HAVE gpg-agent running RUNNING FROM AN ANCESTOR BEFORE thunderbird WAS STARTED
Poor Quality Control!
The 'every now' for me has been 'every upgrade of thunderbird. enigmail or gpg'.
In addition to the original error, I get: Enigmail: Error in accessing Enigmail service To permanently avoid this alert, either fix the problem or uninstall Enigmail. Click on the Help button for more details. I haven't had this much trouble with thunderbird and enigmail in at least 5 years... Something is f'ed up bigtime... I had to close the "Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16." dialog 5 times just to send this email... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin [22.08.2011 18:28]:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
Try to add some lines to an autostart file: ---snip--- GPGAGENTFILE="$HOME/.gpg-agent-info" ps ax | grep -v grep | grep -q gpg-agent || /usr/bin/gpg-agent \ --daemon --enable-ssh-support --write-env-file "$GPGAGENTFILE" if [ -f "$GPGAGENTFILE" ]; then . "$GPGAGENTFILE" export GPG_AGENT_INFO export SSH_AUTH_SOCK export SSH_AGENT_PID fi ---pins--- Since I added this to my ~/.bashrc, I can use Enigmail again :-) Sometimes TB? KDE? does not start the gpg-agent or with wrong parameters or whatever. It happened every now and then, without updateing TB. Several days later Enigmail was available again. So I tried the manpage of gpg-agent and found interesting things :-) Close TB, execute the script on a shell window, and start TB from that shell, so that the values are set. Next time, they should be executed when logging in or when the GUI starts. HTH Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 23, 2011 at 11:07:21AM +0200, Werner Flamme wrote:
David C. Rankin [22.08.2011 18:28]:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
Try to add some lines to an autostart file:
---snip--- GPGAGENTFILE="$HOME/.gpg-agent-info"
ps ax | grep -v grep | grep -q gpg-agent || /usr/bin/gpg-agent \ --daemon --enable-ssh-support --write-env-file "$GPGAGENTFILE"
if [ -f "$GPGAGENTFILE" ]; then . "$GPGAGENTFILE" export GPG_AGENT_INFO export SSH_AUTH_SOCK export SSH_AGENT_PID fi ---pins---
Since I added this to my ~/.bashrc, I can use Enigmail again :-)
Sometimes TB? KDE? does not start the gpg-agent or with wrong parameters or whatever. It happened every now and then, without updateing TB. Several days later Enigmail was available again. So I tried the manpage of gpg-agent and found interesting things :-)
Close TB, execute the script on a shell window, and start TB from that shell, so that the values are set. Next time, they should be executed when logging in or when the GUI starts.
Hmmm ... IMHO this should be already done in /etc/X11/xdm/sys.xsession only if a GNOME session is used it could happen that instead of the gpg-agent GNOME's seahorse-agent is running or a GNOME 3 session already provides a gnome keyring control. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dr. Werner Fink [23.08.2011 11:41]:
On Tue, Aug 23, 2011 at 11:07:21AM +0200, Werner Flamme wrote:
David C. Rankin [22.08.2011 18:28]:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
Try to add some lines to an autostart file:
---snip--- GPGAGENTFILE="$HOME/.gpg-agent-info"
ps ax | grep -v grep | grep -q gpg-agent || /usr/bin/gpg-agent \ --daemon --enable-ssh-support --write-env-file "$GPGAGENTFILE"
if [ -f "$GPGAGENTFILE" ]; then . "$GPGAGENTFILE" export GPG_AGENT_INFO export SSH_AUTH_SOCK export SSH_AGENT_PID fi ---pins---
Since I added this to my ~/.bashrc, I can use Enigmail again :-)
Sometimes TB? KDE? does not start the gpg-agent or with wrong parameters or whatever. It happened every now and then, without updateing TB. Several days later Enigmail was available again. So I tried the manpage of gpg-agent and found interesting things :-)
Close TB, execute the script on a shell window, and start TB from that shell, so that the values are set. Next time, they should be executed when logging in or when the GUI starts.
Hmmm ... IMHO this should be already done in /etc/X11/xdm/sys.xsession only if a GNOME session is used it could happen that instead of the gpg-agent GNOME's seahorse-agent is running or a GNOME 3 session already provides a gnome keyring control.
Hi Werner, yes, it should. Unfortunately, sometimes it doesn't. It happens (to me) several times a year that Enigmail refuses to work for some days. Whenever I look, variables like GPG_AGENT_INFO are not set (open a shell, "env | sort", or adding s.th. like "echo GPG_AGENT_INFO=$GPG_AGENT_INFO" in /usr/lib64/thunderbird/thunderbird.sh), and starting TB from the commandline then. I do not care why this happens. I was not aware of the existence and meaning of /etc/X11/xdm/sys.xsession ;-). I just try to make sure that it works ;-) Currently, I just wonder what Cleopatra does on my desktop - some key munging application too... Regards, Werner -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 23/08/11 10:07, Werner Flamme wrote:
David C. Rankin [22.08.2011 18:28]:
All,
Just updated thunderbird and enigmail this morning and now I get tons of errors. Everytime I do anything, I get the following dialog:
Could not start the gpg-agent program which is needed for your GnuPG version 2.0.16.
enigmail-1.3-4.1.x86_64 MozillaThunderbird-6.0-4.1.x86_64
What's the trick?
Try to add some lines to an autostart file:
---snip--- GPGAGENTFILE="$HOME/.gpg-agent-info"
ps ax | grep -v grep | grep -q gpg-agent || /usr/bin/gpg-agent \ --daemon --enable-ssh-support --write-env-file "$GPGAGENTFILE"
OT but can I suggest to use "pgrep" (or "pidof") rather than this pipeline ... you can even check it belongs to the right user that way
if [ -f "$GPGAGENTFILE" ]; then . "$GPGAGENTFILE" export GPG_AGENT_INFO export SSH_AUTH_SOCK export SSH_AGENT_PID fi ---pins---
...
HTH Werner
Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Anton Aylward
-
David C. Rankin
-
Dr. Werner Fink
-
Tejas Guruswamy
-
Werner Flamme