all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mike Dupont <jamesmikedupont@googlemail.com>
Cc: 32004@debbugs.gnu.org
Subject: bug#32004: 25.2; Package-install-package Failed to verify signature file-error Setting current directory No such file or directory
Date: Sat, 13 Jul 2019 05:33:03 +0200	[thread overview]
Message-ID: <87d0iey5g0.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAF0qKV2J2rEZEa5_P_ZWxsUEB2oybMMaFsQq9AHrsKtYKusk2A@mail.gmail.com> (Mike Dupont's message of "Fri, 29 Jun 2018 07:08:59 -0400")

Mike Dupont <jamesmikedupont@googlemail.com> writes:

> I tried to open an url and forgot how, then decided to install w3
> but the install failed because I opened a bogus file.
>
> step 1.
> C-x-f http://json-schema.org/draft-07/schema
>
> 1.0 Shows :
> Find file: {http:/} /json-schema.org/draft-07/schema
>
> 1.1 RET
>
> this creates a buffer in the non existing directory
>
> /json-schema.org/draft-07/
>
> step 2.
>
> 2.1 M-x package-list-packages

The backtrace is variations on this:

Debugger entered--Lisp error: (file-missing "Setting curren
  make-process(:name "epg" :buffer #<buffer  *epg*-726832> 
  epg--start(#s(epg-context :protocol OpenPGP :program "/us
  epg-start-import-keys(#s(epg-context :protocol OpenPGP :p
  epg--import-keys-1(#s(epg-context :protocol OpenPGP :prog
  epg-import-keys-from-file(#s(epg-context :protocol OpenPG
  package-import-keyring("/home/larsi/src/emacs/trunk/etc/p
  package-refresh-contents(t)
  package-menu-refresh()
  package-list-packages(nil)
  funcall-interactively(package-list-packages nil)
  call-interactively(package-list-packages record nil)
  command-execute(package-list-packages record)
  execute-extended-command(nil "package-list-packages" nil)
  funcall-interactively(execute-extended-command nil "package-list-packages" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

Is there a standard thing we can use in these circumstances where it
doesn't much matter what default-directory is, other than that it has to
exist?  (And probably has to be readable.)

A `with-ensured-directory' or something might be nice?  Or do we just
bind default-directory to "/"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-07-13  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 11:08 bug#32004: 25.2; Package-install-package Failed to verify signature file-error Setting current directory No such file or directory Mike Dupont
2019-07-13  3:33 ` Lars Ingebrigtsen [this message]
2019-09-28 17:43   ` Stefan Kangas
2019-09-29 10:29     ` Lars Ingebrigtsen
2021-09-01 10:16       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0iey5g0.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=32004@debbugs.gnu.org \
    --cc=jamesmikedupont@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.