From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 63F24431FD0 for ; Fri, 26 Aug 2011 09:33:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olb9cUzOP3zb for ; Fri, 26 Aug 2011 09:33:25 -0700 (PDT) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D1749431FB6 for ; Fri, 26 Aug 2011 09:33:25 -0700 (PDT) Received: by qwb7 with SMTP id 7so2426538qwb.26 for ; Fri, 26 Aug 2011 09:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WwxFuOMRDo8do1F8OCwZc0hnVCLjuA/xucrmBnKZEu4=; b=wmrCmEiEZPWw6Vi9CY7+gM7HjH36Zcw5qY7/3qoWZUFoaHy4Nvb68v9/pJIZz7kSPA lnAhTxVLXl9pXCmycz6TtkbW4ZMrDekmWuiOfyoGMXwA5G5VSUOU7s0Z1DST5N4eC//D UtjeCVt0W1pPHKCWSNcOo7njSIKfFbN1ZDOyA= MIME-Version: 1.0 Received: by 10.229.43.203 with SMTP id x11mr1715812qce.127.1314376403427; Fri, 26 Aug 2011 09:33:23 -0700 (PDT) Sender: amdragon@gmail.com Received: by 10.229.41.139 with HTTP; Fri, 26 Aug 2011 09:33:23 -0700 (PDT) In-Reply-To: <1312709240273-3232810.post@n3.nabble.com> References: <1312709240273-3232810.post@n3.nabble.com> Date: Fri, 26 Aug 2011 12:33:23 -0400 X-Google-Sender-Auth: 6XiMQ386S1tX6BJMmL5SZ_GrtJQ Message-ID: Subject: Re: wrong type argument char-or-string-p when moving from notmuch 0.5 to 0.6 or 0.7 From: Austin Clements To: daudi Content-Type: text/plain; charset=ISO-8859-1 Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 16:33:26 -0000 On Sun, Aug 7, 2011 at 5:27 AM, daudi wrote: > Hi, > > With notmuch 0.5 installed and emacs 23.2.1 I can search, show and read > results fine. With notmuch 0.6 or 0.7 in emacs I can search and get a list > of results, but when I try to view a result I only see the message headers. > In the messages buffer I get: > > notmuch-show-insert-part-*/*: Wrong type argument: char-or-string-p, > ((:content-type "text/html" :id 2) (:filename "report_en.pdf" :content-type > "application/octet-stream" :id 3)) [2 times] > > If I switch back to 0.5 everything is fine. Is there something I need to > configure in emacs to get 0.6 or 0.7 to work? > > Thanks. Did you restart Emacs after upgrading? The JSON interchange format tends to change between versions, so the Elisp version has to match the version of the notmuch binary you're running. (There have been rumblings of versioning the JSON output, but nothing's happened on that front yet.)