Skip to content

Instantly share code, notes, and snippets.

@pesterhazy
Last active February 2, 2023 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pesterhazy/0612322028ef92d109769616cf80b661 to your computer and use it in GitHub Desktop.
Save pesterhazy/0612322028ef92d109769616cf80b661 to your computer and use it in GitHub Desktop.
(wrong-type-argument stringp (require . package))
package--with-response-buffer-1: Wrong type argument: stringp, (require . package)
Debugger entered--Lisp error: (wrong-type-argument stringp (require . package))
  signal(wrong-type-argument (stringp (require . package)))
  package--with-response-buffer-1("https://melpa.org/packages/" #f(compiled-function () #<bytecode 0xc88c9f08cc83354>) :file "0xc-20201025.2105.tar" :async nil :error-function #f(compiled-function () #<bytecode 0x1f4000153e91>) :noerror nil)
  package-install-from-archive(#s(package-desc :name 0xc :version (20201025 2105) :summary "Base conversion made easy" :reqs ((emacs (24 4)) (s (1 11 0))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5bd6c0c901d03d1f24a3ddcf3a62d3b6d2428c80") (:authors ("Adam Niederer" . "adam.niederer@gmail.com")) (:maintainer "Adam Niederer" . "adam.niederer@gmail.com") (:keywords "base" "conversion") (:url . "http://github.com/AdamNiederer/0xc")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name 0xc :version (20201025 2105) :summary "Base conversion made easy" :reqs ((emacs (24 4)) (s (1 11 0))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5bd6c0c901d03d1f24a3ddcf3a62d3b6d2428c80") (:authors ("Adam Niederer" . "adam.niederer@gmail.com")) (:maintainer "Adam Niederer" . "adam.niederer@gmail.com") (:keywords "base" "conversion") (:url . "http://github.com/AdamNiederer/0xc")) :signed nil)))
  package-download-transaction((#s(package-desc :name 0xc :version (20201025 2105) :summary "Base conversion made easy" :reqs ((emacs (24 4)) (s (1 11 0))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5bd6c0c901d03d1f24a3ddcf3a62d3b6d2428c80") (:authors ("Adam Niederer" . "adam.niederer@gmail.com")) (:maintainer "Adam Niederer" . "adam.niederer@gmail.com") (:keywords "base" "conversion") (:url . "http://github.com/AdamNiederer/0xc")) :signed nil)))
  package-install(0xc nil)
  funcall-interactively(package-install 0xc nil)
  call-interactively(package-install record nil)
@pesterhazy
Copy link
Author

The problem is also reported here https://gitter.im/emacs-lsp/lsp-mode?at=5f339c92514c484540a3a793

It seems to occur on macOS Emacs builds from https://emacsformacosx.com/

@pesterhazy
Copy link
Author

If anyone finds this error, here are two things that (seem to have) fixed the problem for me:

  • Upgrade to emacs 28.2 from emacsformacosx.com

or

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment