error "Package ‘eziam-theme-’ is unavailable"
vipzrx opened this issue · 10 comments
$ /mingw64/bin/emacs --version
GNU Emacs 28.2
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
git clone https://github.com/redguardtoo/emacs.d.git ~/.emacs.d
Cloning into '/home/kk/.emacs.d'...
remote: Enumerating objects: 34469, done.
remote: Counting objects: 100% (106/106), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 34469 (delta 57), reused 82 (delta 45), pack-reused 34363
Receiving objects: 100% (34469/34469), 42.84 MiB | 1.48 MiB/s, done.
Resolving deltas: 100% (20883/20883), done.
Updating files: 100% (927/927), done.
/mingw64/bin/emacs --debug-init
> Debugger entered--Lisp error: (error "Package ‘eziam-theme-’ is unavailable")
error("Package `%s-%s' is unavailable" eziam-theme "")
package-compute-transaction(nil ((eziam-theme)))
package-install(eziam-theme)
(if (package-installed-p package min-version) nil (if (or (assoc package package-archive-contents) no-refresh) nil (message "Missing package: %s" package) (package-refresh-contents)) (package-install package))
require-package(eziam-theme)
(let ((theme (car --dolist-tail--))) (require-package theme) (setq --dolist-tail-- (cdr --dolist-tail--)))
(while --dolist-tail-- (let ((theme (car --dolist-tail--))) (require-package theme) (setq --dolist-tail-- (cdr --dolist-tail--))))
(let ((--dolist-tail-- my-color-themes)) (while --dolist-tail-- (let ((theme (car --dolist-tail--))) (require-package theme) (setq --dolist-tail-- (cdr --dolist-tail--)))))
(if my-disable-idle-timer nil (let ((--dolist-tail-- my-color-themes)) (while --dolist-tail-- (let ((theme (car --dolist-tail--))) (require-package theme) (setq --dolist-tail-- (cdr --dolist-tail--))))))
load-with-code-conversion("c:/soft/soft_x200/msys2/home/kk/.emacs.d/lisp/init..." "c:/soft/soft_x200/msys2/home/kk/.emacs.d/lisp/init..." t t)
load("c:/soft/soft_x200/msys2/home/kk/.emacs.d/lisp/init..." t t)
(progn (load (file-truename (format "%s/%s" my-lisp-dir pkg)) t t))
(if (or (not maybe-disabled) (not my-lightweight-mode-p)) (progn (load (file-truename (format "%s/%s" my-lisp-dir pkg)) t t)))
require-init(init-elpa)
(let* ((file-name-handler-alist nil)) (require-init 'init-autoload) (require-init 'init-modeline) (require-init 'init-utils) (require-init 'init-file-type) (require-init 'init-elpa) (if (or my-lightweight-mode-p my-disable-idle-timer) (progn (my-add-subdirs-to-load-path (file-name-as-directory my-site-lisp-dir)))) (require-init 'init-spelling t) (require-init 'init-ibuffer t) (require-init 'init-ivy) (require-init 'init-windows) (require-init 'init-javascript t) (require-init 'init-org t) (require-init 'init-python t) (require-init 'init-lisp t) (require-init 'init-yasnippet t) (require-init 'init-cc-mode t) (require-init 'init-linum-mode) (require-init 'init-git) (require-init 'init-gtags t) (require-init 'init-clipboard) (require-init 'init-ctags t) (require-init 'init-gnus t) (require-init 'init-lua-mode t) (require-init 'init-term-mode) (require-init 'init-web-mode t) (require-init 'init-company t) (require-init 'init-chinese t) (require-init 'init-keyfreq t) (require-init 'init-httpd t) (require-init 'init-theme) (require-init 'init-essential) (require-init 'init-misc t) (require-init 'init-emms t) (require-init 'init-emacs-w3m t) (require-init 'init-shackle t) (require-init 'init-dired t) (require-init 'init-writting t) (require-init 'init-hydra) (require-init 'init-evil) (if my-lightweight-mode-p (progn (require-init 'init-ediff))) (if my-disable-idle-timer nil (my-add-subdirs-to-load-path (file-name-as-directory my-site-lisp-dir))) (require-init 'init-no-byte-compile t) (if my-lightweight-mode-p nil (setq custom-file (concat my-emacs-d "custom-set-variables.el")) (if (file-exists-p custom-file) (load custom-file t t)) (my-run-with-idle-timer 1 #'(lambda nil (load "~/.custom.el" t nil)))))
load-with-code-conversion("c:/soft/soft_x200/msys2/home/kk/.emacs.d/init.el" "c:/soft/soft_x200/msys2/home/kk/.emacs.d/init.el" t t)
load("c:/soft/soft_x200/msys2/home/kk/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode -0x100017abb32faab4>) #f(compiled-function () #<bytecode -0x1f3c686ddc0da035>) t)
command-line()
normal-top-level()
Did you run M-x package-initialize?
bandicam.2022-11-23.16-40-34-967.mp4
我网速不好,看不了视频,爱莫能助了。
1 只是按照你的建议 执行了 M-x package-initialize 没有任何反应
2 我之前使用chenbin的 emacs.d clone之后 初始化启动 emacs --debug-init 是可以直接完成的. 我这次在msys2 和 debian上都测试了 都是报相同的缺少包的错误. 等chenbin看看吧
M-x package-refresh-contents
, then restart emacs.
init-elpa.el 中写的是eziam-theme, M-x package-list-package找到的是eziam-themes, 应该是少写了个‘s’。
init-elpa.el 中写的是eziam-theme, M-x package-list-package找到的是eziam-themes, 应该是少写了个‘s’。
对的,改了之后一切正常。非常感谢。另外,能请教一下你是如何定位问题的吗?我从调试的输出定位不到这个文件.
init-elpa.el 中写的是eziam-theme, M-x package-list-package找到的是eziam-themes, 应该是少写了个‘s’。
对的,改了之后一切正常。非常感谢。另外,能请教一下你是如何定位问题的吗?我从调试的输出定位不到这个文件.
用 emacs --debug-init 启动, 然后查看出错信息。
init-elpa.el 中写的是eziam-theme, M-x package-list-package找到的是eziam-themes, 应该是少写了个‘s’。
对的,改了之后一切正常。非常感谢。另外,能请教一下你是如何定位问题的吗?我从调试的输出定位不到这个文件.
用 emacs --debug-init 启动, 然后查看出错信息。
Thank you very much 👍
Thanks. I updated my setup.
8e1e23d theme name changed (Chen Bin)