Re: problem with message headers in python bindings

Subject: Re: problem with message headers in python bindings

Date: Mon, 25 Oct 2021 22:56:09 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> On a host running Debian Stable with python 3.9.2, and notmuch 0.31.4,
> both of the attached programs work fine. On my developement host running
> notmuch 0.34, both segfault when trying to fetch the 'to' header. This
> invokes a more complicated code path, which seems to have broken
> sometime between 0.31.4 and 0.34.
>
> I guess something changed in the library that the bindings need to catch
> up with.

Yep, the change is split configurations (database.path !=
database.mail_root). The python bindings (both of them) need to be
updated to handle split configurations. In a sense this is related to
notmuch version, since split configurations are not supported prior to
0.32, but the workaround is (for now) don't use split configurations if
you need the python bindings.

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: