I'm getting a weird error (I think it has to do with the upgrade to 0.64/0.65
but not sure, can revert to older versions to confirm). Here is the issue.
I wrote a (private) layer that has an extension that depends on the button-lock.el
package. Now, when I activate the layer, it does the right thing -- downloads the
package, and everything works fine. But when I exit emacs, and restart, it says
"cannot find package 'button-lock'" (and so the layer doesn't work properly.)
Warning (initialization): An error occurred while loading `/Users/rjhala/.emacs.d/init.el':
File error: Cannot open load file, no such file or directory, button-lock
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.
However, if I now remove the layer (by removing it from .spacemacs)
and restart then it removes the package, such that if I then add it
back in, again it works.
TLDR the package/layer works fine the first time, and then misbehaves.
I can delete it and restore it and AGAIN it works fine, but thats not very nice.
that repo also has the log obtained by running with --debug-init. This
is running emacs the second time -- the first time after adding the
layer everything works just fine. After restarting it cannot find button-lock
(even though it was installed the first time) and so the liquid-tip extension
doesn't work (the flycheck-liquid extension is still fine.)
And, as I mentioned earlier, the following steps get it to work again:
remove the layer from .spacemacs
restart so it deletes the package button-lock
add the layer back into .spacemacs
restart again so it re-installs the package button-lock
I'm getting a weird error (I think it has to do with the upgrade to 0.64/0.65 but not sure, can revert to older versions to confirm). Here is the issue.
I wrote a (private) layer that has an extension that depends on the
button-lock.el
package. Now, when I activate the layer, it does the right thing -- downloads the package, and everything works fine. But when I exit emacs, and restart, it says "cannot find package 'button-lock'" (and so the layer doesn't work properly.)However, if I now remove the layer (by removing it from
.spacemacs
) and restart then it removes the package, such that if I then add it back in, again it works.TLDR the package/layer works fine the first time, and then misbehaves. I can delete it and restore it and AGAIN it works fine, but thats not very nice.
The code for the layer is at:
https://github.com/ucsd-progsys/liquid-types-spacemacs
that repo also has the
log
obtained by running with--debug-init
. This is running emacs the second time -- the first time after adding the layer everything works just fine. After restarting it cannot findbutton-lock
(even though it was installed the first time) and so theliquid-tip
extension doesn't work (the flycheck-liquid extension is still fine.)And, as I mentioned earlier, the following steps get it to work again:
.spacemacs
button-lock
.spacemacs
button-lock