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.
import notmuch2
db=notmuch2.Database()
m=db.find('[email protected]')
frm=m.header('from')
print(frm)
to=m.header('To')
print(to)
import notmuch
db=notmuch.Database()
m=db.find_message('[email protected]')
frm=m.get_header('from')
print(frm)
to=m.get_header('To')
print(to)
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]