Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling evil mode throws error about goto-chg pkg missing from melpa #1418

Open
kirk86 opened this issue Jun 21, 2024 · 0 comments
Open

Enabling evil mode throws error about goto-chg pkg missing from melpa #1418

kirk86 opened this issue Jun 21, 2024 · 0 comments

Comments

@kirk86
Copy link

kirk86 commented Jun 21, 2024

Expected behavior

Hopping evil mode to enabled after adding require package and restarting emacs

Actual behavior

Error thrown about missing package

Debugger entered--Lisp error: (file-error "https://melpa.org/packages/goto-chg-20220107.1733...." "Not found")
  signal(file-error ("https://melpa.org/packages/goto-chg-20220107.1733...." "Not found"))
  package--with-response-buffer-1("https://melpa.org/packages/" #f(compiled-function () #<bytecode 0x15786e813c9d>) :file "goto-chg-20220107.1733.tar" :async nil :error-function #f(compiled-function () #<bytecode 0x15786d9b1b39>) :noerror nil)
  package-install-from-archive(#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "[email protected]")) (:maintainer "Vasilij Schneidermann" . "[email protected]") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "[email protected]")) (:maintainer "Vasilij Schneidermann" . "[email protected]") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil) #s(package-desc :name evil :version (20240128 957) :summary "Extensible Vi layer for Emacs." :reqs ((emacs (24 1)) (goto-chg (1 6)) (cl-lib (0 5))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5995f6f21f662484440ed67a28ce59e365feb9ad") (:maintainer "Tom Dalziel" . "[email protected]") (:keywords "emulations") (:url . "https://github.com/emacs-evil/evil")) :signed nil)))
  package-download-transaction((#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "[email protected]")) (:maintainer "Vasilij Schneidermann" . "[email protected]") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil) #s(package-desc :name evil :version (20240128 957) :summary "Extensible Vi layer for Emacs." :reqs ((emacs (24 1)) (goto-chg (1 6)) (cl-lib (0 5))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5995f6f21f662484440ed67a28ce59e365feb9ad") (:maintainer "Tom Dalziel" . "[email protected]") (:keywords "emulations") (:url . "https://github.com/emacs-evil/evil")) :signed nil)))
  package-install(evil)
  (if (package-installed-p package) nil (package-install package))
  prelude-require-package(evil)
  mapc(prelude-require-package (evil goto-chg evil-surround evil-visualstar evil-numbers))
  prelude-require-packages((evil goto-chg evil-surround evil-visualstar evil-numbers))
  eval-buffer(#<buffer  *load*-558434> nil "/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." nil t)  ; Reading at buffer position 1361
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." "/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." nil t)
  require(prelude-evil)
  eval-buffer(#<buffer  *load*-725868> nil "/idiap/home/imitro/.emacs.d/sample/prelude-modules..." nil t)  ; Reading at buffer position 2088
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/sample/prelude-modules..." "/idiap/home/imitro/.emacs.d/sample/prelude-modules..." nil nil)
  load("/idiap/home/imitro/.emacs.d/sample/prelude-modules...")
  (if (file-exists-p prelude-modules-file) (load prelude-modules-file) (message "[Prelude] Missing personal modules file %s" prelude-modules-file) (message "[Prelude] Falling back to the bundled example file...") (message "[Prelude] You should copy this file to your person...") (load (expand-file-name "sample/prelude-modules.el" prelude-dir)))
  eval-buffer(#<buffer  *load*> nil "/idiap/home/imitro/.emacs.d/init.el" nil t)  ; Reading at buffer position 5695
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/init.el" "/idiap/home/imitro/.emacs.d/init.el" t t)
  load("/idiap/home/imitro/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x15786da61a5d>) #f(compiled-function () #<bytecode 0x15786db351dd>) t)
  command-line()
  normal-top-level()

Steps to reproduce the problem

Edit the the file emacs.d/sample/prelude-modules.el and uncomment line 55 (require 'prelude-evil)

Environment & Version information

Emacs version

27.1

Operating system

Debian 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant