-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Org-Mode Evaluation of code disabled #7641
Comments
I actually looked through this page. I am currently doing the following in my user-config()
However, this doesn't seem to change anything. |
I was able to get Python to work. In my (require 'ob-python)
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t))) So I didn’t use the I also included the Python layer in Then I executed
I get prompted about whether I want to execute the code each time I execute that ⁂ Could you try the above? Then try with C if that works. |
It did help with that. However, for some reason the bullets just appear as , *, ***. This is not a big deal however cuz i am just manually able to turn them on with little to no effort. Thank. |
@TheBB it seems that this can be closed. |
Let's re-open this issue, something definitely not right, in org 9.0 you have to load explicitly for every language you want to use? Every language I'm trying not working. lua (which supposed to be added in 9.0), javascript, bash, etc. and ob-http (which is part of restclient layer) does not work at all - babel complains 'no such language mode: http-mode |
@TheBB it was kinda expected - things to break due to org-mode 9.0. Maybe we need a separate issue or maybe each one should be treated individually - it's up to you guys, but there are couple of things that appear to be broken at the moment (prob. there is more, but that's what I can see):
and then
So maybe that should be handled by org-layer? |
I have the same problem: My version of
the Emacs version is
The relevant part of my personal emacs init file is:
When I try to execute any block, even this from the documetation:
I got
The same happens with Any ideas? |
I have same exact issue as @nanounanue |
Same problem here using ipython code blocks, and not using Spacemacs... This bug seems to have been introduced to org mode after 2016-10-31. |
Deleting *.elc files for org mode was the only thing that fixed the issue for me. |
@seldomworks I can confirm this worked for me too. Thanks! |
This worked for me also, but in addition I had to recompile org-plus-contrib. Thanks @seldomworks! |
This might be related to the fact that a package update often installs |
Purging |
Purging ~/.emacs.d/elpa/org-20161102 did not work for me. Removed that entire dir, restarted emacs, same error.
I also tried putting in a |
Did you try just removing the elc files? |
@nickanderson That was the first thing that I tried. But I assumed that just trying to run the thing would get those files recompiled, and now I'm wondering if I need to take more action to get org reinstalled --- it is listed as a package in my .spacemacs, but the org directory has not reappeared in ~/.emacs.d/elpa. |
@mathpunk I had previously tried without success to delete the org directory in |
I still see this issue as well |
reinstall org layer maybe reslove this problem |
@Rand01ph works if I delete the Note: It did not work when I wiped all
|
blind me! It only works for a single session. If I restart emacs, stops working. Got to delete |
@RockyRoad29 Yiep! It works for me, thanks:) |
I would like to add that after deleting the I am getting Any solution for this? |
I just wanted to comment. I tried several things here. I don't know what is the right thing to do and what is the wrong thing to do. I have this problem, and I thing this bug should get highest priority. |
@ Krux02 Yep! It's so stressful that something breaks down when we update emacs packages, primordially org. |
I just realized that this is the spacemacs issue tracker. I did not know that when I wrote that comment. I don't use spacemacs, and still I had this problem. I don't know if it helps to know that this problem is not just a spacemacs thing. |
@krux02 then maybe you should switch to Spacemacs. Some users don't have that problem ;) |
I had this again after wiping my elpa subdirectory. |
I suggest that after upgrading org-mode, recompile the .elc file:
|
@frapples I am very happy that you've taught me this command exists; I've tried to force recompiling using deletions but this is better. |
@frapples that simple command did the trick for me. thanks! |
+1 @frapples that worked for me as well. Previously I was purging files under |
@nickanderson The |
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. |
|
I've had a couple of successes since my last post deleting |
Let's get to the bottom of this and close it. @dabro, if the issue arises again, can you post specifics? Fortunately 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 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
|
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.
The text was updated successfully, but these errors were encountered: