emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Johannes Wasmer <johannes.wasmer@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: babel python html export error [9.3.6 (9.3.6-25-g685b2c-elpaplus @ /home/johannes/.emacs.d/elpa/26.3/develop/org-plus-contrib-20200330/)]
Date: Sat, 16 May 2020 19:06:30 +0200	[thread overview]
Message-ID: <877dxbx10p.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAPb=8-9T0LjfHFMm=f2p4LzeE2LgsaNO-gBaEknLVCWoWYk3nw@mail.gmail.com> (Johannes Wasmer's message of "Fri, 15 May 2020 20:52:12 +0200")

Hello,

Johannes Wasmer <johannes.wasmer@gmail.com> writes:

> I have a very simple test.org file with the content:
>
> #+begin_src python
> return 2+2
> #+end_src
>
> #+RESULTS:
> : 4
>
> When I export this to PDF via ~C-e l p~, I get the PDF with both the
> code and the output.
> But when I export to HTML via ~C-e h h~, I get no file.

FWIW, I cannot reproduce it.

> In the *Messages* buffer, I find the following error message:
> org-babel-exp process python at position 3...
> Can’t guess python-indent-offset, using defaults: 4
> pythonic-python-readable-file-name: Wrong type argument: stringp, nil
>
> Note: python code evaluation works fine (also with :exports both). Only
> the HTML export does not work.
> So this bug is very specific to babel python HTML export.
> The Python version used is 3.7.4.
> Thank you for any pointers on how to resolve this.

It may be specific to the package providing
`pythonic-python-readable-file-name' instead. I suggest to look there.

Regards,

-- 
Nicolas Goaziou


  reply	other threads:[~2020-05-16 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 18:52 Bug: babel python html export error [9.3.6 (9.3.6-25-g685b2c-elpaplus @ /home/johannes/.emacs.d/elpa/26.3/develop/org-plus-contrib-20200330/)] Johannes Wasmer
2020-05-16 17:06 ` Nicolas Goaziou [this message]
2020-05-30  9:42   ` Johannes Wasmer

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=877dxbx10p.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=johannes.wasmer@gmail.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).