emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jack Kamm <jackkamm@gmail.com>
To: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: [BUG] org babel fails with matlab+python kernel on MacOS-10.15 [9.4.6 (release_9.4.6-541-g52b097 @ /Users/oub/emacs/site-lisp/packages/org/)]
Date: Sat, 12 Jun 2021 06:01:12 -0700	[thread overview]
Message-ID: <878s3ffd9j.fsf@gmail.com> (raw)
In-Reply-To: <m2czsr36rh.fsf@mat.ucm.es>

Hello Uwe,

Uwe Brauer <oub@mat.ucm.es> writes:

> (defalias 'org-babel-execute:matlab 'org-babel-execute:ipython)

ob-ipython is not part of org-mode core, so I don't think this can be
considered a bug here.

While the original ob-ipython is unmaintained, scimax [1] maintains a
fork of it, so you could consider seeking help there.

Also, it looks like you're trying to use org-mode with a jupyter matlab
kernel, so you may also consider ob-jupyter from the emacs-jupyter [2]
project. I have had good success using it to run jupyter kernels from
various languages before.

Also, I would suggest verifying that the jupyter matlab kernel works
outside of Emacs/org-mode, to isolate where the problem is.

> |   ob-ipython--dump-error("Traceback (most recent call last):\n  File \"/Users/...")

This line seems to be the critical one in the error output. If you can
expand out the full error message, it may elucidate what the problem is.

[1] https://github.com/jkitchin/scimax
[2] https://github.com/nnicandro/emacs-jupyter



  reply	other threads:[~2021-06-12 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12  7:02 [BUG] org babel fails with matlab+python kernel on MacOS-10.15 [9.4.6 (release_9.4.6-541-g52b097 @ /Users/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
2021-06-12 13:01 ` Jack Kamm [this message]
2021-06-12 17:58   ` Uwe Brauer
2021-06-14 16:56     ` Nick Dokos
2021-06-16  7:08       ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s3ffd9j.fsf@gmail.com \
    --to=jackkamm@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).