emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johannes Wasmer <johannes.wasmer@gmail.com>
To: Johannes Wasmer <johannes.wasmer@gmail.com>, 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, 30 May 2020 11:42:19 +0200	[thread overview]
Message-ID: <CAPb=8---kEa29suN0Safjn5nkQXe-6Ds5N0XLKs9HvWxdBnPQA@mail.gmail.com> (raw)
In-Reply-To: <877dxbx10p.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

Okay, thank you Nicolas. I will let you know if I find something out.
Best, Johannes

Am Sa., 16. Mai 2020 um 19:06 Uhr schrieb Nicolas Goaziou <
mail@nicolasgoaziou.fr>:

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

[-- Attachment #2: Type: text/html, Size: 1881 bytes --]

      reply	other threads:[~2020-05-30  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 18:52 Johannes Wasmer
2020-05-16 17:06 ` Nicolas Goaziou
2020-05-30  9:42   ` Johannes Wasmer [this message]

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='CAPb=8---kEa29suN0Safjn5nkQXe-6Ds5N0XLKs9HvWxdBnPQA@mail.gmail.com' \
    --to=johannes.wasmer@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).