emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Jack Kamm <jackkamm@gmail.com>
Cc: 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 19:58:08 +0200	[thread overview]
Message-ID: <87im2jothr.fsf@mat.ucm.es> (raw)
In-Reply-To: 878s3ffd9j.fsf@gmail.com

[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]

>>> "JK" == Jack Kamm <jackkamm@gmail.com> writes:

Hello Jack


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

Thanks for your quick reply.


>> (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.

Ok, fair enough

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

Thanks for that information. I confess that I also send a report to the
ob-ipython author and he did not reply, no I understand why.

> 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.

That is another useful link thanks.

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

Right I wish I now how to check this

>> |   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.

This message drives my crazy since the most important information is
just not shown.

In any case, please close the bug

Thanks

Uwe 

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


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-06-12 17:59 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
2021-06-12 17:58   ` Uwe Brauer [this message]
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=87im2jothr.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    --cc=jackkamm@gmail.com \
    /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).