From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 9hK6OINq9l/kEAAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 01:57:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id D5cSNINq9l/efwAAbx9fmQ (envelope-from ) for ; Thu, 07 Jan 2021 01:57:23 +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 2CF5F9404C8 for ; Thu, 7 Jan 2021 01:57:23 +0000 (UTC) Received: from localhost ([::1]:54090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxKYA-0006Oq-U6 for larch@yhetil.org; Wed, 06 Jan 2021 20:57:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxKXS-0006Oc-Sc for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 20:56:35 -0500 Received: from mout.web.de ([212.227.17.11]:42421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxKXO-00008O-D3 for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 20:56:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1609984587; bh=SNypHVFRrfBZdR2quzNVwh68B1lWOcJQvybmHFfy/T4=; h=X-UI-Sender-Class:From:To:Subject:Date; b=kCXGgk/+U7bjZL4QEzXkUAI4YK+xvPINx6mA3i/gNJ+bkR7VG1YbCfGQOgXwFxaxa el749Ub42KiX7I9Blo9+WuYLS0wZ4/x1XhcrDDXxTClQsdMyFM0OJtftGlBrQpzMHd tqYY1DFi8t7yKkavNAgk9ljE4WLpmg3EL8YPsBZM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([84.149.95.107]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MWSBi-1kU5Lt1zpq-00XYe4; Thu, 07 Jan 2021 02:56:27 +0100 User-agent: mu4e 1.4.13; emacs 27.1 From: "Dr. Arne Babenhauserheide" To: emacs-orgmode@gnu.org Subject: Bug: [patch] fix: ox-rss died when an entry had an empty date [ ( @ /home/arne/.guix-profile/share/emacs/site-lisp/)] Date: Thu, 07 Jan 2021 02:56:25 +0100 Message-ID: <875z49echi.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:AVJlRkNmtPLTPPwBZ9KhsRzyZGPHtWYFmx5n8yi78yNN1bfHA75 NopyWEDmrFk+V1ZMa+c3v1ycnySenfyV8seSYnwIB8qyMF3E75Y9CrktQ6b6dFLV74SHMH1 9lUiyMpEy50+ny1r0CgBArhakmU54BWU0xDH3lbNSxbF0fEto6Hh5okP8LbMwlm3+pcg2ZQ mxRTfgmyS9v7SslPoHsTA== X-UI-Out-Filterresults: notjunk:1;V03:K0:CVHd8GUuJSA=:0p4QmOPhdRAnlxS1vgWpHH 28uvFStr1VyJO5ETudh6nS6boxkJlHqhI7Z0uczaLL7qUUlw1NQhGMS6EapvlToED7N5KWtUq +OcjGkZ8aiPfydvvfsfD/PUHM4ZdZQ4isZLRvGktCPzg+41dp1HHT5YQPb8eahGYY0I3FoVwn xAP2QBt9gAZpNVaqflMr7nax1Nt6+oLIfe8RSDbMvwV1MXc6enBq2jnSpJYiPIOLm7JIc/1Zz fdW5wC7wh1eek1heUxZ0jKrBCqwcCopbXpa7ARxa/GU4ol6ENrw6Vipowd07pUdH27XhI+UzN ibucNhwvdHzFvDDT3Xmh9Lm2+V8XdZnu36c5p3QeyCEldf5pZVwAjPfyjGur+9WpfQrn0xCn8 UHh357k36d4HJFTwGBpE9RCqazx5v2g0wzCQf6yEv+/MYtnclxB88CedXdLCeO01EA7AbBiy9 Antu2KeY2ShvuwXeefpNc4XGGY8n2PnamqDm2TPvVr8guIPgqe2dEV2noHBzMjwNO9qnCz3Cn 96Eg2+IgkODsFv539V89DuTjbGW3nM/Ov4UPEYO75zb0KJb+lLXhkllIaiXi681bpNgXvC71y UKo7hRbHtgb/r+RpW5ThOODb6oKQIEpua5E2CnJK0yAGxnBW669I+QYhT27UlPEw7cjA1uMFw xC1L0jr/+gVjDzV80/9MjIfgkDNmzH54Ip+lNkePV5E0WCek5F0tNYUAfY7f/K+/OKD6HTPGm VQKZEhRGBKkRSPvI4a/XIwkRiGnsPQfZxvHf0X+I+ILqEDe7Nbv7QzsPsNWJXe0WRiVqOvwDV 5iqzLbwdn9GRVLmLGFnsU1po34Mhdgiu+/kwRrmO9MXlIJmB00Sve4ohsN9Xl7cbiFqTEgTGd DLfKwbhRZOm8b652zu/g== Received-SPF: pass client-ip=212.227.17.11; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=kCXGgk/+; dmarc=pass (policy=none) header.from=web.de; 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-Migadu-Queue-Id: 2CF5F9404C8 X-Spam-Score: -4.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q1v3U9Vslwu1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. =2D----------------------------------------------------------------------- When creating an RSS feed, org-publish broke for me with signal(error ("Not an Org time string: ")) error("Not an Org time string: %s" "") org-parse-time-string("") org-time-string-to-time("") (format-time-string "%a, %d %b %Y %H:%M:%S %z" (org-time-string-to-time p= ubdate0)) (if pubdate0 (format-time-string "%a, %d %b %Y %H:%M:%S %z" (org-time-str= ing-to-time pubdate0))) ;; =E2=80=A6 org-rss-headline((headline ... ...) #("

\nIch bin ei..." 4 395 ... 407 = 410 ... 492 530 ... 534 535 ... ...) (:export-options nil :back-end ... :tr= anslate-alist ... :exported-data # :input= -buffer "rss-feed.org" :input-file "/home/arne/Sch..." :description "" ...)) Maybe relevant: I have date enabled in options. #+OPTIONS: date:t Best wishes, Arne From=2017b6ba6f9adcd42e03ae2b606043719b2926641a Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Subject: [PATCH] ox-rss: do not die on empty date * contrib/lisp/ox-rss.el (org-rss-headline): check for empty string =2D-- contrib/lisp/ox-rss.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/ox-rss.el b/contrib/lisp/ox-rss.el index 299d22086..97a4bfc8f 100644 =2D-- a/contrib/lisp/ox-rss.el +++ b/contrib/lisp/ox-rss.el @@ -245,7 +245,7 @@ communication channel." (or (org-element-property :CATEGORY headline) "") info)) (pubdate0 (org-element-property :PUBDATE headline)) (pubdate (let ((system-time-locale "C")) =2D (if pubdate0 + (if (and pubdate0 (not (string-empty-p pubdate0)) (format-time-string "%a, %d %b %Y %H:%M:%S %z" (org-time-string-to-time pubdate0))))) =2D-=20 2.29.2 Emacs : GNU Emacs 27.1 (build 1, x86_64-unknown-linux-gnu, GTK+ Version 3.= 24.23, cairo version 1.16.0) Package: Org mode version ( @ /home/arne/.guix-profile/share/emacs/site-li= sp/) =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAl/2akoQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6wUpD/9giif0MoF5zNJVgpsxWLmgAFDja0pduNNL cVJQyPnPlQC/RixjxMrBOFuoHN1v2j9KKPja0e2ZuvgKtrWjP2M3CCZPreGG9TFe wejx/i3r5X8XrGqDcKhcdCeeP2gB6wHH20WFdK/utTTEa9cdCQFBXCrzc16rLmhG VpuLZ1d0+ZHRs4TNHBiVcNcYJtzEhhacnvIWkgwqWK6KDPq9FoNci8PmWevgbsbx OcVN69huVxpEIdLKUOEbYPWN2iiO9+ItgniCQag6QvmASCgam9O0gIHo/oJ7mwW7 cyH8fgz4tTJhnT3h5lIcu/Ry0sg+zdh1Xn0c9dHp9IYJkDs6IaX4FxhZg6sBT4Za KNHs52/MGfYfa2l70atC92mZVEShS/vhXb1W2ZExQ6SFV0quuTe+rS38LHeeN35w SoFzpJ3MCd2Jkg4hzQw6pTJc6tcjc3DlrG9ZBGNk318HVugySwi+NE9BFIzjT9Va jIXWYBmwwVn0/sJM7yPR1EEyDfAgoILH1gEsIlBblOw2Ze/vELdfp4TAu8hUTyiN o1Q6GioPaj95d4TBgNhJ3OXtKg6r1GkTWZCSKT/nsJ3NqseVz4djn03nQEahf3dH gMRuBzFhu8f19BFQtjSaIX7u050t6C41YUgCkmoSvsJImF/7Z4GY7ulfRtD2CeIN oaH/y5LNaIjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAl/2akoQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSCxxA/90ngCnlBecPBGjsFfDoDAvBnV+ kgAsOBtfpYSwuSiPQzVaPNKeK/o6eFk9Qy1rYVFTTFpuBz+dMyPKV8IrheS1JcCO RmqjCxTuyG904RLBD2TdhdhMqEcqCDJvjNQDhjBADrQDrq9C+WQy/xHLOvth1LZt q3ZA56rxGTWCjG5WTw== =zyZY -----END PGP SIGNATURE----- --=-=-=--