Hello,

Johannes Wasmer <johannes.was...@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 via email to