From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qBF+CaMq0l7AOgAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 09:42:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UHBYBaMq0l5DPQAA1q6Kng (envelope-from ) for ; Sat, 30 May 2020 09:42:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 61BAC94030A for ; Sat, 30 May 2020 09:42:58 +0000 (UTC) Received: from localhost ([::1]:42698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jey11-0005yZ-Gz for larch@yhetil.org; Sat, 30 May 2020 05:42:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jey0g-0005yD-Fx for emacs-orgmode@gnu.org; Sat, 30 May 2020 05:42:34 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:35065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jey0f-0005C9-GB for emacs-orgmode@gnu.org; Sat, 30 May 2020 05:42:34 -0400 Received: by mail-pj1-x1032.google.com with SMTP id 5so2566618pjd.0 for ; Sat, 30 May 2020 02:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=SleZTxFj0pJMuXj7G/8zZxPq+UVOgzzqqeKdvy8vN5Y=; b=AS8ZaYuB31fHrr4c0T/UVeA3qa6DBOXMpj/Y6jMebi88Bjv2vLCI7AlvXNrbzSkQP8 LN1j1N9uu32MGx9/XdlMiWAu/t9y85f4GJcmjZmXqbNNyODrPELaVWLZ7tM1NyFMqtPT ccfxLgwbpvlgeNGxjo8fLX1gcYX0hXzyiBq50JGdjkqiukGmfQqVwYhZ526XChXYDlo0 9FX7jxr1xpgcz5A06VIEy7KV8b/x/BRw5n6t4d8bDdrOyXCmnUK6EpJGfb5I5dv7BTtK K3PyDVRSHIwEEPaHi0O6mShfCTgyj7XNpaZuFn9zAUcKV05l8f7096Qxy1eO3TbQWQFY XeUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=SleZTxFj0pJMuXj7G/8zZxPq+UVOgzzqqeKdvy8vN5Y=; b=qcxpsz+EvBEZkxdOFQqFurPKBZbMV4DhA7OKs6HifCVg/ao4KafOCR6XxSIkbtisBg HGsWEYadNQaR5LAGDcZFuFTWzssglmdBg5Uhgc8KhFVpJWa4rDRLtWxi2hZfh3X/GvfH kP0837wDQagQxqs+LJ9ys/UCljtmoykrPkFncac+H6bSOF4opl1Z5kIhjTZkacmoZ+St mkwbrZ1/Br3IPKZBjdtZbwUh8NpknRMDATTtNKJOjX8XdeZ1LUT1tgKDexxM012v9TAC 7cNVLGB3TU55XOG1sl+SOfaYXcNHeo74qZIUg/vIhz5touYxpeID7TckPBaPAywTLzK6 zEVA== X-Gm-Message-State: AOAM531ote2MgOoQj4LtD59Ehz2D0FMNjQtk4EpvpEhnEwAc3ebrCmCC 9JP40xRdqsSuaIG0Nh+uOrfcZ5uqQmdGD5UG4w0= X-Google-Smtp-Source: ABdhPJyPlJ5Af9+zT1phcdHqkOmx7z1d6jYJxIjmM+dljCage3okEIaWhb6I/R2Pa+Izw3uttgaqDf9va+bNtfOkJ3Q= X-Received: by 2002:a17:90a:36d0:: with SMTP id t74mr6832414pjb.27.1590831751579; Sat, 30 May 2020 02:42:31 -0700 (PDT) MIME-Version: 1.0 References: <877dxbx10p.fsf@nicolasgoaziou.fr> In-Reply-To: <877dxbx10p.fsf@nicolasgoaziou.fr> From: Johannes Wasmer Date: Sat, 30 May 2020 11:42:19 +0200 Message-ID: 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/)] To: Johannes Wasmer , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000007349c105a6da6126" Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=johannes.wasmer@gmail.com; helo=mail-pj1-x1032.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=AS8ZaYuB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: VMz7gN2o4Bv7 --0000000000007349c105a6da6126 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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=E2=80=99t 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 > --0000000000007349c105a6da6126 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Okay, thank you Nicolas. I will let you know if I fin= d something out.
Best, Johannes

Am Sa., 16. Mai 2020 um = 19:06=C2=A0Uhr 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=E2=80=99t guess python-indent-offset, using defaults: 4
> pythonic-python-readable-file-name: Wrong type argument: stringp, nil<= br> >
> Note: python code evaluation works fine (also with :exports both). Onl= y
> 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.<= br>
Regards,

--
Nicolas Goaziou
--0000000000007349c105a6da6126--