From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 09 Sep 2009 07:20:03 -0700 Subject: [sup-talk] ArgumentError from thread: poll after loading inbox In-Reply-To: <2e8d08f0909081413i402cbb71sfbff3b1fb5e59a2f@mail.gmail.com> References: <2e8d08f0909070447u73d6d2efq8eca89f229f890ed@mail.gmail.com> <1252442225-sup-154@masanjin.net> <2e8d08f0909081413i402cbb71sfbff3b1fb5e59a2f@mail.gmail.com> Message-ID: <1252505721-sup-2684@masanjin.net> Reformatted excerpts from Richard Sandilands's message of 2009-09-08: > I do indeed, as follows: Excellent. > I do have some labels prepended with an ! to force them to sort to the > top of the 'L' list - such as '!followup', '!hold' etc. Could that be > an issue? Nope, it was the hook above. (Which is fine, btw, it just triggered something bad.) You will need to regenerate the index and everything should be fine. Sorry about that. If you don't have a recent dumpfile, you may have to apply the following patch to get sup-dump to work. Then you should be able to git fetch, reset the head to origin/next, and run `sup-sync --restored --restore --all-sources`. Let me know if you run into problems. diff --git a/lib/sup/label.rb b/lib/sup/label.rb index 67474c2..b94474d 100644 --- a/lib/sup/label.rb +++ b/lib/sup/label.rb @@ -61,7 +61,7 @@ class LabelManager end def << t - raise ArgumentError, "expecting a symbol" unless t.is_a? Symbol + t = t.to_sym unless @labels.member?(t) || RESERVED_LABELS.member?(t) @labels[t] = true -- William