[Jakub Wilk] Bug#749890: python3-notmuch: missing header in mbox message -> NullPointerError
Justus Winter
4winter at informatik.uni-hamburg.de
Mon Mar 14 13:54:10 PDT 2016
Hi,
Quoting David Bremner (2014-05-30 15:14:46)
> this looks like a bug in the python bindings to me
>
> Package: python3-notmuch
> Version: 0.18-3
> Severity: minor
>
> If a message starts with the "From " postmark (i.e., it's in the mbox
> format), and you ask the get_header() method for a non-existent header,
> it raises NullPointerError, instead of returning empty string.
>
> Now, I realize that support for indexing mbox files has been dropped,
> but users might still have them on disk, indexed by an old version of
> notmuch. This is how I discovered this bug.
>
> I've attached my crafted mail archive (which I indexed with wheezy's
> notmuch), and the script that I used for testing:
I cannot reproduce this neither with master nor with 0.21-3 from
unstable.
Justus
More information about the notmuch
mailing list