From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84253 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus hangs when calling gpg Date: Thu, 27 Feb 2014 09:28:07 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87eh2oeiko.fsf@lifelogs.com> References: Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393511296 11858 80.91.229.3 (27 Feb 2014 14:28:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2014 14:28:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32501@lists.math.uh.edu Thu Feb 27 15:28:23 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJ1wi-0003da-KV for ding-account@gmane.org; Thu, 27 Feb 2014 15:28:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WJ1wI-00022D-Qf; Thu, 27 Feb 2014 08:27:54 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WJ1wG-00021u-Ti for ding@lists.math.uh.edu; Thu, 27 Feb 2014 08:27:52 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WJ1wF-0003y6-Bc for ding@lists.math.uh.edu; Thu, 27 Feb 2014 08:27:52 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WJ1wE-0002Jk-1Q for ding@gnus.org; Thu, 27 Feb 2014 15:27:50 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WJ1wA-00018M-Uu for ding@gnus.org; Thu, 27 Feb 2014 15:27:46 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Feb 2014 15:27:46 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Feb 2014 15:27:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Ftvbspuaq9LsunFtapTEu65RXFM= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84253 Archived-At: On Wed, 26 Feb 2014 16:45:31 +0000 (UTC) Julien Cubizolles wrote: JC> On a fresh install, gnus hangs whenever it invokes gpg with: JC> call-process("/usr/bin/gpg" nil (t nil) nil "--with-colons" "--list-config") JC> apply(call-process "/usr/bin/gpg" nil (t nil) nil ("--with-colons" JC> "--list-config")) JC> epg-configuration() JC> (epg-check-configuration (epg-configuration)) JC> This happens when I try to byte-compile the latest git (stuck at building JC> deuglify.el) or load 'gnus-registry. JC> Whether it's a problem with gpg or Emacs, I don't know. I'm running Emacs JC> 24.3.50.2 on Ubuntu 13.10. Any idea what I should try to investigate further ? I would first disable gpg temporarily, if possible, and test. If it works, you can reenable it after Gnus is up. I'd like to avoid this, especially at the byte-compile stage. Looks like ./lisp/epg-config.el:epg-configuration is doing the calling to investigate GnuPG's capabilities. That in turn is called by mml-smime.el and mml1991.el and mml2015.el. Daiki Ueno should probably comment on the necessity of this invocation, since it can hang for many reasons and I would guess is not essential to basic Gnus usage. JC> Julien, stuck without gnus on his shiny new computer. The humanity! :) Ted