You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ob-ipython-20180224.953, and I've seen this error ("wrong type arguments: stringp sh") while doing something completely unrelated to ipython. I've traced it, and it ends up in the following code:
It seems like most kernel names are like "Julia-0.6", and not directly found in org-src-lang-modes, thus their names are going through (replace-regexp-in-string ...) branch. But in my case I has kernel "bash", installed in my jupyter, and this kernel name is as-is present in org-src-lang-modes. And here is the catch: this map contains languages as symbols not strings, but intern expect string, not symbol.
Personally, I've fixed it in my copy by just add (symbol-name ..) call around (cdr (assoc language org-src-lang-modes)). Probably, even better solution would be to move (intern ..) to be only around (replace-regexp-in-string ...), since it is not needed in first branch.
The text was updated successfully, but these errors were encountered:
I'm using ob-ipython-20180224.953, and I've seen this error ("wrong type arguments: stringp sh") while doing something completely unrelated to ipython. I've traced it, and it ends up in the following code:
It seems like most kernel names are like "Julia-0.6", and not directly found in
org-src-lang-modes
, thus their names are going through(replace-regexp-in-string ...)
branch. But in my case I has kernel "bash", installed in my jupyter, and this kernel name is as-is present inorg-src-lang-modes
. And here is the catch: this map contains languages as symbols not strings, but intern expect string, not symbol.Personally, I've fixed it in my copy by just add
(symbol-name ..)
call around(cdr (assoc language org-src-lang-modes))
. Probably, even better solution would be to move(intern ..)
to be only around(replace-regexp-in-string ...)
, since it is not needed in first branch.The text was updated successfully, but these errors were encountered: