Excerpts from Ben Walton's message of Tue Aug 18 19:35:35 +0200 2009: > > I just tried to import my index to xapian and it crashed part way > through the import. I then discovered that I couldn't use ferret > either. There is something wonky with label handling, as per attached > exception log. I haven't had a chance to look at the code yet, but > I'll poke at it tonight.
I think I just ran into the same problem! For now I fixed it with
the following small patch:
diff --git a/lib/sup/label.rb b/lib/sup/label.rb
index 67474c2..59c0c0f 100644
--- a/lib/sup/label.rb
+++ b/lib/sup/label.rb
@@ -61,6 +61,7 @@ class LabelManager
end
def << t
+ t = t.to_sym if t.is_a? String
raise ArgumentError, "expecting a symbol" unless t.is_a? Symbol
unless @labels.member?(t) || RESERVED_LABELS.member?(t)
@labels[t] = true
--
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
signature.asc
Description: PGP signature
_______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
