emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maxi.Matthe@googlemail.com (Maximilian Matthé)
To: emacs-orgmode@gnu.org
Subject: Re: [Bug] Exporting subtree with code
Date: Tue, 13 Sep 2011 17:04:40 +0200	[thread overview]
Message-ID: <87d3f4wkjb.fsf@googlemail.com> (raw)
In-Reply-To: 8739g0fq0p.fsf@gmail.com

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

Eric Schulte <schulte.eric@gmail.com> 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


[-- Attachment #2: bla.org --]
[-- Type: application/octet-stream, Size: 181 bytes --]

* 1
* 2
** 2.1
** 2.2
Exporting this subtree raises
"wrong type argument: arrayp"

#+BEGIN_SRC python :results output :export results
print 1
print 2
#+END_SRC

#+results:
: 1
: 2


  reply	other threads:[~2011-09-13 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 11:56 [Bug] Exporting subtree with code Maximilian Matthé
2011-09-13 11:59 ` Maximilian Matthé
2011-09-13 14:58 ` Eric Schulte
2011-09-13 15:04   ` Maximilian Matthé [this message]
2011-09-13 15:36     ` Eric Schulte
2011-09-13 16:39       ` Maximilian Matthé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3f4wkjb.fsf@googlemail.com \
    --to=maxi.matthe@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).