emacs-compat / compat

COMPATibility Library for Emacs Lisp
https://elpa.gnu.org/packages/compat.html
GNU General Public License v3.0
69 stars 12 forks source link

Debugger entered--Lisp error: (file-error "https://elpa.gnu.org/packages/compat-29.1.3.4.tar" "Not found") #19

Closed qohelet closed 1 year ago

qohelet commented 1 year ago

Hi, I can't start my emacs any more as there seems to be an issue with the most recent version of compat: On startup I get the following error:

Warning (initialization): An error occurred while loading ‘/home/marioschwaiger/.emacs’:

File error: https://elpa.gnu.org/packages/compat-29.1.3.4.tar, Not found

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

with debug-init it looks like this:

Debugger entered--Lisp error: (file-error "https://elpa.gnu.org/packages/compat-29.1.3.4.tar" "Not found")
  signal(file-error ("https://elpa.gnu.org/packages/compat-29.1.3.4.tar" "Not found"))
  package--with-response-buffer-1("https://elpa.gnu.org/packages/" #f(compiled-function () #<bytecode 0x15843b1c6925>) :file "compat-29.1.3.4.tar" :async nil :error-function #f(compiled-function () #<bytecode 0x15843ac68829>) :noerror nil)
  package-install-from-archive(#s(package-desc :name compat :version (29 1 3 4) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24 4)) (seq (2 3))) :kind tar :archive "gnu" :dir nil :extras ((:url . "https://github.com/emacs-compat/compat") (:keywords "lisp") (:maintainer "Daniel Mendler <mail@daniel-mendler.de>, Compat De..." . "~pkal/compat-devel@lists.sr.ht") (:authors ("Philip Kaludercic <philipk@posteo.net>, Daniel Men..." . "mail@daniel-mendler.de")) (:commit . "42cf6f29bcab1d390046299c09285db7be03932c")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name compat :version (29 1 3 4) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24 4)) (seq (2 3))) :kind tar :archive "gnu" :dir nil :extras ((:url . "https://github.com/emacs-compat/compat") (:keywords "lisp") (:maintainer "Daniel Mendler <mail@daniel-mendler.de>, Compat De..." . "~pkal/compat-devel@lists.sr.ht") (:authors ("Philip Kaludercic <philipk@posteo.net>, Daniel Men..." . "mail@daniel-mendler.de")) (:commit . "42cf6f29bcab1d390046299c09285db7be03932c")) :signed nil) #s(package-desc :name transient :version (20230220 1425) :summary "Transient commands" :reqs ((emacs (25 1)) (compat (29 1 3 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "0204a2432862aa187745995f1c378e6d875b35cb") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:keywords "extensions") (:url . "https://github.com/magit/transient")) :signed nil) #s(package-desc :name magit :version (20230302 2135) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "b926ab0e051e497e8ed43754cfd2012d23dbfc4c") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil)))
  package-download-transaction((#s(package-desc :name compat :version (29 1 3 4) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24 4)) (seq (2 3))) :kind tar :archive "gnu" :dir nil :extras ((:url . "https://github.com/emacs-compat/compat") (:keywords "lisp") (:maintainer "Daniel Mendler <mail@daniel-mendler.de>, Compat De..." . "~pkal/compat-devel@lists.sr.ht") (:authors ("Philip Kaludercic <philipk@posteo.net>, Daniel Men..." . "mail@daniel-mendler.de")) (:commit . "42cf6f29bcab1d390046299c09285db7be03932c")) :signed nil) #s(package-desc :name transient :version (20230220 1425) :summary "Transient commands" :reqs ((emacs (25 1)) (compat (29 1 3 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "0204a2432862aa187745995f1c378e6d875b35cb") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:keywords "extensions") (:url . "https://github.com/magit/transient")) :signed nil) #s(package-desc :name magit :version (20230302 2135) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "b926ab0e051e497e8ed43754cfd2012d23dbfc4c") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil)))
  package-install(magit)
  (if (package-installed-p package) nil (package-install package))
  (lambda (package) (if (package-installed-p package) nil (package-install package)))(magit)
  mapc((lambda (package) (if (package-installed-p package) nil (package-install package))) (better-defaults async compat ein elpy flycheck material-theme realgud python-mode popwin auto-complete yasnippet yasnippet-snippets magit py-autopep8 dockerfile-mode docker-compose-mode org markdown-mode sphinx-doc all-the-icons use-package highlight-symbol blacken color-theme-modern diff-hl bm highlight-numbers auto-highlight-symbol doom-themes sublimity centaur-tabs rainbow-delimiters smartparens json-mode))
  eval-buffer(#<buffer  *load*-206441> nil "/home/marioschwaiger/.emacs.d/IDE.el" nil t)  ; Reading at buffer position 1826
  load-with-code-conversion("/home/marioschwaiger/.emacs.d/IDE.el" "/home/marioschwaiger/.emacs.d/IDE.el" nil nil)
  load("~/.emacs.d/IDE.el")
  eval-buffer(#<buffer  *load*> nil "/home/marioschwaiger/.emacs" nil t)  ; Reading at buffer position 87
  load-with-code-conversion("/home/marioschwaiger/.emacs" "/home/marioschwaiger/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x15843ad36081>) #f(compiled-function () #<bytecode 0x15843ad3679d>) t)
  command-line()
  normal-top-level()
minad commented 1 year ago

Try to update your list of packages by pressing U. This should update your package metadata and resolve the issue.