Re: JSON readtable error when replying
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Mon, 30 Apr 2012 15:10:01 +0000 (09:10 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:50 +0000 (09:46 -0800)
fd/2560dbacf948c284b1a362dc9bdaace36e73de [new file with mode: 0644]

diff --git a/fd/2560dbacf948c284b1a362dc9bdaace36e73de b/fd/2560dbacf948c284b1a362dc9bdaace36e73de
new file mode 100644 (file)
index 0000000..a67b4ac
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <awg@xvx.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id AD380431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:03 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Lm+Jr+0cisyu for <notmuch@notmuchmail.org>;\r
+       Mon, 30 Apr 2012 08:10:03 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id D7E83431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:02 -0700 (PDT)\r
+Received: by lahc1 with SMTP id c1so2198191lah.26\r
+       for <notmuch@notmuchmail.org>; Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
+       :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
+       :x-gm-message-state;\r
+       bh=mgeIGNysOgcgDJDxUEaZm5tLkS4WzY0RhFChlhOoGSE=;\r
+       b=kg2H9wPAQIZYGmyDer52oYmXVB2vH8CWOTf8M5qEk4gkYZ9b/INhc0GtS+b7odlRzH\r
+       5zmilRFyBBR+X2Q//tRrz5Bz8KIxwZZmVXk/5ke7Wgf54DQx0akWWjT1OX2p+0Xt+Mf3\r
+       n7pgP6YoqliZapUy7Us2D8RgSvXJf19e+YVUihUaPwpB6leVPBUCx3z2aFGNiUUyhoZk\r
+       houTsl7NwMtrnNANGyKlHnqpM20m96L42vN6OTxIOU0YnJsV4/J+7SdU5ZDYXuB/mPhY\r
+       Iy2CsDhqDRn5zalM0cFR32izyp3pLpdTj5Q0B8RAhJdX1wPjIRUYMjRu19IGhue3kDgv\r
+       YO7g==\r
+MIME-Version: 1.0\r
+Received: by 10.152.111.198 with SMTP id ik6mr20098682lab.38.1335798601046;\r
+       Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
+Sender: awg@xvx.ca\r
+Received: by 10.112.82.163 with HTTP; Mon, 30 Apr 2012 08:10:01 -0700 (PDT)\r
+X-Originating-IP: [128.221.197.57]\r
+In-Reply-To: <87ehr55knx.fsf@steelpick.2x.cz>\r
+References: <87ehr55knx.fsf@steelpick.2x.cz>\r
+Date: Mon, 30 Apr 2012 09:10:01 -0600\r
+X-Google-Sender-Auth: uif8ISBPyTMhLJFesCh7EVxsQSc\r
+Message-ID:\r
+ <CAMoJFUsCe+U_j=oH0c=P6YmD2g_Jk8sxxtJ00JA_sM3dM5pOHQ@mail.gmail.com>\r
+Subject: Re: JSON readtable error when replying\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+X-Gm-Message-State:\r
+ ALoCoQlrU3QGlpVuo3vU6zFcRopH/PhIjh5YV2CSkiNbNYrKymaSdt+jBHaKPYO6WxjtLTI5gS1L\r
+Cc: notmuch <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 30 Apr 2012 15:10:03 -0000\r
+\r
+Hi Michal,\r
+\r
+On Mon, Apr 30, 2012 at 09:00, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> when I try to reply within emacs to a particular message, I get "JSON\r
+> readtable error". This happens with with the current git master as well\r
+> as with a version from about a month ago. Is this a known problem or\r
+> shall I dig into it and find what wrong?\r
+\r
+Sounds like notmuch reply is producing bad JSON for that particular\r
+message. Could you try the following, replacing <message id> with the\r
+message ID of the message you're replying to:\r
+\r
+notmuch reply --format=json id:"<message id>" | json_xs -t json-pretty\r
+\r
+and see if it complains? The json_xs tool is in the libjson-xs-perl\r
+package in Ubuntu. If you can't get it, run just the notmuch reply\r
+command, and see what it does - the JSON will be hard to read, but if\r
+it's producing an error of some sort you'll see it.\r
+\r
+-- Adam\r