1 Return-Path: <Sebastian@SSpaeth.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id A43B24196F4
\r
6 for <notmuch@notmuchmail.org>; Tue, 15 Jun 2010 02:04:11 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.091 tagged_above=-999 required=5
\r
12 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, T_MIME_NO_TEXT=0.01] autolearn=ham
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id a6BOmNhdcvgX for <notmuch@notmuchmail.org>;
\r
17 Tue, 15 Jun 2010 02:04:01 -0700 (PDT)
\r
18 Received: from homiemail-a21.g.dreamhost.com (caiajhbdcahe.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 5C413431FC1
\r
21 for <notmuch@notmuchmail.org>; Tue, 15 Jun 2010 02:04:01 -0700 (PDT)
\r
22 Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 94358300064
\r
24 for <notmuch@notmuchmail.org>; Tue, 15 Jun 2010 02:03:59 -0700 (PDT)
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject
\r
26 :in-reply-to:references:date:message-id:mime-version:
\r
27 content-type; q=dns; s=sspaeth.de; b=ZrPvhPJuE6j/5eohAsQtrBsB6VN
\r
28 cIdZZW3hOppFnrVqYk5ExMxwrJ9qMZC2RvAoUzZ1mMMJYa3TFDIDC8k0TXWRSS/b
\r
29 gmHvzhq+U0QuII/iVamoJbWluBjGTNtJp5JWFRQBPMBGjAT+haOx1nJEDQsVbNBu
\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to
\r
32 :subject:in-reply-to:references:date:message-id:mime-version:
\r
33 content-type; s=sspaeth.de; bh=BL7ICKxNYDhzUogRQZanLlGDQHA=; b=X
\r
34 kNsrz7jYaoRIpQp3CzhIP44eL9WWRgC+fUiDrTJnN6StAR4GTqGWu1eWhIPMIoPk
\r
35 /51ijk4mT/lqBfniu3LgHR2JpkyNCOUIKSnuyqvYf1uy/woJpVAHNmceEYu/jxON
\r
36 O+vgGLhQU79RDFCdOzhv0SULXda38yAUfwAiZokzV4=
\r
37 Received: from sspaeth.de (mtec-hg-docking-2-dhcp-040.ethz.ch [82.130.121.40])
\r
38 (Authenticated sender: sebastian@sspaeth.de)
\r
39 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id 3FD32300014
\r
40 for <notmuch@notmuchmail.org>; Tue, 15 Jun 2010 02:03:58 -0700 (PDT)
\r
41 Received: by sspaeth.de (sSMTP sendmail emulation);
\r
42 Tue, 15 Jun 2010 11:03:56 +0200
\r
43 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
\r
44 To: notmuch <notmuch@notmuchmail.org>
\r
45 Subject: Re: Python bindings and Xapian exceptions
\r
46 In-Reply-To: <87k4q7s43v.fsf@ut.hh.sledj.net>
\r
47 References: <87k4q7s43v.fsf@ut.hh.sledj.net>
\r
48 User-Agent: Notmuch/0.3.1-49-g90d15b3 (http://notmuchmail.org) Emacs/23.1.1
\r
49 (x86_64-pc-linux-gnu)
\r
50 Date: Tue, 15 Jun 2010 11:03:55 +0200
\r
51 Message-ID: <878w6gis5g.fsf@SSpaeth.de>
\r
53 Content-Type: multipart/signed; boundary="=-=-=";
\r
54 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Tue, 15 Jun 2010 09:04:12 -0000
\r
71 > A Xapian exception occurred finding message: The revision being read
\r
72 > has been discarded - you should call Xapian::Database::reopen() and
\r
73 > retry the operation.
\r
74 > It makes the Python bindings almost useless to me.
\r
76 Not sure, if the python bindings should simply drop and reopen a
\r
77 database connection in that case? But I am not sure if libnotmuch.so
\r
78 still simply exits on such an error case.
\r
80 The proper fix, and a reason why I am not immediately hacking around in
\r
81 the python bindings is that notmuch the library would actually return a
\r
82 proper error value rather than print to stderr and quit.
\r
84 Happy to receive suggestions on how to handle this best from the python
\r
90 Content-Type: application/pgp-signature
\r
92 -----BEGIN PGP SIGNATURE-----
\r
93 Version: GnuPG v1.4.10 (GNU/Linux)
\r
95 iEYEARECAAYFAkwXQfwACgkQVYX1jMgnoGIFfQCfQAQwgLOqQrfGyEEVsPP1HW24
\r
96 I1gAnAwFq9QDIbrI/SCWi9kHYgh3vB7B
\r
98 -----END PGP SIGNATURE-----
\r