emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: nicholas.dokos@hp.com
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Unable to export babel results
Date: Tue, 19 Oct 2010 12:37:50 -0700	[thread overview]
Message-ID: <4CBDF38E.4080701@gmail.com> (raw)
In-Reply-To: <9603.1287512688@alphaville.usa.hp.com>

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

Hi Eric and Nick,

On Tuesday 19 October 2010 11:24 AM, Nick Dokos wrote:
> Eric Schulte<schulte.eric@gmail.com>  wrote:
>>
>>   It might be worth installing outside of the emacs directory
>> and following the following instructions for activation
>>
>> http://orgmode.org/guide/Installation.html#Installation
>>
>
> I think this way avoids most of the problems: it allows one to customize
> load-path and be *sure* that the correct org-version gets loaded and it
> does eliminate the problem above.
>

I tried this,

> (add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp"))
> (add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib"))
> (require 'org-install)
>
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((ditaa . t)
>    (emacs-lisp . t)
>    (gnuplot . t)
>    (python . t)
>    (sh . t)))


After this `org-version' returns "Org-mode version 7.01trans 
(release_7.01h.753.g5cdf)". However on opening the test org file and 
exporting to pdf I get a backtrace (attached). If I quit the backtrace 
and try to export again, I get a well formatted pdf as we would expect.

If I check the "*gnuplot*" buffer after the backtrace, I see none of the 
src block commands have been run. Where as after quiting the backtrace 
and re-exporting the file shows all the src block commands in the 
"*gnuplot*" buffer.

I have noticed this behaviour before. When I try to evaluate the src 
block after I have started emacs, it fails the first time giving me a 
"*gnuplot*" buffer with no commands. On repeated evaluations, it works 
as expected.

Do you think this is because of an incorrectly installed `gnuplot-mode'? 
Or could this be a problem with babel?

> Nick
>

Thank you all of you for taking the time to look at the issue. I 'll 
switch to using org this way.

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: bt.log --]
[-- Type: application/octet-stream, Size: 19921 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-10-19 19:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18  4:31 Unable to export babel results suvayu ali
2010-10-19  1:15 ` Eric Schulte
2010-10-19  2:02   ` suvayu ali
2010-10-19  2:20     ` Eric Schulte
2010-10-19  3:48       ` Suvayu Ali
2010-10-19 13:36         ` Eric Schulte
2010-10-19 17:46           ` Suvayu Ali
2010-10-19 17:54             ` Eric Schulte
2010-10-19 18:24               ` Nick Dokos
2010-10-19 19:37                 ` Suvayu Ali [this message]
2010-10-19 21:36                   ` Nick Dokos
2010-10-19 21:52                     ` suvayu ali
2010-10-19 17:37         ` Achim Gratz
2010-10-19 17:52           ` suvayu ali

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=4CBDF38E.4080701@gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).