Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: michael+sup@stapelberg.de (Michael Stapelberg)
Subject: [sup-talk] Bug: Converting the index to xapian fails with a message with very old date
Date: Sat, 26 Sep 2009 23:38:49 +0200	[thread overview]
Message-ID: <1254001080-sup-5742@midna.zekjur.net> (raw)
In-Reply-To: <1253973258-sup-3347@masanjin.net>

Hi,

Excerpts from William Morgan's message of Sa Sep 26 15:56:04 +0200 2009:
> Interesting. The Xapian index has had some trouble with crazy dates in
> the past, but that should be fixed. Can you apply the following debug
> patch and send the output for that message?
Yes, here we go:

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'
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /usr/lib/ruby/1.8/sup/xapian_index.rb:398:in `synchronize'
        from /usr/lib/ruby/1.8/sup/xapian_index.rb:123:in `sync_message'
        from /usr/lib/ruby/1.8/sup/xapian_index.rb:94:in `add_message'
        from /home/michael/software/sup-mainline/bin/sup-sync:211
        from /usr/lib/ruby/1.8/sup/poll.rb:151:in `each_message_from'
        from /usr/lib/ruby/1.8/sup/imap.rb:197:in `each'
        from /usr/lib/ruby/1.8/sup/imap.rb:185:in `upto'
        from /usr/lib/ruby/1.8/sup/imap.rb:185:in `each'
        from /usr/lib/ruby/1.8/sup/util.rb:560:in `send'
        from /usr/lib/ruby/1.8/sup/util.rb:560:in `__pass'
        from /usr/lib/ruby/1.8/sup/util.rb:547:in `method_missing'
        from /usr/lib/ruby/1.8/sup/poll.rb:139:in `each_message_from'
        from /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
        from /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
        from /home/michael/software/sup-mainline/bin/sup-sync:146
        from /home/michael/software/sup-mainline/bin/sup-sync:141:in `each'
        from /home/michael/software/sup-mainline/bin/sup-sync:141

Best regards,
Michael


  reply	other threads:[~2009-09-26 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 19:46 Michael Stapelberg
2009-09-26 13:56 ` William Morgan
2009-09-26 21:38   ` Michael Stapelberg [this message]
2009-10-01 13:49     ` William Morgan
2009-10-02 20:35       ` Rich Lane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1254001080-sup-5742@midna.zekjur.net \
    --to=michael+sup@stapelberg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox