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: X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FSL_HELO_FAKE, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5B85E1F9F4 for ; Sat, 20 Nov 2021 16:36:57 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id r9-20020a7bc089000000b00332f4abf43fso9481690wmh.0 for ; Sat, 20 Nov 2021 08:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AQXwV9SjvmYJhX8zEQnx4Zir5vFTe7NSiFcduTdlJc8=; b=LRFUDGwK0sNu3lxoSfyj41fkS7Gw3U43Xjs7qzBVnsH0mLzssjp/26TNIfKP3dw7+5 XVCr0aHeJENYF5r4qL0YygXHBLQ8FNB/s+Y4Ua0N8SRVHAZx6YN/M9u3rjYsV5G8uvrq BwL6AQp4juLRrYdZFh16QoX0rA4XdwSiewibhdc/oDvZHlVwxKxDXG/9/aaLmSds0iyy dxQ78QWzekS2Lt9EvX/ylkwDunRQCsRzXtyOmQNQJyyN1yoJxqyw4d0eH3245dJmPfcX MpIHbE9uFrBE06kurlrdogQ3daMX0uQekGrrYKIjyfHQn0phgFO97ikfbMnlZiS/i2Hh 5FMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AQXwV9SjvmYJhX8zEQnx4Zir5vFTe7NSiFcduTdlJc8=; b=Qb7AFt9moRUZtN+IA5ZQMEq7J7cweyKryxoqOu+qPXZ1eK0Kg3Jlv+blBtCHxjVxHx lgrabvTJzRYi3X3/SwDVmfqQX712YX9nz/jNhZeefyB1CcTlcwWfPrYT8XDZKuh9z4TG tOfCY07Tueu6z4O3Sr4ik+tcPMR3D63TfIML1jiR0K873WKBSHZlHpXOW7Na/GW826MM 2qRGsssHRLB0+2nSgADpexh70sSWbZp+nHFviflDG0euzUq2OmkabKOeQJRj0Yh7KIQK v5nflPejYeqkME/H4EtqCSV25Yu2PsG1ARvPba4OC+R0f+po4wdtZ1Fa/7KwbMbnf7bs WGmQ== X-Gm-Message-State: AOAM532tMg+aMtearM5VQ93pCPzAsJh8bkQ4Ziz+vb37Ytoeo36ow6hu 1SjVXZEQVftplFVbxa5uqjdvBNHAskU= X-Google-Smtp-Source: ABdhPJzQCLF/0D85pouliuk5bWK1+iBSlrjeLm2iJPclye97oYqx8fVWR2vqUyhEt4ivzWFU42TNAQ== X-Received: by 2002:a05:600c:1f0c:: with SMTP id bd12mr11504276wmb.56.1637426213894; Sat, 20 Nov 2021 08:36:53 -0800 (PST) Received: from gmail.com (62-47-14-105.adsl.highway.telekom.at. [62.47.14.105]) by smtp.gmail.com with ESMTPSA id c79sm3199397wme.43.2021.11.20.08.36.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 08:36:53 -0800 (PST) Date: Sat, 20 Nov 2021 17:36:51 +0100 From: Johannes Altmanninger To: meta@public-inbox.org Subject: lei q error after deleting cache (can't find mail_sync.sqlite3) Message-ID: <20211120163651.mi5qzw7gcuugmkte@gmail.com> References: <20211120153054.xq6jfad2m2buoic6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211120153054.xq6jfad2m2buoic6@gmail.com> List-Id: On Sat, Nov 20, 2021 at 04:30:57PM +0100, Johannes Altmanninger wrote: > I've been using lei from the 1.7.0 release, which works great. > > I had some unrelated problems with one of the created maildirs so I deleted > said maildir. Now I can't recreate the maildir. I tried deleting all > persistent data but got an error: > > $ rm -rf the-maildir ~/.local/share/lei ~/.cache/{public-inbox,lei} > $ lei q -I https://lore.kernel.org/git/ -o the-maildir rt:1.week.ago.. > failed to open /home/johannes/.cache/lei/all_locals_ever.git/lei_ale.state: No such file or directory > at /usr/share/perl5/vendor_perl/PublicInbox/LeiQuery.pm line 117. > > A quick look at strace doesn't show access to any other files in $HOME This is pretty weird: it works in a temporary home, but only for the first time. rm -rf the-maildir someuniquename; HOME=$PWD/someuniquename lei q -I https://public-inbox.org/meta/ -o the-maildir rt:1.day.ago.. When I re-run this command, I get the same error There seems to be no mention of someuniquename anywhere on my disk (except in my shell history).