guile-email discussion
 help / color / mirror / Atom feed
* [guile-email] decoding-error crash
@ 2019-09-15 12:57 Christopher Baines
  2019-09-16  9:50 ` Arun Isaac
  0 siblings, 1 reply; 17+ messages in thread
From: Christopher Baines @ 2019-09-15 12:57 UTC (permalink / raw)
  To: guile-email


[-- Attachment #1.1.1: Type: text/plain, Size: 1311 bytes --]

Hey,

This issue comes from trying to using guile-email to read emails to the
guix-commits mailing list from the Guix Data Service.

I'm seeing crashes like the following:


Backtrace:
          14 (apply-smob/1 #<catch-closure e63940>)
In ice-9/boot-9.scm:
    705:2 13 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 12 (_ #(#(#<directory (guile-user) ee4140>)))
In ice-9/boot-9.scm:
   2312:4 11 (save-module-excursion _)
  3832:12 10 (_)
In /home/chris/decoding-error.scm:
     98:1  9 (_)
In email/email.scm:
   817:34  8 (parse-email _)
In rnrs/io/ports.scm:
    334:0  7 (call-with-port #<input: string 106d930> _)
In email/email.scm:
   609:21  6 (_ #<input: string 106d930>)
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 #<output: string 106d8c0>)
    91:14  2 (get-line-with-delimiter _)
In ice-9/rdelim.scm:
   195:24  1 (read-line _ _)
In unknown file:
           0 (%read-line #<input: string 106d930>)

ERROR: In procedure %read-line:
Throw to key `decoding-error' with args `("decode-char" "input decoding error" 84 #<input: string 106d930>)'.


I've attached a file which should reproduce the issue.

Any ideas?

Thanks,

Chris


[-- Attachment #1.1.2: decoding-error.scm --]
[-- Type: text/plain, Size: 4096 bytes --]

(use-modules (rnrs bytevectors)
             (email email))

(define mail
  "Return-Path: <guix-commits-bounces+mail=cbaines.net@gnu.org>
X-Original-To: cbaines@mira.cbaines.net
Delivered-To: cbaines@mira.cbaines.net
Received: by mira.cbaines.net (Postfix, from userid 113)
	id 5ADAB17307; Thu, 22 Aug 2019 16:21:39 +0100 (BST)
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=unavailable autolearn_force=no version=3.4.0
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	by mira.cbaines.net (Postfix) with ESMTP id 26E3A17305
	for <mail@cbaines.net>; Thu, 22 Aug 2019 16:21:39 +0100 (BST)
Received: from localhost ([::1]:44422 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-commits-bounces+mail=cbaines.net@gnu.org>)
	id 1i0ouA-0001ex-KU
	for mail@cbaines.net; Thu, 22 Aug 2019 11:21:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46437)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>) id 1i0oso-0008KE-FG
 for guix-commits@gnu.org; Thu, 22 Aug 2019 11:20:15 -0400
Received: from vcs0.savannah.gnu.org ([209.51.188.201]:34251)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
 id 1i0oso-0003FN-2h
 for guix-commits@gnu.org; Thu, 22 Aug 2019 11:20:14 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 68006)
 id F323F21324; Thu, 22 Aug 2019 11:20:11 -0400 (EDT)
To: guix-commits@gnu.org
Subject: 02/03: website: Don't set 'GUIX_WEB_SITE_INFO'.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Mail-Followup-To: guix-devel@savannah.gnu.org
In-Reply-To: <20190822152011.3696.62577@vcs0.savannah.gnu.org>
References: <20190822152011.3696.62577@vcs0.savannah.gnu.org>
X-Git-Repo: guix-artwork
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: f9a9795a37cd292fc9aacb25af2aff2cdb43d483
Auto-Submitted: auto-generated
Message-Id: <20190822152011.F323F21324@vcs0.savannah.gnu.org>
Date: Thu, 22 Aug 2019 11:20:11 -0400 (EDT)
From: ludo@gnu.org (Ludovic Courtès)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-BeenThere: guix-commits@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: <guix-commits.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-commits>,
 <mailto:guix-commits-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-commits>
List-Post: <mailto:guix-commits@gnu.org>
List-Help: <mailto:guix-commits-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-commits>,
 <mailto:guix-commits-request@gnu.org?subject=subscribe>
Reply-To: =?utf-8?q?Ludovic_Court=C3=A8s?= <ludo@gnu.org>
Errors-To: guix-commits-bounces+mail=cbaines.net@gnu.org
Sender: \"Guix-commits\" <guix-commits-bounces+mail=cbaines.net@gnu.org>
X-TUID: D4q5j3vAumD9

civodul pushed a commit to branch master
in repository guix-artwork.

commit f9a9795a37cd292fc9aacb25af2aff2cdb43d483
Author: Ludovic Court=C3=A8s <ludo@gnu.org>
Date:   Thu Aug 22 16:41:14 2019 +0200

    website: Don't set 'GUIX_WEB_SITE_INFO'.
   =20
    This is a followup to feb02faba58dd7f07bc5e8912c564b5ff0303920.
   =20
    * website/.guix.scm (build): Don't set \"GUIX_WEB_SITE_INFO\".
---
 website/.guix.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/website/.guix.scm b/website/.guix.scm
index 3aa4425..173f194 100644
--- a/website/.guix.scm
+++ b/website/.guix.scm
@@ -62,9 +62,6 @@
           ;; Use a sane default.
           (setenv \"XDG_CACHE_HOME\" \"/tmp/.cache\")
=20
-          ;; Choose the layout for guix.gnu.org.
-          (setenv \"GUIX_WEB_SITE_INFO\" \"t\")
-
           (invoke #+(file-append (specification->package \"haunt\")
                                  \"/bin/haunt\")
                   \"build\")
")

(display
 (parse-email
  (string->utf8 mail)))

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

[-- Attachment #2: Type: text/plain, Size: 110 bytes --]

-- 
guile-email mailing list
guile-email@systemreboot.net
https://lists.systemreboot.net/listinfo/guile-email

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-24 14:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-15 12:57 [guile-email] decoding-error crash Christopher Baines
2019-09-16  9:50 ` Arun Isaac
2019-09-16  9:50   ` Arun Isaac
2019-09-16 16:32   ` Arun Isaac
2019-09-16 16:32     ` Arun Isaac
2019-09-16 20:20     ` Arun Isaac
2019-09-16 20:20       ` Arun Isaac
2019-09-22 13:19       ` Christopher Baines
2019-09-23  5:21         ` Arun Isaac
2019-09-23  5:21           ` Arun Isaac
2019-09-23  7:30           ` Christopher Baines
2019-09-23 19:28             ` Arun Isaac
2019-09-23 19:28               ` Arun Isaac
2019-09-24  7:17               ` Christopher Baines
2019-09-16 20:55     ` Christopher Baines
2019-09-17  5:37       ` Arun Isaac
2019-09-17  5:37         ` Arun Isaac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox