Re: Xapian exceptions "Key too long" during notmuch new

Subject: Re: Xapian exceptions "Key too long" during notmuch new

Date: Mon, 06 Sep 2010 14:11:16 -0400

To: Rob Browning, notmuch@notmuchmail.org

Cc:

From: Jameson Rollins


On Mon, 06 Sep 2010 12:44:45 -0500, Rob Browning <rlb@defaultvalue.org> wrote:
> After quite a bit of time (issues with offlineimap and large maildirs),
> I finally got the point where I could run notmuch new, and although it
> did finish, there were two errrors that I wanted to ask about.  Are
> these important?
> 
> $ notmuch new
> [...]
> A Xapian exception occurred adding message: Key too long: length was 370 bytes, maximum length of a key is 252 bytes.
> Error: A Xapian exception occurred. Halting processing.
> [...]
> A Xapian exception occurred adding message: Key too long: length was 269 bytes, maximum length of a key is 252 bytes.
> Error: A Xapian exception occurred. Halting processing.
> Processed 1373303 total files in 10h 47m 31s (35 files/sec.).                 
> Added 1292042 new messages to the database.

Hey, Rob.  I've never seen this error before.  I wonder if these
messages have some really long header names?  If it's not too onerous,
can you find the messages where this occurred?  There's a verbose
option, that might be useful.

jamie.
part-000.sig (application/pgp-signature)

Thread: