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 92116431FC0 for ; Sat, 15 Dec 2012 00:25:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.098 X-Spam-Level: X-Spam-Status: No, score=-0.098 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001] 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 kHH-qIcBOjXt for ; Sat, 15 Dec 2012 00:25:13 -0800 (PST) Received: from homiemail-a1.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by olra.theworths.org (Postfix) with ESMTP id 173F1431FBF for ; Sat, 15 Dec 2012 00:25:13 -0800 (PST) Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 8723B34806C for ; Sat, 15 Dec 2012 00:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; s=zx2c4.com; bh=YdvtgJAmVr8zbdkGifyLFJqoRBI=; b=Cn jSLeL3TBddAymhC2qoN/moSYCVXDX/7xsYZvaVb67Z7bSBHezxBhJ/DS+aMozSEl W7A1rUH9uuEvdo6nuPOMwfmvpoQMG1qF4dRZf69rEA+ySFsLP7GBR8BYnJLh22fz Kg2u91OxwOGWP/1rRwnckyZ0XP8DR0Bjf7k+Voq+Y= Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jason@zx2c4.com) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 3077034806B for ; Sat, 15 Dec 2012 00:25:12 -0800 (PST) Received: by mail-ee0-f53.google.com with SMTP id c50so2334559eek.26 for ; Sat, 15 Dec 2012 00:25:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.208.137 with SMTP id q9mr22102105eeo.28.1355559910841; Sat, 15 Dec 2012 00:25:10 -0800 (PST) Received: by 10.223.89.134 with HTTP; Sat, 15 Dec 2012 00:25:10 -0800 (PST) In-Reply-To: <20121215061806.GF6187@mit.edu> References: <20121211182638.27237.98903@brick.lan> <20121212204922.GB6187@mit.edu> <20121215061806.GF6187@mit.edu> Date: Sat, 15 Dec 2012 09:25:10 +0100 Message-ID: Subject: Re: notmuch python bindings corrupt db index (was: gmail importer script) From: "Jason A. Donenfeld" To: Austin Clements Content-Type: multipart/alternative; boundary=047d7b621d16f51ef604d0dfe286 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: Sat, 15 Dec 2012 08:25:13 -0000 --047d7b621d16f51ef604d0dfe286 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Dec 15, 2012 at 7:18 AM, Austin Clements wrote: > > need to at least os.fsync before the os.link. Fixed, thanks for the suggestion. http://git.zx2c4.com/gmail-notmuch/commit/?id=3f9646058bfd91d7d0e2eda035521f97de92eabc --047d7b621d16f51ef604d0dfe286 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Dec 15, 2012 at 7:18 AM, Austin = Clements <amdragon@mit.edu> wrote:
need to at least os.fsync before the os.link.=A0
--047d7b621d16f51ef604d0dfe286--