From: Justus Winter <4winter@informatik.uni-hamburg.de>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Cc: 749890@bugs.debian.org
Subject: Re: [Jakub Wilk] Bug#749890: python3-notmuch: missing header in mbox message -> NullPointerError
Date: Mon, 14 Mar 2016 21:54:10 +0100 [thread overview]
Message-ID: <20160314205410.4648.16140@thinkbox.jade-hamburg.de> (raw)
In-Reply-To: <87k393l86x.fsf@zancas.localnet>
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
prev parent reply other threads:[~2016-03-14 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-30 13:14 [Jakub Wilk] Bug#749890: python3-notmuch: missing header in mbox message -> NullPointerError David Bremner
2016-03-14 20:54 ` Justus Winter [this message]
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160314205410.4648.16140@thinkbox.jade-hamburg.de \
--to=4winter@informatik.uni-hamburg.de \
--cc=749890@bugs.debian.org \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).