Closed f4nyc closed 3 years ago
I also got the Invalid read syntax: "#"
error when using ob-async
for shell src blocks. Strangely, it would work in the beginning, then at some points, it stops working. I didn't figure out what conditions triggered the error.
@randomizedthinking I have exactly the same problem. It just stops working after a while.
As mentioned in #75 i'm also using the github version but didn't fix the issue for me.
I am facing this issue
@astahlman Any idea how to fix this?
@astahlman Any idea how to fix this?
https://github.com/jwiegley/emacs-async/issues/127 no way to fix it, cause emacs sessions can't share buffers. Saving the buffer to a temporary file is the only way.
@astahlman Maybe we could use temporary file to adress this ?
@astahlman I just pushed a pr #76 to fix it
Checklist
troubleshooting.org
bufferExpected Behavior
Actual Behavior
Troubleshooting Artifacts
So i read the source code of ob-shell to figure out where
(error "Reference 'table' not found in this buffer")
were produced.The Problem is that
org-babel-exp-reference-buffer
and(current-buffer)
inside async child process are both nil It's pretty odd becauseob-async-org-babel-execute-src-block
has injected that variable. Then I add some code like below to make sureorg-babel-exp-reference-buffer
is not nil before callingasync-start
But that's all I got.
Does anyone know the reason for this error? Apart from saving the buffer to a temporary file, is there a way to inject buffers for async child process?