emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: results from Python block not visible
Date: Thu, 26 Jun 2014 12:36:47 -0400	[thread overview]
Message-ID: <87vbrntyow.fsf@gmail.com> (raw)
In-Reply-To: <87r42bhcil.wl%n142857@gmail.com> (Daniel Clemente's message of "Thu, 26 Jun 2014 23:16:34 +0700")

Daniel Clemente <n142857@gmail.com> writes:

> Hi, this babel code recently stopped working on my system:
>
> #+BEGIN_SRC python :results output
> print "x"
> #+END_SRC
>
> It prints:
>
> #+RESULTS:
> : None
>
> I expected to see "x". This worked some days ago.
>

This works for me using the latest version of Org-mode with an Emacs
launched by running "make vanilla" from the base of the Org-mode repo.

Maybe the problem is in your configuration?

>
> If I use a command like os.system("xeyes"), I see it running.
>
> In addition I don't see the Python block highlighted
>
>
> GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2014-06-20 on la4
> org-mode from today
> Debian. Python 2.7 (same with Python 3).
> It also happens under emacs -Q
>
> Of course I loaded Python support:
>
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((R . t)
>    (C . t)
> ; …
>    (python . t)
>    (ruby . t)
>    (sql . t)
>    (sqlite . t)))
>
>
> Greetings, Daniel
>

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D (see https://u.fsf.org/yw)

  reply	other threads:[~2014-06-26 16:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 16:16 Daniel Clemente
2014-06-26 16:36 ` Eric Schulte [this message]
2014-06-26 17:19   ` Daniel Clemente
2014-06-27  9:50     ` Daniel Clemente
2014-07-02 16:51       ` Daniel Clemente
2014-07-24  7:18         ` Daniel Clemente
2014-07-24 10:07           ` Michael Albinus

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=87vbrntyow.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n142857@gmail.com \
    --subject='Re: results from Python block not visible' \
    /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

Code repositories for project(s) associated with this 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).