Xapian exceptions "Key too long" during notmuch new

Jameson Rollins jrollins at finestructure.net
Mon Sep 6 11:11:16 PDT 2010


On Mon, 06 Sep 2010 12:44:45 -0500, Rob Browning <rlb at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100906/dfcc060e/attachment.pgp>


More information about the notmuch mailing list