Re: How old a version of xapian should notmuch support?

2018-09-10 Thread Antoine Beaupré
On 2018-09-10 20:54:11, David Bremner wrote: > Antoine Beaupre writes: > >> >> There are other and better CI systems out there, in case Notmuch is >> stuck in Travis-land. I have had good experiences working with GitLab CI >> which is based on a slightly saner approach: it uses Docker containers

Re: How old a version of xapian should notmuch support?

2018-09-10 Thread David Bremner
Antoine Beaupre writes: > > There are other and better CI systems out there, in case Notmuch is > stuck in Travis-land. I have had good experiences working with GitLab CI > which is based on a slightly saner approach: it uses Docker containers > as a base, so you can run any base system you

Re: Notmuch DB Problems

2018-09-10 Thread David Bremner
Olly Betts writes: > > You mean in Xapian? If so, a wishlist bug saying what you're hoping > for might help it happen. > > Cheers, > Olly I filed https://trac.xapian.org/ticket/769#ticket Maybe I'm overthinking it and I should just impliment some kind of loop around a try catch block to

Re: Notmuch DB Problems

2018-09-10 Thread Olly Betts
On Mon, Sep 10, 2018 at 08:01:06AM -0300, David Bremner wrote: > Mueen Nawaz writes: > > Now killing all those jobs did not fix the database. It was still > > broken. And as we saw the second time round, it was /really/ broken - it > > would not even open in read-only mode. > > That seems like

Re: How old a version of xapian should notmuch support?

2018-09-10 Thread Antoine Beaupre
On 2018-05-13 14:33:45, David Bremner wrote: > I'm looking at changes to get notmuch running with xapian-1.5 > On the other hand, not everyone uses Debian. Travis is one place that > would require some work to get working (they're still using the _last_ > LTS version of Ubuntu). I find it quite

Re: Notmuch DB Problems

2018-09-10 Thread David Bremner
Mueen Nawaz writes: > > DATABASE = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE) OK. So your code is locking the database, and never unlocking it (because of the hang). So that part is at least not mysterious. > I can think of two experiments: I was thinking more along the lines of

Re: Notmuch DB Problems

2018-09-10 Thread Mueen Nawaz
David Bremner writes: Here's why it would freeze: I have a post-new hook that runs a Python script. Depending on whether the new email it is processing matches a rule I have, it will fire off an email to the sender using the SMTP library in Python. I had recently upgraded my MTA

Re: Notmuch DB Problems

2018-09-10 Thread David Bremner
Mueen Nawaz writes: > After a lot of poking around, I figured out the problem, and this may be > of interest to the developers (although not sure if it is a xapian issue > or a notmuch issue). > > Here's why it would freeze: > > I have a post-new hook that runs a Python script. Depending on