From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#35801: 27.0.50; [w32] Corrupt ~/.emacs.d/elpa/gnupg/ causes Emacs startup failure with gnu-elpa-keyring-update installed (was Re: Investigating Emacs startup failure) Date: Sun, 19 May 2019 20:28:14 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000073559f0589429f5d" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="259923"; mail-complaints-to="usenet@blaine.gmane.org" To: 35801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 19 21:29:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSRUg-0015SA-RS for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 21:29:15 +0200 Original-Received: from localhost ([127.0.0.1]:52461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSRUf-0006Mo-66 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 15:29:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSRUV-0006Mi-TQ for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSRUU-0002NM-78 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSRUU-0002NE-0g for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSRUT-0004GS-TG for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2019 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35801 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155829413216371 (code B ref -1); Sun, 19 May 2019 19:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2019 19:28:52 +0000 Original-Received: from localhost ([127.0.0.1]:35556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSRUK-0004Fz-73 for submit@debbugs.gnu.org; Sun, 19 May 2019 15:28:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSRUI-0004Fl-5u for submit@debbugs.gnu.org; Sun, 19 May 2019 15:28:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSRUD-0002Ge-2C for submit@debbugs.gnu.org; Sun, 19 May 2019 15:28:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSRUB-0006MZ-37 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:28:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSRU9-0002FJ-Ff for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:28:43 -0400 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:41805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSRU9-0002En-91 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 15:28:41 -0400 Original-Received: by mail-ot1-x336.google.com with SMTP id l25so2753153otp.8 for ; Sun, 19 May 2019 12:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KAU25mShV5ONKHpH/eJ5eFacNMcDzHEX8d10sHVm11I=; b=WXkGY1XOERnRVAPQJUOwIuG19b7TXFc6RGfyCDLu3roBh8D40UVN5qk9mdqP8DgCMw Fx/ok7cRR72IEtJorhdraLce9ILeB0j6t7q++QNWiuCVtVhSF3iLG9QiyGQJgJ6JLuCR d7ON++51ipYwH7k+0Ta3IeHiEDwvZUFNdKRzz+2J1W4Ty6PiTNCgQrDdRm5qXkUO9MCn QWK0pXfVvxEyoKYEvvfVs5qD1tZAXCV7vuAo10zy9CrhX53p4I3TR2h9lIJCGaLPGhUh O4pG74q9LCWzSuKDqjSSxIfW22EPfyDtEcTV6Zln8TYRbG+8OHK6mZop4yllHiYjVpZ7 pA3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KAU25mShV5ONKHpH/eJ5eFacNMcDzHEX8d10sHVm11I=; b=lK0E9TCaE79aNhRUBdxhvHotodKis3VEkMnvWHNicuHJt818tSW1ZzQfcQixU7OvgF sQn5s9vQ+pb81Do8xEZx9m9tH0x1aYZMphmhFAacd2mk2SDTduPyMSbEsCUHQIRf6Ly8 lZINTTekSgliMhATKTVW1V9UWRbil80KLLUy7/D372KZ53IrGuyJs0qc3lTxX+MHJZmS agHCa6/qoO2kdqlzOGA3GH0RideaJkBujzjqVrlYvDlL8wuOxwpa02K0IcK9yY76+O8P /F4cAZHqDCjX2t+khWleFlya0KFDr35U0vQbJod2raK6AY59JDVD8RBPkACptIIOHV+J JBBw== X-Gm-Message-State: APjAAAWzNEW3Vk6CkwqbQBV/Mzj3RDWXUIDLfAAdF1wvDZoF7bXLERZL MyAMA+h3znAQJAu0Ckt7vvdq7iSZKsBJabxItasjQcJLjes= X-Google-Smtp-Source: APXvYqw+rKzg+YRITMpUWdB7QXR2XS7TZ4sUEoHKplTO+/7Wt6yWCvgvbQeNhKYoVP0yjzPbjBMjkwJA4IsdDhwxbPE= X-Received: by 2002:a9d:6a18:: with SMTP id g24mr192683otn.192.1558294119533; Sun, 19 May 2019 12:28:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159562 Archived-At: --00000000000073559f0589429f5d Content-Type: text/plain; charset="UTF-8" I got my Emacs into a state where it failed to start. I asked about it on help-gnu-emacs[1]. I fixed my Emacs, but didn't get to the bottom of the problem. Stefan asked me to make it a bug report: "such a corrupt directory shouldn't prevent use of Emacs". After installing "gnu-elpa-keyring-update-2019.3" from GNU ELPA, my Emacs stopped working: when invoked as "emacs" from the command line, it printed a message, then exited with status -1 without displaying a frame. The message was: GPG error: "no usable configuration", OpenPGP Emacs started normally when invoked as "emacs -Q". Having done that, I could load my init file with M-x load-file, and then everything looked normal and there were no messages or errors. I uninstalled all packages (the problem went away) and reinstalled them one-by-one. The problem came back after installing "gnu-elpa-keyring-update-2019.3". I tried renaming .emacs.d/ to reproduce the problem, but could not. On a hunch I deleted the gnupg/ directory in ~/.emacs.d/elpa before reinstalling the "gnu-elpa-keyring-update-2019.3" package. This fixed the problem, but also destroyed my means of reproducing it. [1] https://lists.gnu.org/archive/html/help-gnu-emacs/2019-05/msg00418.html In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32) of 2019-05-19 built on MACHINE Repository revision: b87e5eea1dd7c7345d0a9f82759eedfd7c9a8099 Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.18890 Configured using: 'configure --config-cache --with-modules --without-pop --without-dbus --without-gconf --without-gsettings CFLAGS=-O3' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 45773 9549) (symbols 48 5970 1) (strings 32 16404 1855) (string-bytes 1 511709) (vectors 16 8836) (vector-slots 8 111332 13450) (floats 8 19 333) (intervals 56 217 15) (buffers 992 11)) --00000000000073559f0589429f5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I got my Emacs into a state where it failed to start. I as= ked about it on help-gnu-emacs[1]. I fixed my Emacs, but didn't get to = the bottom of the problem. Stefan asked me to make it a bug report: "s= uch a corrupt directory shouldn't prevent use of Emacs".

