GNU bug report logs - #37333
Org-mode python output not working

Previous Next

Package: org-mode;

Reported by: JohnMichaelWu <at> gmail.com

Date: Sat, 7 Sep 2019 17:22:02 UTC

Severity: normal

Done: Bastien <bzg <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Wu <john.michael.wu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Org-mode python output not working
Date: Sat, 7 Sep 2019 13:19:25 -0400
[Message part 1 (text/plain, inline)]
In the following block:

#+BEGIN_SRC python :results value :session
def f():
    return 5
f()
#+END_SRC

It gives the message

"Code block returned no value"

when trying to run it. This is clearly not intended behavior, as

#+BEGIN_SRC python :results value :session
def f():
    return 5
f()
10
#+END_SRC

#+RESULTS:
: 10

works perfectly fine. Does anyone else have this issue?
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.