[PATCH 2/2] python: annotate all calls into libnotmuch with types

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Dec 6 03:12:42 PST 2011


On Tue, 06 Dec 2011 10:46:31 +0000, Patrick Totzke <patricktotzke at googlemail.com> wrote:
> This commit breaks raising XapianErrors for me.
> 
> If I lock the index with some `notmuch tag +test '*'`
> and try to write to it in alot, i get a segfault and
> the following on stderr:
> 
> Xapian exception occurred opening database: Unable to get write lock on
> /home/pazz/mail/.notmuch/xapian: already locked

Can you confirm that this only occurs with this patch and not without?
To be honest, I don't see how the patch would change things in a way
that make it throw XapianErrors that would not also occur before this
patch.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111206/23b3e233/attachment.pgp>


More information about the notmuch mailing list