<html><body style="font-family: Helvetica,Arial,sans-serif; font-size: 12px;"><div>Hi,</div><div><br></div><div>A few days ago I noticed notmuch new was no longer working (I have it as a cron job so it took a while to figure it out).</div><div><br></div><div>It just freezes. I do have a Python hook, and it was freezing on the line that opens the database.</div><div><br></div><div>I tried a notmuch dump. Same problem - freezes</div><div><br></div><div>Based on some earlier threads, I tried a notmuch compact. Same problem - freezes.</div><div><br></div><div>All these freezes seem to use no memory/CPU. <br></div><div><br></div><div>Interestingly, queries work fine - from both the command line and the Emacs interface. So I can read old stuff just fine. But all the commands above cause a freeze. <br></div><div><br></div><div>Currently using notmuch-0.24.2. I tried notmuch-0.27 - same problem.</div><div><br></div><div>Results of a xapian check:</div><div><br></div>docdata:<br>blocksize=8K items=6 firstunused=3 revision=6442 levels=0 root=0<br>B-tree checked okay<br>docdata table structure checked OK<br><br>termlist:<br>blocksize=8K items=178562 firstunused=53441 revision=6442 levels=2 root=46086<br>/usr/bin/xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0<br><br><div>What are my options? Unfortunately the last dump I have is many months old, so I'm a bit wary of deleting the database and rebuilding. Given that the show and search commands work, I was wondering if I can write a script to get all the message/thread ID's for all the tags and store them, and then rebuild the database and use that stored information to retag all my messages (all without using the dump command)?</div><div><br></div><div>Thanks!</div><div><br></div><div>Mueen<br></div></body></html>