-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Emacs 27 json-read: JSON readtable error: 76 #301
Comments
Can you try loading package
|
Thanks @gmoutso , I tried basically copying your setup and removing my own, and tried to M-x jupyter-run-repl, but again, I get a "JSON readtable error: 76". When I attempt to create an org source block and press C-c ' , I get the error "no such language mode: jupyter-python-mode". |
Can you also load the libraries ob-jupyter and ob-python with use-package or require before you C-c ' the block? The "no such language mode" might mean you need
I don't know why I don't need it (loaded by ob-jupyter?). Can you remove the org-babel-default-header-args:jupyter-python line that I wrote above (you would not have a ipykernel called conda-env-edge-py like I have anyway) ? |
Can you run |
I had the same issue. Running
It turned out there was a config file Calling |
@Jason-S-Ross The same was the root of my problem, it seems! I wonder if this is something that would be worth adding to the documentation? In general, how to set it up with Conda? It's not super hard when one knows how to, but it can be pretty hard to figure out, and especially, this bug was really hard to track down. |
I don't know why I have this kind of error, with other packages, also. For example, org-roam-capture gives me: Very annoying. That doesn't happen in my laptop, and pretty much it's the same linux and config file distributions. Although both have it's tweaks. Nothing I believe should have to with JSON handling. I made sure to delete json related packages, indium, and javascript related modes. No success. |
It's a little strange, but the problem is the following: Install jupyter in your system, and guarantee it's usable by your emacs environment. It's a chain of dependencies breakage. The solution I found in this thread syl20bnr/spacemacs#9941 |
Try my fix solution below its the following code that cause error
you can find this in emacs-jupyter/jupyter-kernelspec.el
JSON readtable error: 76 occurs when
output warning as followed
follow the instruction and only keep jupyter version > 7 will remove the warning and |
I am hitting this after upgrade the system (archlinux) jupyter_client 7.3.1 -> 7.3.2. |
I also had the problem after the upgrade of jupyter_client from 7.3.1 to 7.3.2. There is an issue in version 7.3.2 and it is fixed in version 7.3.3 (see links below). I can start jupyter kernel after use the latest version of jupyter_client. |
I confirm jupyter kernel starting correctly with jupyter_client==7.3.3
Thank you very much.
…On mar 07 giu 2022 at 06:07, mk0417 ***@***.***> wrote:
I also had the problem after the upgrade of jupyter_client from 7.3.1 to 7.3.2. There is an issue in version 7.3.2 and it is fixed in version
7.3.3 (see links below). I can start jupyter kernel after use the latest version of jupyter_client.
jupyter/jupyter_client#800
jupyter/jupyter_client#801
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Trying to move from ob-ipython to emacs-jupyter, I am having trouble getting it to run.
My main environment that I wish to work from is Anaconda on a Linux machine.
I do a minimal install of emacs-jupyter with use-package:
Emacs claims it installed jupyter just fine, but when trying to run the REPL, I get the error message:
...rather cryptic, I think. I have not een able to find out whether emacs-jupyter finds the Anaconda jupyter kernels and interpreters, but org-babel also does not understand any jupyter-XXX named kernels even though I did
...with no luck.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: