Re: ‘class Xapian::Database’ has no member named ‘close’
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 14 Aug 2012 12:26:13 +0000 (14:26 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:06 +0000 (09:49 -0800)
40/df181bf882d7072789c27c4896f428adc6a45b [new file with mode: 0644]

diff --git a/40/df181bf882d7072789c27c4896f428adc6a45b b/40/df181bf882d7072789c27c4896f428adc6a45b
new file mode 100644 (file)
index 0000000..e779322
--- /dev/null
@@ -0,0 +1,163 @@
+Return-Path: <mpn@google.com>\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 19320431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 05:26:26 -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=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 qP989lAjJ0Ej for <notmuch@notmuchmail.org>;\r
+       Tue, 14 Aug 2012 05:26:24 -0700 (PDT)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+       [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id DEA84431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 05:26:23 -0700 (PDT)\r
+Received: by eaan10 with SMTP id n10so139336eaa.26\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 05:26:21 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\r
+ s=20120113;   h=sender:from:to:subject:in-reply-to:organization:references\r
+       :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version\r
+       :content-type; bh=jBV3nFlTWCNfTmPjiQRRMIJvyzDvbCE2iwP2I3BtEZA=;\r
+       b=b5hH/C71BSHdnpGO7Q8lVM67h30q82QQguqRr7p3gJ2QwfSza/7vkwUdxgdousMX3v\r
+       muWpa8KObmiLkvKpHXoA7UFV1Z7zE69gskxr5qkV5uA9YSMSSDXPVzhYXbt5HqUTJmBL\r
+       gqnX3Pervxyjrgj3lU3X/oIrBGBVpP6Qk3NoATK0URQ1YRJT8XJqy4wGSK5ApV2tWeCX\r
+       I4TjqNXoqUqBztaSakZQlr3yzYy0Mz3kNkw2gFZqlGq2dct1MFUHIFo9+i+oCjBJnTWW\r
+       RcpQYjYdNpPIvcwp7HiTa5TnVbtkNjLMUvAJUsnmzVCXwlfmat40OEz9kj9J2jecYhWU    xxOA==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=sender:from:to:subject:in-reply-to:organization:references\r
+       :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version\r
+       :content-type:x-gm-message-state;\r
+       bh=jBV3nFlTWCNfTmPjiQRRMIJvyzDvbCE2iwP2I3BtEZA=;\r
+       b=pEfMs5ySOd9QmXHP2zPPMn+bqo9efHgeTtl02XayRXXzfnfPBaHuHRGbhgjvtM6+B1\r
+       OIHltsQbl4upHviLB+oHEHfReck+j7VsMaybEwPJhnQ9PpobZWt2jwkLWOdUTcLpFvuk\r
+       504y2MlLnAZtTkPTDA8PVJQVh1UmC3Rtq5ztPUMzfQH/EioyNag4PhTFL80YawmHQXRV\r
+       TagfYTq5V/UPulYKOihvV8q0xQw1EiwM5oJcDo1H+mAfho3uczY9bAIZbXVrh79jMGvJ\r
+       n2rVxxUL9Tg0glyLRiTZgWyDyslNBtAMpcsIwbLcKNrIgJaeIWnehXnZPAEWEovS9fIY\r
+       cMZQ==\r
+Received: by 10.14.0.198 with SMTP id 46mr19073334eeb.30.1344947181227;\r
+       Tue, 14 Aug 2012 05:26:21 -0700 (PDT)\r
+Received: by 10.14.0.198 with SMTP id 46mr19073323eeb.30.1344947181098;\r
+       Tue, 14 Aug 2012 05:26:21 -0700 (PDT)\r
+Received: from mpn-glaptop ([2620:0:105f:5:f2de:f1ff:fe35:1a72])\r
+       by mx.google.com with ESMTPS id l42sm6499485eep.1.2012.08.14.05.26.19\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 14 Aug 2012 05:26:19 -0700 (PDT)\r
+Sender: Michal Nazarewicz <mpn@google.com>\r
+From: Michal Nazarewicz <mina86@mina86.com>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: =?utf-8?Q?=E2=80=98class_Xapian=3A=3ADatabase=E2=80=99?= has no\r
+       member named =?utf-8?B?4oCYY2xvc2XigJk=?=\r
+In-Reply-To: <87a9xx4yuj.fsf@maritornes.cs.unb.ca>\r
+Organization: http://mina86.com/\r
+References: <xa1tsjbyd8v4.fsf@mina86.com>\r
+ <87a9xx4yuj.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.13.2+121~gb26df7c (http://notmuchmail.org)\r
+       Emacs/24.1.50.2 (x86_64-unknown-linux-gnu)\r
+X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd;       KFrfMCylc}gc??'U2j,!8%xdD\r
+Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC\r
+X-PGP: 50751FF4\r
+X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4\r
+Date: Tue, 14 Aug 2012 14:26:13 +0200\r
+Message-ID: <xa1tk3x1psm2.fsf@mina86.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/mixed; boundary="=-=-="\r
+X-Gm-Message-State: ALoCoQlkrCqwyweXpm3CRQ/dl+L28ndSV7sai1qHdgPfdHC9bRRpD4LJdaEMbIqtvrdMu3+4VDZ3ujz7f/Us/XUoF67QZgIUp5w1ZT0H5hn2yVRl9hQhoaPk7MdQa8FH/OTWTMPaG6/E1UQE3r93jCyN/wzF8Cf7VwtdAT5WLIuiSvtar48lV2kFRW91hsckXA72Zpl9rffpnuxylyjXXbmPkHVJZAxFqw==\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: Tue, 14 Aug 2012 12:26:26 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+> Michal Nazarewicz <mina86@mina86.com> writes:\r
+>> $ dpkg -l |grep xapian\r
+>> ii  apt-xapian-index  0.25ubuntu2      maintenance tools for a Xapian in=\r
+dex of Debi\r
+>> ii  libxapian-dev     1.0.18-1         Development files for Xapian sear=\r
+ch engine l\r
+>> ii  libxapian15       1.0.18-1         Search engine library\r
+\r
+David Bremner <david@tethera.net> writes:\r
+> This might be a bug with the install documentation; it could be we\r
+> really need a later xapian to build.\r
+\r
+Yeah, it seems that INSTALL claims =E2=80=9CNotmuch will work best with Xap=\r
+ian\r
+1.0.18 (or later) or Xapian 1.1.4 (or later)=E2=80=9D, which doesn't seem t=\r
+o be\r
+the case.\r
+\r
+On top of that, configure does not seem to even check the version\r
+number.\r
+\r
+> From memory, maybe 1.0.20 has the "close" method. 1.0.18 is pretty\r
+> old; Debian squeeze has 1.2.3, and that must be almost 3 years old\r
+> now.\r
+\r
+Is close() really required though?  The comment justifies it saying\r
+that:\r
+\r
+       Many Xapian objects hold references to the database, so merely\r
+       deleting the database may not suffice to close it.  Thus, we\r
+       explicitly close it here.\r
+\r
+but wouldn't the database get closed when the last reference gets\r
+deleted anyway?\r
+\r
+--=20\r
+Best regards,                                         _     _\r
+.o. | Liege of Serenely Enlightened Majesty of      o' \,=3D./ `o\r
+..o | Computer Science,  Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz   =\r
+ (o o)\r
+ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--\r
+--=-=-=\r
+Content-Type: multipart/signed; boundary="==-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+\r
+--==-=-=\r
+Content-Type: text/plain\r
+\r
+\r
+--==-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJQKkPmAAoJECBgQBJQdR/0MWYP/1FfbziLc8uISTjfycZomutJ\r
+svfaWhNzvdzw7kYKC5DIuX/C6DCilO8R88dEr9QtYscY1X+caE9exeXgJHEvJP1B\r
+JAstU/02ncGE/vFDwPjGJaPqOhRYljXsu3lIoyJT+LpLULVU9WRXIQlGj2GtTiiK\r
+mKUnwbGMQc7cvmrhL+gm38wMYDVntkw19rMeba+8XnCbS/JLHHI0LTlQPdU50sfJ\r
+FtqM2FTt1xG7H1O4SE44aavdjtecyMBESI3+EZZdIYQgottwu6hvRQMmvPQpDo8Q\r
+Oh9iMNdnXf+L8brDYa3hoZKBWeejo0TuM0PhMlkOKfAwjNPRtWXtUIhTOy55YuYm\r
+cv7CJmi1wZfD2WSmXYSykYJh8vFW/jwMgxSFyeXpP3hIKu2pVuGoXMTParEHoDT+\r
+u+uL+hFEyCDgDatLv/38xOIqif8kMxzsi6JKb/FUhJ2lFfWh3QW63mTWzPdatDl2\r
+vhcMRjbGaA6CmwTwdrJUWxkopa/53knz017AF5DYwHwhSczztouySpVJhAHF1Bb4\r
+nMNLzOzMpa+5G+oY8UrEQZxXna1D1srKxToz+TrVO+EKhrcYYbHFGf1Gg0NRU7n3\r
+/QH9DNAFH+IvQdmx2gX9sOYONaokZ3Whzh8+OOJXIR+qJQVzxQvHppU/pQ3IeCyT\r
+GH5c2ypkZMqAt2MsYxaK\r
+=pPtY\r
+-----END PGP SIGNATURE-----\r
+--==-=-=--\r
+\r
+--=-=-=--\r