From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.systemreboot.net (mugam.systemreboot.net [139.59.75.54]) by localhost (mpop-1.4.5) with POP3 for ; Sun, 22 Sep 2019 20:30:11 +0530 Return-path: Envelope-to: arunisaac@systemreboot.net Delivery-date: Sun, 22 Sep 2019 18:49:52 +0530 Received: from [212.71.252.8] (helo=mira.cbaines.net) by systemreboot.net with esmtp (Exim 4.92.1) (envelope-from ) id 1iC1mK-0002U9-56; Sun, 22 Sep 2019 18:49:52 +0530 Received: from localhost (220.185.93.209.dyn.plus.net [209.93.185.220]) by mira.cbaines.net (Postfix) with ESMTPSA id EC87217406; Sun, 22 Sep 2019 14:19:49 +0100 (BST) Received: from phact (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d7f16130; Sun, 22 Sep 2019 13:19:49 +0000 (UTC) References: <87woe91zv4.fsf@cbaines.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Arun Isaac Cc: guile-email@systemreboot.net Subject: Re: [guile-email] decoding-error crash In-reply-to: Date: Sun, 22 Sep 2019 14:19:46 +0100 Message-ID: <87muew4gel.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Arun Isaac writes: >>>> From: ludo@gnu.org (Ludovic Court=C3=A8s) >> >> On the other hand, I just realized that this is a non-standard Emacs >> message mode parens style address described at >> https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Headers.h= tml >> . guile-email aims to support these non-standard addresses. So, I think >> we can relax the requirement that email headers be strictly ASCII. I'll >> push a fix and let you know. > > I've pushed a fix along with a test to prevent regression. See > https://git.systemreboot.net/guile-email/commit/?id=3D203c9c2ae39a4c64bfd= 9199bbc2deae03c347998 > > Could you use a git checkout of the master branch for your guile-email > deployment? Or would you rather I get a minor bugfix release out soon? Thanks Arun, that definately fixes the issue with the email I sent initially, although I think there might be other emails on the guix-commits mailing list that still can't be read. For testing, I downloaded https://lists.gnu.org/archive/mbox/guix-commits/2019-08 and then tried to read it with: (map parse-email (call-with-input-file "2019-08" mbox->emails)) And I get a decoding-error backtrace. In email/email.scm: 824:34 8 (parse-email _) In rnrs/io/ports.scm: 334:0 7 (call-with-port # _) In email/email.scm: 616:21 6 (_ #) In email/utils.scm: 60:13 5 (read-while _ _ _) In ice-9/ports.scm: 550:4 4 (call-with-output-string _) In email/utils.scm: 52:13 3 (read-while-loop #) 91:14 2 (get-line-with-delimiter _) In ice-9/rdelim.scm: 195:24 1 (read-line _ _) In unknown file: 0 (%read-line #) ERROR: In procedure %read-line: Throw to key `decoding-error' with args `("peek-char" "input decoding error= " 84 #)'. Any ideas? Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2HdPJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeRkA//bn6gieCOdqPS2Htlm7QQAhF15TFbwWx8pmQcJWMREApdhWCsFt+ODM+l C4iyV1mW6w6VZDQW1h6/TCAcYlKqvNSMxMbzeXYs/kFjIMOt36MLjz7Y065gEXNW +OJyNW5xMAzA52Ui0pKreK0QLp6NcrAo7BbxPH/Yi5nRraxLR2bsMNxcJZcmuTxI 0lOt4kosNULAJehPwTe/ZeDUU9Z6V8sf2XmAFI4hGrZoRCHqpqFQXVE1bRtGxJwz HcVWMJ/A8CAm+qyveBq1F0kwuuWNwA6YNVBS78GSRe5Z5V5uHGqNaTwlYPg02+xL fTl3NMtqtkBSeMLo7J5k31hSAib/N8bUT641wKtsxFbdXWDzPbBM/e7XWdO15kdj zzcm07QbLNzkANglwLfRMBuH3B1xDjzxFH922RXNce/f7cB87+b/L+lb3OVl+S5e j4BHAbWlEtKmaolv2MND9ODpZQ1sdn18t7KHPphXB8YFsDbAt0SGi15o40vQxAQ2 XXja/7J2DQJ9UjavzsbKZperqmZD+tmRg09phbVAMzoOODPlXwZJ8ki/heIpw1nw Vf0foPAOeqGWflhIe/FVrJwMeK6ukBsahbgaOHMmfvxMKjNUMv6xz/682X6dzgga fiG/kcETxgbPjtVD4i6E6YqoF/1rLjJhvQYjMhWp9AyCEuMHF54= =2IBt -----END PGP SIGNATURE----- --=-=-=--