From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 48A2A1F462 for ; Tue, 11 Jun 2019 21:06:40 +0000 (UTC) Received: by mail-qt1-x842.google.com with SMTP id i34so16315642qta.6 for ; Tue, 11 Jun 2019 14:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4SpHk8qBYBZiG/gSXyTY6HgUNRmcb3qXbR8x4BP7GzQ=; b=UToRrpJaWR61/NchR+fheZCTniYPkuMCv7BtzmDn1CR85NOnmc/zv0939e0jpb/N7B heNWyuePr6gUIbFA301X3riqVZSNttfUdqgTdKS/ydG0SOMAO4ECy0bcRoaCvGEBM0NK +AyyJIGxaxqMD983Q2ndHL7MNycJ5wNQWdZ7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4SpHk8qBYBZiG/gSXyTY6HgUNRmcb3qXbR8x4BP7GzQ=; b=K3Znd9Q5rbgy2nOOinWOibAXEaXIvXVDtJTWLOPmau2hT18cwHAm1Qa7/LROaH3225 IPJLmByntwXUGjyRPRTbH8IivkgANhuiSNk1l1c5u4ZcULvTWfs3Y35JwdKPthKTv8kz MduYjAtNeqQmUscmRzAxVwPnR9x24iftnqGOihVtL3mrBbDqe+xVQEhuMIo32BJaflZh BJ/B7fodU3KPxyVXZqZoucO35c6xZoO8i/njhWlasUNJvTU3X7IWpKkP36Jtgd7ps+L/ C4Lwp8rKHMTHweogt7ssUqmy9Po9BOcqjd22j4M3PZGyX9kWbcPtszKrhyO1z1KLooK+ +bzg== X-Gm-Message-State: APjAAAVYYEmrKth26r+XHnxotmnPC691g0kuRL6C0LPLiMYn/j4fhvOq KYvFQcr93iWSg7BZEnmRq3CMcgYWrh9PZTtVj8XapETeSoE= X-Google-Smtp-Source: APXvYqydWIKHiFghzCatVrWTWso16cC+7i46iY5EI1/ZiXoaxswuV5RWiNYLRBq+QIZBC3qNcMHc+TgiEraOXuOcBB0= X-Received: by 2002:ac8:d9:: with SMTP id d25mr35469864qtg.29.1560287199429; Tue, 11 Jun 2019 14:06:39 -0700 (PDT) MIME-Version: 1.0 References: <20190609025147.24966-1-e@80x24.org> <20190610150647.GA16418@chatter.i7.local> <20190610154058.jqaawkktvb5u2itj@dcvr> <20190610185730.GC16418@chatter.i7.local> In-Reply-To: <20190610185730.GC16418@chatter.i7.local> From: Konstantin Ryabitsev Date: Tue, 11 Jun 2019 17:06:28 -0400 Message-ID: Subject: Re: [PATCH 00/11] v2: implement message editing To: Eric Wong Cc: meta@public-inbox.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: On Mon, 10 Jun 2019 at 14:57, Konstantin Ryabitsev wrote: > I did a few successful tests on small trial lists, but I'm running into > a problem when I try to actually edit something in (a copy of) LKML: > > $ perl5lib/bin/public-inbox-edit -m messageid /mnt/fastio/lkml > (mutt opens here) > 1 kept, 0 deleted. > Exception: Expected block 102325 to be level 2, not 0 In the process of helping me debug this, Eric pointed out that the xapian-db was corrupted. Apparently, this happened while I was copying the lkml dir to a safe location for testing purposes. Once I had a non-corrupted version of the database, I was able to successfully edit the necessary message. My sincere apologies for the noise, and huge thanks to Eric for going the extra mile for me. Regards, --=20 Konstantin Ryabitsev Director, Projects IT The Linux Foundation Montr=C3=A9al, Qu=C3=A9bec