-
Notifications
You must be signed in to change notification settings - Fork 108
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
JSON readtable error #210
Comments
One situation the "JSON readtable error" happens is when I include another org file with:
|
Use emacs-jupyter: https://github.com/dzop/emacs-jupyter |
It requires emacs 26. I will try that later. Thanks for the suggestion. |
Anyone? |
I found the solution. The problem is the function
of this function:
In my
The option
The function Solution 1: use just
Solution 2 (better): change |
FWIW the shell-command-switch variable setting of "-ic" does not cause this problem for me. I am not sure why. I am using a Mac. A quick solution would be to let-bind shell-command-switch inside the function, e.g.
|
This also happens if the command from When this is broken, it also breaks other aspects of org, like captures, for some reason. |
If I understand your idea correctly, using the following instead of
See: https://emacs.stackexchange.com/questions/21422/how-to-discard-stderr-when-running-a-shell-function Background: using Python 3.11 creates a similar problem. The command
outputs the following to stderr:
And this throws ob-ipython off. |
ob-ipython is great and works well, it is breaking other functionalities. It may be too vague, but weirdly enough, after loading ob-ipython, I cannot export other org files to pdf because it gives that "JSON readtable error", even though the .org doesn't have any code block.
I have no clue where to start looking at to find why ob-ipython is breaking other functionalities. The debug messages are not helping very much (considering the short time I have to invest in fixing it myself at the moment). Any help is much appreciated.
The problem only happens when I load emacs and add ipython to
org-babel-load-langugage
withThe text was updated successfully, but these errors were encountered: