[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: babel python html export error [9.3.6 (9.3.6-25-g685b2c-elpaplu
From: |
Nicolas Goaziou |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Johannes Wasmer <address@hidden> 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