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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37333 in the body.
You can then email your comments to 37333 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37333; Package emacs. (Sat, 07 Sep 2019 17:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to JohnMichaelWu <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 07 Sep 2019 17:22:02 GMT) Full text and rfc822 format available.

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)]

bug reassigned from package 'emacs' to 'org-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 07 Sep 2019 19:16:01 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#37333; Package org-mode. (Wed, 11 Dec 2019 22:41:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Michael Wu <john.michael.wu <at> gmail.com>
Cc: 37333 <at> debbugs.gnu.org, JohnMichaelWu <at> gmail.com
Subject: Re: bug#37333: Org-mode python output not working
Date: Wed, 11 Dec 2019 23:39:54 +0100
Hello,

Michael Wu <john.michael.wu <at> gmail.com> writes:

> 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"

FWIW, I cannot reproduce it. You may want to update Org. Mine is 9.3.

Regards,

-- 
Nicolas Goaziou




Information forwarded to emacs-orgmode <at> gnu.org:
bug#37333; Package org-mode. (Mon, 17 Feb 2020 07:35:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> gnu.org>
To: Michael Wu <john.michael.wu <at> gmail.com>
Cc: 37333 <at> debbugs.gnu.org, JohnMichaelWu <at> gmail.com
Subject: Re: bug#37333: Org-mode python output not working
Date: Mon, 17 Feb 2020 08:34:30 +0100
Hi Michael,

Michael Wu <john.michael.wu <at> gmail.com> writes:

> 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"

I cannot reproduce this bug with latest Org from the master branch.
If you can, let me know.  Otherwise, I'll close this bug in a month
or so.

Thanks,

-- 
 Bastien




Reply sent to Bastien <bzg <at> gnu.org>:
You have taken responsibility. (Fri, 22 May 2020 12:14:01 GMT) Full text and rfc822 format available.

Notification sent to JohnMichaelWu <at> gmail.com:
bug acknowledged by developer. (Fri, 22 May 2020 12:14:01 GMT) Full text and rfc822 format available.

Message #18 received at 37333-done <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Michael Wu <john.michael.wu <at> gmail.com>
Cc: 37333-done <at> debbugs.gnu.org, JohnMichaelWu <at> gmail.com
Subject: Re: bug#37333: Org-mode python output not working
Date: Fri, 22 May 2020 14:12:54 +0200
Hi Michael,

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

> I cannot reproduce this bug with latest Org from the master branch.
> If you can, let me know.  Otherwise, I'll close this bug in a month
> or so.

I am closing this bug report now.  If this is still a problem, please
test again latest Org and report it to emacs-orgmode <at> gnu.org.

-- 
 Bastien




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 310 days ago.

Previous Next


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