emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 139 forks source link

Could not install lsp-ui #544

Closed suyashmahar closed 3 years ago

suyashmahar commented 3 years ago

Installing lsp-ui from melpa errors out with (wrong-type-argument stringp lsp-ui)

Stacktrace

Debugger entered--Lisp error: (wrong-type-argument stringp lsp-ui)
  intern(lsp-ui)
  package-desc-from-define(lsp-ui "20201209.332" "UI modules for lsp-mode" '((emacs "26.1") (dash "2.14") (dash-functional "1.2.0") (lsp-mode "6.0") (markdown-mode "2.3")) :commit "72034bdd65f66b43d10e6106e82dfa4718557e1a" :authors (("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) :maintainer ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") :keywords ("languages" "tools") :url "https://github.com/emacs-lsp/lsp-ui")
  apply(package-desc-from-define (lsp-ui "20201209.332" "UI modules for lsp-mode" '((emacs "26.1") (dash "2.14") (dash-functional "1.2.0") (lsp-mode "6.0") (markdown-mode "2.3")) :commit "72034bdd65f66b43d10e6106e82dfa4718557e1a" :authors (("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) :maintainer ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") :keywords ("languages" "tools") :url "https://github.com/emacs-lsp/lsp-ui"))
  package-process-define-package((define-package lsp-ui "20201209.332" "UI modules for lsp-mode" '((emacs "26.1") (dash "2.14") (dash-functional "1.2.0") (lsp-mode "6.0") (markdown-mode "2.3")) :commit "72034bdd65f66b43d10e6106e82dfa4718557e1a" :authors (("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) :maintainer ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") :keywords ("languages" "tools") :url "https://github.com/emacs-lsp/lsp-ui"))
  package-load-descriptor("/home/s/.emacs.d/elpa/lsp-ui-20201209.332")
  package-unpack(#s(package-desc :name lsp-ui :version (20201209 332) :summary "UI modules for lsp-mode" :reqs ((emacs (26 1)) (dash (2 14)) (dash-functional (1 2 0)) (lsp-mode (6 0)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "72034bdd65f66b43d10e6106e82dfa4718557e1a") (:authors ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) (:maintainer "Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") (:keywords "languages" "tools") (:url . "https://github.com/emacs-lsp/lsp-ui")) :signed nil))
  #f(compiled-function (&optional good-sigs) #<bytecode 0x1576a6abcf11>)(nil)
  #f(compiled-function () #<bytecode 0x1576a6abcf71>)()
  package--with-response-buffer-1("http://melpa.org/packages/" #f(compiled-function () #<bytecode 0x1576a6abcf45>) :file "lsp-ui-20201209.332.tar.sig" :async nil :error-function #f(compiled-function () #<bytecode 0x1576a6abcf71>) :noerror t)
  package--check-signature("http://melpa.org/packages/" "lsp-ui-20201209.332.tar" "lsp-ui-20201209.332/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..." nil #f(compiled-function (&optional good-sigs) #<bytecode 0x1576a6abcf11>))
  #f(compiled-function () #<bytecode 0x1576a6805b79>)()
  package--with-response-buffer-1("http://melpa.org/packages/" #f(compiled-function () #<bytecode 0x1576a6805b79>) :file "lsp-ui-20201209.332.tar" :async nil :error-function #f(compiled-function () #<bytecode 0x1576a5af6fd1>) :noerror nil)
  package-install-from-archive(#s(package-desc :name lsp-ui :version (20201209 332) :summary "UI modules for lsp-mode" :reqs ((emacs (26 1)) (dash (2 14)) (dash-functional (1 2 0)) (lsp-mode (6 0)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "72034bdd65f66b43d10e6106e82dfa4718557e1a") (:authors ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) (:maintainer "Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") (:keywords "languages" "tools") (:url . "https://github.com/emacs-lsp/lsp-ui")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name lsp-ui :version (20201209 332) :summary "UI modules for lsp-mode" :reqs ((emacs (26 1)) (dash (2 14)) (dash-functional (1 2 0)) (lsp-mode (6 0)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "72034bdd65f66b43d10e6106e82dfa4718557e1a") (:authors ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) (:maintainer "Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") (:keywords "languages" "tools") (:url . "https://github.com/emacs-lsp/lsp-ui")) :signed nil)))
  package-download-transaction((#s(package-desc :name lsp-ui :version (20201209 332) :summary "UI modules for lsp-mode" :reqs ((emacs (26 1)) (dash (2 14)) (dash-functional (1 2 0)) (lsp-mode (6 0)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "72034bdd65f66b43d10e6106e82dfa4718557e1a") (:authors ("Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me")) (:maintainer "Sebastien Chapuis <sebastien@chapu.is>, Fangrui So..." . "i@maskray.me") (:keywords "languages" "tools") (:url . "https://github.com/emacs-lsp/lsp-ui")) :signed nil)))
  package-install(lsp-ui nil)
  funcall-interactively(package-install lsp-ui nil)
  call-interactively(package-install record nil)
  command-execute(package-install record)
  execute-extended-command(nil "package-install")
  smex-read-and-run(("toggle-debug-on-error" "package-install" "eval-region" "package-refresh-contents" "describe-bindings" "package-delete" "describe-function" "lsp" "auto-insert" "racer-mode" "rgrep" "esup" "revert-buffer" "toggle-truncate-lines" "comment-line" "dumb-jump-go" "describe-mode" "comment-region" "load-theme" "company-mode" "kill-buffer" "projectile-mode" "disable-theme" "fic-mode" "diff-hl-mode" "set-variable" "multiple-cursors-mode" "c-mode" "c++-mode" "flycheck-mode" "rustic-compile" "diff-hl-dired-mode" "highlight-doxygen-mode" "compile" "hexl-mode" "haskell-mode" "write-region" "git-gutter-mode" "diff-hl-dir-mode" "shell-script-mode" "diff-hl-margin-mode" "asm-mode" "diff-mode" "load-file" "next-error" "eval-buffer" "magit-blame" "proofgeneral" "recover-file" "flyspell-mode" ...))
  smex()
  funcall-interactively(smex)
  call-interactively(smex nil nil)
  command-execute(smex)

Emacs version

GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-09-07
jcs090218 commented 3 years ago

This is the bug from melpa, see https://github.com/melpa/melpa/issues/7312.

suyashmahar commented 3 years ago

Woops, you are right. Thanks for the link.