Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1891C431FD0 for ; Thu, 8 Sep 2011 07:02:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 Se2EcGC4nVQs for ; Thu, 8 Sep 2011 07:02:03 -0700 (PDT) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 41AF8431FB6 for ; Thu, 8 Sep 2011 07:02:03 -0700 (PDT) Received: by qwb8 with SMTP id 8so690307qwb.39 for ; Thu, 08 Sep 2011 07:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; bh=s4rhPhBnoHuVYVLcj34NaErHiTRiLHBSBBdtFSG8/bo=; b=f+74eF7krDyC21Kco3JXA8oQCndNLoGlfOfnx1khlEBMTX40APSRkonatYHJ9/83hc uty/MyG0gVzykG+wUGZ56emOawP+R0OpZsFJ0ZFEJNMbphBgfxOuRdiMx01kc4Z2/2mo UuYVWgFKM1F0L9Cq7PWQhvxEHLWYK61jb4e5Y= Received: by 10.224.216.199 with SMTP id hj7mr534647qab.292.1315490521009; Thu, 08 Sep 2011 07:02:01 -0700 (PDT) Received: from [192.168.1.190] (pool-68-163-190-45.bos.east.verizon.net. [68.163.190.45]) by mx.google.com with ESMTPS id dt6sm3096569qab.9.2011.09.08.07.01.59 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 07:02:00 -0700 (PDT) Subject: Re: Not much database creation error From: Martin Owens To: Sebastian Spaeth In-Reply-To: <8739g7gnb4.fsf@SSpaeth.de> References: <1315110898.32058.13.camel@delen> <87vct7t7m4.fsf@SSpaeth.de> <1315373219.32058.157.camel@delen> <8739g7gnb4.fsf@SSpaeth.de> Content-Type: text/plain; charset="UTF-8" Date: Thu, 08 Sep 2011 10:01:58 -0400 Message-ID: <1315490518.2435.25.camel@delen> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 08 Sep 2011 14:21:55 -0700 Cc: Notmuch developer list , Paul Tagliamonte 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: Thu, 08 Sep 2011 14:02:05 -0000 On Thu, 2011-09-08 at 15:45 +0200, Sebastian Spaeth wrote: > An open database connection provides you only with a snapshot, and you > need to reopen it after content has been modified. You are correct and I have submitted a patch for libnotmuch and the python bindings to add reopen and flush to the code. To this notmuch mailing list. Errors didn't seem to happen consistently though, I got one error out of 20 tests or so. Martin,