Af= ter installing "gnu-elpa-keyring-update-2019.3" from GNU ELPA, my= Emacs stopped working: when invoked as "emacs" from the command = line, it printed a message, then exited with status -1 without displaying a= frame. The message was:

GPG error: "no usable configuration&qu= ot;, OpenPGP

Emacs started normally when invoked as "emacs -Q&q= uot;. Having done that, I could load my init file with M-x load-file, and t= hen everything looked normal and there were no messages or errors.

I= uninstalled all packages (the problem went away) and reinstalled them one-= by-one. The problem came back after installing "gnu-elpa-keyring-updat= e-2019.3".

I tried renaming .emacs.d/ to reproduce the problem,= but could not. On a hunch I deleted the gnupg/ directory in ~/.emacs.d/elp= a before reinstalling the "gnu-elpa-keyring-update-2019.3" packag= e. This fixed the problem, but also destroyed my means of reproducing it.


In GNU Emacs 27.0.50 (build 1, x86_64-w64-m= ingw32)
=C2=A0of 2019-05-19 built on MACHINE
Repository revision: b87= e5eea1dd7c7345d0a9f82759eedfd7c9a8099
Repository branch: master
Windo= wing system distributor 'Microsoft Corp.', version 10.0.18890
Configured using:
=C2=A0'configure --config-cache --with-modules -= -without-pop --without-dbus
=C2=A0--without-gconf --without-gsettings CF= LAGS=3D-O3'

Configured features:
XPM JPEG TIFF GIF PNG RSVG S= OUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
ZLIB TOOLKIT_SCROLL_BARS MODULE= S THREADS JSON PDUMPER LCMS2 GMP
Recent messages:
For information abo= ut GNU Emacs and the GNU system, type C-h C-a.

Important settings:=C2=A0 value of $LANG: ENG
=C2=A0 locale-coding-system: cp1252

= Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 toolti= p-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mo= de: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2= =A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cu= rsor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-m= ode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
<= br>Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-o= pt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc82= 2 mml
easymenu mml-sec password-cache epa derived epg epg-config gnus-ut= il
rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodi= es
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loadd= efs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-u= tils
elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-h= ooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-= win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fring= e
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
pr= og-mode register page menu-bar rfn-eshadow isearch timer select
scroll-b= ar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors fr= ame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan tha= i tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian sl= ovak czech european ethiopic indian cyrillic
chinese composite charscrip= t charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray = minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp = files text-properties overlay sha1 md5
base64 format env code-pages mule= custom widget hashtable-print-readable
backquote threads w32notify w32 = lcms2 multi-tty make-network-process
emacs)

Memory information:((conses 16 45773 9549)
=C2=A0(symbols 48 5970 1)
=C2=A0(strings 32= 16404 1855)
=C2=A0(string-bytes 1 511709)
=C2=A0(vectors 16 8836)=C2=A0(vector-slots 8 111332 13450)
=C2=A0(floats 8 19 333)
=C2=A0(i= ntervals 56 217 15)
=C2=A0(buffers 992 11))
--00000000000073559f0589429f5d--