From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#2412: spurious "Sign failed" errors Date: Sun, 03 May 2009 14:43:42 +0900 Message-ID: <87ab5uspv5.fsf@broken.deisui.org> References: <87fxg9xlxq.fsf@cyd.mit.edu> <87r5zsbf65.fsf@turtle.gmx.de> Reply-To: Daiki Ueno , 2412@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1241329948 8174 80.91.229.12 (3 May 2009 05:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 May 2009 05:52:28 +0000 (UTC) Cc: Chong Yidong , 2412@emacsbugs.donarmstrong.com To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 03 07:52:20 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M0Ucd-0002ND-Bw for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 May 2009 07:52:19 +0200 Original-Received: from localhost ([127.0.0.1]:42328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0Ucc-0006Rl-Kv for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 May 2009 01:52:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0UcM-0006MT-Eu for bug-gnu-emacs@gnu.org; Sun, 03 May 2009 01:52:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0UcH-0006J9-55 for bug-gnu-emacs@gnu.org; Sun, 03 May 2009 01:52:01 -0400 Original-Received: from [199.232.76.173] (port=47906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0UcG-0006Iq-Ic for bug-gnu-emacs@gnu.org; Sun, 03 May 2009 01:51:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34877) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0UcF-0005w9-LM for bug-gnu-emacs@gnu.org; Sun, 03 May 2009 01:51:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n435pqx6024791; Sat, 2 May 2009 22:51:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n435o4wi023619; Sat, 2 May 2009 22:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Daiki Ueno Original-Sender: Daiki Ueno Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 03 May 2009 05:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2412 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2412-submit@emacsbugs.donarmstrong.com id=B2412.124132942722226 (code B ref 2412); Sun, 03 May 2009 05:50:03 +0000 Original-Received: (at 2412) by emacsbugs.donarmstrong.com; 3 May 2009 05:43:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n435hiGp022218 for <2412@emacsbugs.donarmstrong.com>; Sat, 2 May 2009 22:43:45 -0700 Original-Received: by wf-out-1314.google.com with SMTP id 28so2522489wfa.13 for <2412@emacsbugs.donarmstrong.com>; Sat, 02 May 2009 22:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=LEbn+iHvkHsZqjpKKpiy/TU2LqZSI0WqLVr/MXe9p4s=; b=K97364dGRShtzjIxpL61uum9cwBU8+14pPM9Y4l117AuGKjqP/Ppqq5cu3JAN8MatH /jr1z0YD4ccH/k/XX1cCvS44Nz16G0Aqaxd5L35uqYK+DXinvE3EFFv7Kf/AjNkDHnbg HxsAVOJ5Y6go/SBQfvQ1OEXFd6itWBM5HqQXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=JelOUreH02TqI9xEzvodLQ7KvVmzfp0lQyrv2zE6EktTVXsFLnplFyxEdUOCiM+D6M h6yUnPpraWDZ5IfVfLGw5qR5Jyd2+896bSxmxeO2GjPUQTdKfprsr43YWn83ScTRVjKJ HpDw4nB/nOlxSqnDhWkEDWkRd/M2Vhl2MjDSQ= Original-Received: by 10.142.222.19 with SMTP id u19mr1710536wfg.87.1241329423619; Sat, 02 May 2009 22:43:43 -0700 (PDT) Original-Received: from broken (g187018.scn-net.ne.jp [202.83.187.18]) by mx.google.com with ESMTPS id 30sm9731335wfc.38.2009.05.02.22.43.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 May 2009 22:43:42 -0700 (PDT) In-Reply-To: <87r5zsbf65.fsf@turtle.gmx.de> (Sven Joachim's message of "Thu, 16 Apr 2009 20:56:50 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 03 May 2009 01:52:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27638 Archived-At: --=-=-= Hi, Sven Joachim writes: >>> could you please try (setq epg-debug t) and show me the contents of >>> " *epg-debug*" buffer next time you see the error? > Looks innocent enough to me: > | [GNUPG:] SIG_CREATED D 17 2 01 1239906974 9AACBC0C69283380715D3788ECB679C787E9AABE > | [GNUPG:] SIG_CREATED D 17 2 01 1239906984 9AACBC0C69283380715D3788ECB679C787E9AABE Thanks. It looks innocent for me too, but now I can suspect a timing problem. Could you please try the patch attached below? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=epg.el.diff diff --git a/lisp/epg.el b/lisp/epg.el index e96258f..3c80ef9 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -1175,7 +1175,8 @@ This function is for internal use only." (defun epg-wait-for-completion (context) "Wait until the `epg-gpg-program' process completes." (while (eq (process-status (epg-context-process context)) 'run) - (accept-process-output (epg-context-process context) 1))) + (accept-process-output (epg-context-process context) 1)) + (sleep-for 0.1)) (defun epg-reset (context) "Reset the CONTEXT." --=-=-= Regards, -- Daiki Ueno --=-=-=--