Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Inbox mode loads all the messages
@ 2008-09-09 10:45 Israel Herraiz
  2008-09-10 20:29 ` William Morgan
  0 siblings, 1 reply; 3+ messages in thread
From: Israel Herraiz @ 2008-09-09 10:45 UTC (permalink / raw)


Hi all,

my inbox view is loading all the messages. It is quite strange,
because those messages do not have the "inbox" label. If I archive
them, save the changes, quit sup, and start sup, it will load all
the messages again.

If I search "label:inbox", it finds all the messages, even those that
do not have the "inbox" label.

I am using the Git version of sup, and I have not made any changes
neither a pull since the last time sup worked correctly. I have
updated ruby however (1.8.7 2008-06-20 patchlevel 22). But I updated
it some days ago, and it has been working correctly during some days.

I am probably have too many labels (108). I don't know if I have
reached some kind of limit :-).

Any hint about what is going on with my sup?

Cheers,
Israel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [sup-talk] Inbox mode loads all the messages
  2008-09-09 10:45 [sup-talk] Inbox mode loads all the messages Israel Herraiz
@ 2008-09-10 20:29 ` William Morgan
  2008-09-10 21:40   ` Israel Herraiz
  0 siblings, 1 reply; 3+ messages in thread
From: William Morgan @ 2008-09-10 20:29 UTC (permalink / raw)


Reformatted excerpts from israel.herraiz's message of 2008-09-09:
> my inbox view is loading all the messages. It is quite strange,
> because those messages do not have the "inbox" label. If I archive
> them, save the changes, quit sup, and start sup, it will load all
> the messages again.

Very weird. Do searches for other labels work correctly? What about
searches for regular words?

> I am probably have too many labels (108). I don't know if I have
> reached some kind of limit :-).

There's no label limit. Ferret treats them as regular words so it should
be able to scale to, like, trillions.

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.). 
-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [sup-talk] Inbox mode loads all the messages
  2008-09-10 20:29 ` William Morgan
@ 2008-09-10 21:40   ` Israel Herraiz
  0 siblings, 0 replies; 3+ messages in thread
From: Israel Herraiz @ 2008-09-10 21:40 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-10 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-09 10:45 [sup-talk] Inbox mode loads all the messages Israel Herraiz
2008-09-10 20:29 ` William Morgan
2008-09-10 21:40   ` Israel Herraiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox