user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Johannes Altmanninger <aclopte@gmail.com>
To: meta@public-inbox.org
Subject: lei q error after deleting cache (can't find mail_sync.sqlite3)
Date: Sat, 20 Nov 2021 17:36:51 +0100	[thread overview]
Message-ID: <20211120163651.mi5qzw7gcuugmkte@gmail.com> (raw)
In-Reply-To: <20211120153054.xq6jfad2m2buoic6@gmail.com>

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).

  reply	other threads:[~2021-11-20 16:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 15:30 How to delete caches Johannes Altmanninger
2021-11-20 16:36 ` Johannes Altmanninger [this message]
2021-11-20 17:09 ` Kyle Meyer
2021-11-20 17:14   ` Johannes Altmanninger
2021-11-21 10:19     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211120163651.mi5qzw7gcuugmkte@gmail.com \
    --to=aclopte@gmail.com \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).