From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxi.Matthe@googlemail.com (Maximilian =?utf-8?Q?Matth=C3=A9?=) Subject: Re: [Bug] Exporting subtree with code Date: Tue, 13 Sep 2011 17:04:40 +0200 Message-ID: <87d3f4wkjb.fsf@googlemail.com> References: <87fwk0veod.fsf@googlemail.com> <8739g0fq0p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3UXs-0008HB-DG for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 11:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3UXe-0004EU-2x for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 11:05:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:38544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3UXd-0004EI-Py for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 11:04:54 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R3UXc-0005lE-Qy for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 17:04:52 +0200 Received: from f053080150.adsl.alicedsl.de ([78.53.80.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2011 17:04:52 +0200 Received: from Maxi.Matthe by f053080150.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2011 17:04:52 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Eric Schulte writes: > Maxi.Matthe@googlemail.com (Maximilian Matthé) writes: > >> Hi guys, >> >> I found a bug (or I'm doing something wrong): See this org file: >> >> **************************************** >> >> * 1 >> * 2 >> ** 2.1 >> ** 2.2 >> Exporting this subtree to latex (C-c C-e 1 d) raises >> "wrong type argument: arrayp" >> >> #+BEGIN_SRC python :results output :export results >> print 1 >> print 2 >> #+END_SRC >> >> #+results: >> : 1 >> : 2 >> >> **************************************** >> >> I can export and process the whole file to latex und pdf with no errors, >> but when I try to export the subtree 2.2 I get the given error. What's >> going on here? >> > > I just pushed up a fix for this issue. Thanks for reporting and please > let me know if the problem persists with the latest version of Org-mode > from git head. > > Best -- Eric > Hi, I just pulled the new version, but now I get another error message, here's the message lock ,---- | SUBTREE | Export buffer: | Export subtree: | Mark set | Exporting to PDF... | Exporting to LaTeX... | OVERVIEW | Loading reftex...done | Compiling label environment definitions...done | Scanning entire document... | Scanning file /home/mmatthe/temp/bla.tex | Scanning section 1 ... | Scanning section 2 ... | Scanning document... done | Applying style hooks... done | Loading reftex...done | org-babel-exp processing... | Loading reftex...done | org-babel-exp processing... | org-babel-get-src-block-info: Wrong type argument: char-or-string-p, nil `---- I attach the file I'm using (it's the same). Regards, Max --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=bla.org Content-Transfer-Encoding: base64 KiAxCiogMgoqKiAyLjEKKiogMi4yCkV4cG9ydGluZyB0aGlzIHN1YnRyZWUgcmFpc2VzCiJ3cm9u ZyB0eXBlIGFyZ3VtZW50OiBhcnJheXAiCgojK0JFR0lOX1NSQyBweXRob24gOnJlc3VsdHMgb3V0 cHV0IDpleHBvcnQgcmVzdWx0cwpwcmludCAxCnByaW50IDIKIytFTkRfU1JDCgojK3Jlc3VsdHM6 CjogMQo6IDIKCg== --=-=-=--