Excerpts from William Morgan's message of Thu Oct 01 09:49:54 -0400 2009:
> Reformatted excerpts from Michael Stapelberg's message of 2009-09-26:
> > truncated date is Thu Jan 01 01:00:00 +0100 1970
> > date_value is "\200"
> > /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `_dump': year too big to 
> > marshal
> > (ArgumentError)
> >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `dump'
> >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `index_message'
> >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:124:in `sync_message'
> 
> At this point I'm hoping that Rich will chime in. :)

This strikes me as a bug in Marshal.dump - it should be able to handle
arbitrary dates. I've never messed with custom marshalling functions
before, but monkey patching one in could be a workaround. Or we could
just truncate the dates before putting them in the index entry.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to