-
Notifications
You must be signed in to change notification settings - Fork 32
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
Problem interacting with ob-julia #37
Comments
I have the same problem. It seems to be specific to Julia. What I did was to call Julia in org-babel before requiring ob-async and then load the rest of the languages, which make the rest of the languages functional with :async and julia functional without it. Also, make sure you are doing it after wherever you have (require 'org) :
I hope we find a solution to this. |
If one of you can attach a gist of your |
Sure.Checklist
Expected BehaviorShould produce an output. As it does without Actual BehaviorGot: Steps to Reproduce
Troubleshooting ArtifactsHere's a gist with a copy of my P.S.I don't know if you are aware, but there's a project by John Kitchin called org-ref and scimax that adds features like being able to check the code while is being executed by clicking on the hash and also to kill it while taking you to where the process was killed or to the error. Although his is only Python-specific. |
Where does |
I replied to this in my gist. I'll copy here what I replied a couple of days ago:Is defined at my init.el That's the reason it recognizes R and the rest of the languages when Julia is commented out or loaded before ob-async. I checked ess-site.el from the GitHub master and elpa-develop and found that the Even with "M-x Customize-variable inferior-julia-program-name" set to /opt/ or from /usr/local it makes no difference. I've downloaded several versions of Julia and recompiled emacs with different versions of ess. |
Add a hook that runs before the src block is executed. This hook enables users to perform package-specific initialization that would normally be handled in `init.el`. See #37 for a motivating example.
@ertwro Sorry about that - I knew I had replied to this comment at some point, but then I couldn't find my own response! I've just installed Julia and was able to reproduce your issue. It seems This type of issue has come up before - see jwiegley/emacs-async#73. I've gone ahead and added a new hook, as suggested in that issue. The hook will be run before async execution of a src block. Once #40 is merged, you can use the hook to set
|
* Add a pre-execute hook Add a hook that runs before the src block is executed. This hook enables users to perform package-specific initialization that would normally be handled in `init.el`. See #37 for a motivating example.
Merged #40 and documented the new hook in the README. |
Checklist
troubleshooting.org
bufferActual Behavior
uuid created in the results, message:
executing Bash code block...
error in process sentinel: async-handle-result: Symbol’s value as variable is void: inferior-julia-program-name
Steps to Reproduce
Install ob-async + ob-julia
(I'm trubleshooting it and I'll provide better info here)
edit: the problem is ob-julia not ess
The text was updated successfully, but these errors were encountered: