From mboxrd@z Thu Jan 1 00:00:00 1970 From: israel.herraiz@gmail.com (Israel Herraiz) Date: Wed, 10 Sep 2008 23:40:46 +0200 Subject: [sup-talk] Inbox mode loads all the messages In-Reply-To: <1221078119-sup-1715@entry> References: <1220956744-sup-911@elly> <1221078119-sup-1715@entry> Message-ID: <1221082291-sup-9750@elly> Excerpts from William's message on Sep 10, 2008 about 10 PM: > Very weird. Do searches for other labels work correctly? What about > searches for regular words? Some searches work well, some others not. Those that do not work show all the same messages incorrectly shown in the inbox. It seems like those messages would be "persistent", and they are shown everywhere. > There's no label limit. Ferret treats them as regular words so it should > be able to scale to, like, trillions. Ok. Good to know. > You could try creating a small set of emails and starting a fresh Sup on > it (set the environment variable SUP_BASE to a new directory and Sup > will use that as its configuration dir instead of ~/.sup),and seeing if > Sup exhibits the same behavior on that. That would at least narrow it > down to something having happened to your system (new Ruby, new and > incompatible Ferret, etc.). I killed all those messages. That removed them from the inbox, although they persisted in the searches. I had all the messages in two mboxes file. One of about 500 MB (inbox), and another one of 1 GB (mbox). I moved all the messages to one file (~1.5 GB), and after that I ran sup-sync with --all-sources and -as-is and some other options I don't remember. However, the same behavior persisted. So I decided to access the index directly from ruby. I recovered all the killed messages, added them the inbox label, saved the index, removed the killed and inbox labels, saved again, and now it is working. Probably it is an issue with Ferret. Or maybe it is because my email volume. Unfortunately, I did not keep the non-working index. If I find the same issue again, I will try to make a copy of the index just in case you want to try to reproduce the bug. Thanks anyway for your comments. Cheers, Israel