bbatsov/prelude

invalid function: org-assert-version on emacs 27.1

arydevy opened this issue · 0 comments

Here is the error ( emacs with --debug-init )

Debugger entered--Lisp error: (invalid-function org-assert-version)
  org-assert-version()
  byte-code("\300\301!\210\302 \210\300\303!\210\300\301!\210\300\304!\207" [require org-macs org-assert-version org-compat seq] 2)
  require(oc)
  eval-buffer(#<buffer  *load*-160044> nil "/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org-keys.e..." nil t)  ; Reading at buffer position 1139
  load-with-code-conversion("/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org-keys.e..." "/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org-keys.e..." nil t)
  require(org-keys)
  eval-buffer(#<buffer  *load*-948198> nil "/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org.el" nil t)  ; Reading at buffer position 3557
  load-with-code-conversion("/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org.el" "/home/mirage-pc/.emacs.d/elpa/org-9.6.1/org.el" nil t)
  require(org)
  eval-buffer(#<buffer  *load*-717240> nil "/home/mirage-pc/.emacs.d/modules/prelude-org.el" nil t)  ; Reading at buffer position 1084
  load-with-code-conversion("/home/mirage-pc/.emacs.d/modules/prelude-org.el" "/home/mirage-pc/.emacs.d/modules/prelude-org.el" nil t)
  require(prelude-org)
  eval-buffer(#<buffer  *load*-507591> nil "/home/mirage-pc/.emacs.d/personal/prelude-modules...." nil t)  ; Reading at buffer position 2247
  load-with-code-conversion("/home/mirage-pc/.emacs.d/personal/prelude-modules...." "/home/mirage-pc/.emacs.d/personal/prelude-modules...." nil nil)
  load("/home/mirage-pc/.emacs.d/personal/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 "/home/mirage-pc/.emacs.d/init.el" nil t)  ; Reading at buffer position 5695
  load-with-code-conversion("/home/mirage-pc/.emacs.d/init.el" "/home/mirage-pc/.emacs.d/init.el" t t)
  load("/home/mirage-pc/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x15696994fe2d>) #f(compiled-function () #<bytecode 0x15696994fe41>) t)
  command-line()
  normal-top-level()

this error happend after i installed perlude

My personal/prelude-modules.el

;;; prelude-modules.el --- A listing of modules to load on startup


;;; General productivity tools

;; (require 'prelude-ido) ;; Supercharges Emacs completion for C-x C-f and more
;;(require 'prelude-ivy) ;; A mighty modern alternative to ido
(require 'prelude-selectrum) ;; A powerful, yet simple, alternative to ivy
(require 'prelude-helm) ;; Interface for narrowing and search
;; (require 'prelude-helm-everywhere) ;; Enable Helm everywhere
(require 'prelude-company)
;; (require 'prelude-key-chord) ;; Binds useful features to key combinations

;;; Vim emulation
;;
;; Enable this module if you're fond of vim's keybindings.
;; (require 'prelude-evil)

;;; Org-mode (a legendary productivity tool that deserves its own category)
;;
;; Org-mode helps you keep TODO lists, notes and more.
(require 'prelude-org)

;;; Programming languages support
;;
;; Modules for a few very common programming languages
;; are enabled by default.

(require 'prelude-c)
(require 'prelude-clojure)
;; (require 'prelude-coffee)
(require 'prelude-common-lisp)
(require 'prelude-css)
;; (require 'prelude-dart)
(require 'prelude-emacs-lisp)
(require 'prelude-erlang)
;; (require 'prelude-elixir)
;; (require 'prelude-fsharp)
;; (require 'prelude-go)
;; (require 'prelude-haskell)
(require 'prelude-js)
;; (require 'prelude-latex)
(require 'prelude-lisp) ;; Common setup for Lisp-like languages
;; (require 'prelude-literate-programming) ;; Setup for Literate Programming
(require 'prelude-lsp) ;; Base setup for the Language Server Protocol
(require 'prelude-lua)
;; (require 'prelude-ocaml)
(require 'prelude-perl)
(require 'prelude-python)
;; (require 'prelude-racket)
;; (require 'prelude-ruby)
;; (require 'prelude-rust)
;; (require 'prelude-scala)
;; (require 'prelude-scheme)
(require 'prelude-shell)
;; (require 'prelude-scss)
;; (require 'prelude-ts)
(require 'prelude-web) ;; Emacs mode for web templates
(require 'prelude-xml)
(require 'prelude-yaml)

;;; Misc
(require 'prelude-erc) ;; A popular Emacs IRC client (useful if you're still into Freenode)

(provide 'prelude-modules)
;;; prelude-modules.el ends here


(add-hook 'window-setup-hook 'toggle-frame-maximized t)

(prelude-require-packages '(nim-mode
                            doom-themes
                            god-mode
                            multiple-cursors
                            switch-window
                            centaur-tabs
                            emojify
                            mmm-mode
                            ranger
                            ;;org-roam
                            ;;org-page
                            ;;toc-org
                            emacs-jabber
                            spray))

Emacs version

27.1

Operating system

Linux Mint 21.1 x86_64