From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodrigo Amestica Subject: Re: are babel python sessions and inlined images incompatible? Date: Wed, 24 Apr 2013 19:33:12 -0400 Message-ID: References: <8738uhmget.fsf@gmail.com> <86ehdzzlih.fsf@somewhere.org> Mime-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV9Bj-0000B7-6S for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 19:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV9Be-0002M9-G0 for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 19:33:23 -0400 Received: from karen.lavabit.com ([72.249.41.33]:38932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV9Be-0002M2-Av for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 19:33:18 -0400 In-Reply-To: <86ehdzzlih.fsf@somewhere.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org At Wed, 24 Apr 2013 23:06:30 +0200, Sebastien Vauban wrote: > >> You don't need to explicitly specify a return when working with a > >> session. Either of the following should work. > >> > >> #+BEGIN_SRC python :session test :file "images/test.png" > >> from pylab import * > >> plot(rand(10)) > >> savefig('images/test.png') > >> #+END_SRC > > > > that does not quite work, I get no inlined image but the following line in the > > Messages buffer > > > > orgtbl-format-line: Wrong type argument: sequencep, > Try adding the `:results graphics' header argument... > it does not help. Still same error. I'm using org-7.9.4 from tarball, in ob.el there is no 'graphics' option defined for :results. thanks for the hint, though Rodrigo