Closed atrifex closed 2 years ago
+1 @frapples that worked for me as well. Previously I was purging files under .emacs.d/elpa/
. :spacemacs/recompile-elpa
is cleaner.
@nickanderson The i
and l
in recompile
got flipped to recomplie
. You should probably fix that, so that someone else doesn't try the command and report that it doesn't work.
None of these techniques work for me anymore. I've been through my spacemacs file multiple times looking for anything that could cause premature loading. The amount of time lost on this one bug is unbelievable.
Recompilation of Elpa did work for me as well, after update of packages. It's worth to include to main functionality of updates.
spacemacs/recompile-elpa
after updating packages worked for me too.
I've had a couple of successes since my last post deleting ob-core.elc
and recompiling that one file.
Let's get to the bottom of this and close it. @dabro, if the issue arises again, can you post specifics?
Fortunately spacemacs/recompile-elpa
is documented under Troubleshoot in DOCUMENTATION.org
. Perhaps it's worthwhile to call spacemacs/recompile-elpa
from configuration-layer/update-packages
. Another idea is to check the emacs version at startup, if it has changed, call spacemacs/recompile-elpa
.
Final point, this is yet another upstream change that is biting us. It's a common pattern. There has been a lot of discussion around pinning specific package versions. Such functionality, either via melpa-stable or our own package mirror, would diminish this class of bug from affecting Spacemacs.
I ran into this exact error and I was not using spacemacs. Strangely doing the refresh talked about in the comments worked... but only for that session. in my case this stemmed from ob-sh.el
trying to call a function that no longer exists org-babel-get-header
https://emacs.stackexchange.com/questions/37692/how-to-fix-symbols-function-definition-is-void-org-babel-get-header . Setting (sh . t)
-> (shell . t)
in my .emacs
fixed my issue.
I am by no means an expert at emacs and lisp so this could be unrelated.
I don't know if that helps anybody, but I had this issue on develop. I removed ~/.emacs.d/elpa/25.2/develop/org-plus-contrib-*
then restarted emacs and it works.
(defun dotspacemacs/user-config ()
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'(
(python . t)
)
)
)
)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
I am trying to run code as a part of org-mode's code blocks. However, it keeps saying that evaluation of code-blocks is disabled. I am not sure where to go to turn this option on. Please let me know. Thank you in advance.