emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ob-octave.el raise error after execute src block


From: Eric S Fraga
Subject: Re: [O] ob-octave.el raise error after execute src block
Date: Fri, 23 Mar 2018 00:09:54 +0000

On Friday, 23 Mar 2018 at 07:55, stardiviner wrote:
> I got the following error after executing src block:
>
> ```
>
> error: invalid call to script /usr/share/octave/4.2.2/m/help/ans.m

I see the same.  Not sure why this is happening but you can fix it but
adding any line after the saveas statement that would generate a value,
e.g. just a "1" will do:

#+begin_src org
  ,#+begin_src octave :results file :dir "data/images" :file "figure1.png"
  clf ();
  surf (peaks);
  saveas (1, "figure1.png");
  1
  ,#+end_src
#+end_src

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-341-g3a4fd3

Attachment: signature.asc
Description: PGP signature


reply via email to

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