Closed Luis-Henriquez-Perez closed 1 year ago
I restarted my emacs. Installed company-mode
, then installed markdown-mode
. Installing company was successful. But just happened again while installing markdown-mode
. Bizarrely, it referenced a package I had installed during my last emacs session (actually not sure if it was last session or current but I'll keep reporting as I learn more), enwc
.
Debugger entered--Lisp error: (void-function elpaca-ui--buttonize)
elpaca-ui--buttonize(#("enwc.el:1:55" 0 12 (face nil)) #f(compiled-function (&rest _) #<bytecode 0x1eee6c9>))
#f(compiled-function (entry) #<bytecode 0x13c9625>)((enwc [#("enwc" 0 4 (face default elpaca (elpaca< enwc "enwc" (enwc :package "enwc" :host github :repo "emacs-straight/enwc") (finished activation info byte-compilation autoloads linking cloning-deps ref-checked-out cloning queued) "/home/luis/.config/emacs/elpaca/repos/enwc" "/home/luis/.config/emacs/elpaca/builds/enwc" nil (... ... ... ... ... ... ... ... ... ...) nil (:package "enwc" :host github :repo "emacs-straight/enwc" :protocol https :remotes "origin" :inherit t :depth 1 :files ...) nil nil nil 3 (25470 21453 259183 152000) nil #<process elpaca-clone-enwc> (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))) "byte-compilation" #("enwc.el:55:1:Error: Symbol’s value as variab..." 0 68 (face elpaca-failed)) "1094.366048"]))
mapcar(#f(compiled-function (entry) #<bytecode 0x13c9625>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
elpaca-ui--byte-comp-warnings((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
#f(compiled-function () #<bytecode 0x180ca35>)()
elpaca-ui--update-search-filter(#<buffer *elpaca-log*> "#latest #linked-errors")
elpaca-log()
elpaca-log--latest()
elpaca-try((markdown-mode :package "markdown-mode" :package "markdown-mode" :fetcher github :repo "jrblevin/markdown-mode" :files ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el"))))
funcall-interactively(elpaca-try (markdown-mode :package "markdown-mode" :package "markdown-mode" :fetcher github :repo "jrblevin/markdown-mode" :files ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el"))))
call-interactively(elpaca-try nil nil)
command-execute(elpaca-try)
I am going to try bootstraping elpaca
and all my packages again. I need to do so anyway because there's an issue I've been planning on making with the bootstrapping.
Thanks for the report. I'm working on a fix for this now.
The reason you're not seeing it for every package is because that code is only called when logging byte-compilation errors.
The problem is that the button-buttonize
function wasn't introduced until Emacs 28 I just need to set the proper alias for Emacs 27 (if one exists, otherwise I'll alias so that the function is a no-op).
This should be fixed as of 1c5ccec. Thanks again for the bug report. Testing appreciated.
I've upgraded my version of elpaca
and if the error ever happens again I will notify you (or reopen this issue if it has been closed).
Installing packages works fine until it stops working. I get an error saying that
elpaca-ui--buttonize
is void. I got the error first when I callingelpaca-try
on the packagesolarized-theme
and then when I tried installingorg-auto-tangle
. Now, that being said, I suspect it doesn't have to do with the specific package being installed.Looking at the source code I see that
elpaca-ui--buttonize
is an alias forbuttonize
(in my case with emacs 27). I suspect somehow the alias wasn't compiled properly.Here is a backtrace of me trying to install the
company
package. I noticed it's also mentioning a package I tried to install prior to this,lf
.Interestingly, this error doesn't happen immediately. It happens after installing a few packages. Again, not sure whether certain packages triggering this.
I tried: 1- re-evaluating this form It evaluated successfully but I kept getting the same error. 2- re-building elpaca The error doesn't let me re-build it.