emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] workflow, matlab+latex in org file


From: Uwe Brauer
Subject: Re: [O] workflow, matlab+latex in org file
Date: Fri, 20 Oct 2017 13:54:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)



   > 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 <module>\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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]