* bug#37333: Org-mode python output not working
@ 2019-09-07 17:19 Michael Wu
2019-12-11 22:39 ` Nicolas Goaziou
2020-02-17 7:34 ` Bastien
0 siblings, 2 replies; 4+ messages in thread
From: Michael Wu @ 2019-09-07 17:19 UTC (permalink / raw)
To: 37333
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 622 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37333: Org-mode python output not working
2019-09-07 17:19 bug#37333: Org-mode python output not working Michael Wu
@ 2019-12-11 22:39 ` Nicolas Goaziou
2020-02-17 7:34 ` Bastien
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2019-12-11 22:39 UTC (permalink / raw)
To: Michael Wu; +Cc: 37333, JohnMichaelWu
Hello,
Michael Wu <john.michael.wu@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37333: Org-mode python output not working
2019-09-07 17:19 bug#37333: Org-mode python output not working Michael Wu
2019-12-11 22:39 ` Nicolas Goaziou
@ 2020-02-17 7:34 ` Bastien
2020-05-22 12:12 ` Bastien
1 sibling, 1 reply; 4+ messages in thread
From: Bastien @ 2020-02-17 7:34 UTC (permalink / raw)
To: Michael Wu; +Cc: 37333, JohnMichaelWu
Hi Michael,
Michael Wu <john.michael.wu@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#37333: Org-mode python output not working
2020-02-17 7:34 ` Bastien
@ 2020-05-22 12:12 ` Bastien
0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2020-05-22 12:12 UTC (permalink / raw)
To: Michael Wu; +Cc: 37333-done, JohnMichaelWu
Hi Michael,
Bastien <bzg@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@gnu.org.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-22 12:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-07 17:19 bug#37333: Org-mode python output not working Michael Wu
2019-12-11 22:39 ` Nicolas Goaziou
2020-02-17 7:34 ` Bastien
2020-05-22 12:12 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.