From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: workflow, matlab+latex in org file Date: Fri, 20 Oct 2017 13:54:04 +0200 Message-ID: <874lquox0j.fsf@mat.ucm.es> References: <8760sc8ids.fsf@mat.ucm.es> <87shvg6z9i.fsf@mat.ucm.es> <5e1e71e3698e415ca51a0b9e3cab5dac@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87h931qa9f.fsf@ucl.ac.uk> <87tw70dysj.fsf@mat.ucm.es> <87d15iozd8.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5Vt8-0002CE-7f for emacs-orgmode@gnu.org; Fri, 20 Oct 2017 07:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5Vsz-0002pq-DA for emacs-orgmode@gnu.org; Fri, 20 Oct 2017 07:54:51 -0400 Received: from [195.159.176.226] (port=60130 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5Vsz-0002o7-5y for emacs-orgmode@gnu.org; Fri, 20 Oct 2017 07:54:45 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1e5VsV-0002dq-Pw for emacs-orgmode@gnu.org; Fri, 20 Oct 2017 13:54:15 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org > Here I obtain the following error: > Debugger entered--Lisp error: (void-function org-babel-execute:matlab) > org-babel-execute:matlab("x = [1, 2, 3, 4, 5];\nfprintf('|%d', x)" > ((:colname-names) (:rowname-names) (:result-params "replace" "output" > "drawer") (:result-type . output) (:results . "replace output drawer") > (:exports . "code") (:session . "matlab") (:kernel . "matlab") (:cache > . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"))) > org-babel-execute-src-block(nil ("matlab" "x = [1, 2, 3, 4, > 5];\nfprintf('|%d', x)" ((:colname-names) (:rowname-names) > (:result-params "drawer" "output" "replace") (:result-type . output) > (:results . "drawer output replace") (:exports . "code") (:tangle . > "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:kernel . > "matlab") (:session . "matlab")) "" nil 671 "(ref:%s)")) > org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) > call-interactively(org-ctrl-c-ctrl-c nil nil) > command-execute(org-ctrl-c-ctrl-c) Ok, I did not had ob-ipython installed. Now I did but obtain a different error Debugger entered--Lisp error: (error "There was a fatal error trying to process the request. See *ob-ipython-debug*") signal(error ("There was a fatal error trying to process the request. See *ob-ipython-debug*")) error("There was a fatal error trying to process the request. See *ob-ipython-debug*") ob-ipython--dump-error("Traceback (most recent call last):\n File \"/home/oub/.emacs.d/elpa/ob-ipython-20171008.1733/client.py\", line 60, in \n c = create_client(args.conn_file)\n File \"/home/oub/.emacs.d/elpa/ob-ipython-20171008.1733/client.py\", line 43, in create_client\n cf = find_connection_file('emacs-' + name)\n File \"/usr/local/lib/python2.7/dist-packages/jupyter_client/connect.py\", line 212, in find_connection_file\n raise IOError(\"Could not find %r in %r\" % (filename, path))\nIOError: Could not find 'emacs-matlab' in ['.', '/run/user/1000/jupyter']\n") ob-ipython--execute-request("x = [1, 2, 3, 4, 5];\nfprintf('|%d', x)" "matlab") ob-ipython--execute-sync("x = [1, 2, 3, 4, 5];\nfprintf('|%d', x)" ((:colname-names) (:rowname-names) (:result-params "replace" "output" "drawer") (:result-type . output) (:results . "replace output drawer") (:exports . "code") (:session . "matlab") (:kernel . "matlab") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"))) org-babel-execute:matlab("x = [1, 2, 3, 4, 5];\nfprintf('|%d', x)" ((:colname-names) (:rowname-names) (:result-params "replace" "output" "drawer") (:result-type . output) (:results . "replace output drawer") (:exports . "code") (:session . "matlab") (:kernel . "matlab") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"))) org-babel-execute-src-block(nil ("matlab" "x = [1, 2, 3, 4, 5];\nfprintf('|%d', x)" ((:colname-names) (:rowname-names) (:result-params "drawer" "output" "replace") (:result-type . output) (:results . "drawer output replace") (:exports . "code") (:tangle . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:kernel . "matlab") (:session . "matlab")) "" nil 671 "(ref:%s)")) org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) call-interactively(org-ctrl-c-ctrl-c nil nil) command-execute(org-ctrl-c-ctrl-c)