Database error
Varac
varac at leap.se
Fri Apr 20 05:57:17 PDT 2018
Quoting David Bremner (2018-04-20 14:44:25)
> > » xapian-check .notmuch/xapian docdata:
> > blocksize=8K items=564 firstunused=7 revision=7 levels=1 root=2
> > B-tree checked okay
> > docdata table structure checked OK
> >
> > termlist:
> > blocksize=8K items=305882 firstunused=64506 revision=7 levels=2 root=63491
> > xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0
>
>
> This is almost certainly a known and recently fixed xapian bug. notmuch
> compact is the recommended workaround (or just ignore the message).
Ok, I'll ignore it for now.
>
> >
> > After this I try to tun "afew --tag --new -v" but it fails with (I don't know if
> > this is related though):
> >
> > Traceback (most recent call last):
> > File "/usr/bin/afew", line 11, in <module>
> > load_entry_point('afew==1.3.0', 'console_scripts', 'afew')()
> > File "/usr/lib/python3/dist-packages/afew/commands.py", line 159, in main
> > inner_main(args, database, query_string)
> > File "/usr/lib/python3/dist-packages/afew/main.py", line 23, in main
> > filter_.run(query_string)
> > File "/usr/lib/python3/dist-packages/afew/filters/BaseFilter.py", line 59, in run
> > for message in self.database.get_messages(query):
> > File "/usr/lib/python3/dist-packages/afew/Database.py", line 93, in get_messages
> > for message in self.do_query(query).search_messages():
> > File "/usr/lib/python3/dist-packages/notmuch/query.py", line 182, in search_messages
> > raise NotmuchError(status)
> > notmuch.errors.XapianError
> >
>
> It's hard to say for sure, but it's possible this would be fixed by the
> patch
>
> https://mid.mail-archive.com/20180414014610.15438-4-david@tethera.net
>
> That should be part of a bug-fix release of notmuch fairly soon. You can
> also try to find a subset of mail reproducing the problem. I don't
> know what that afew invokation is trying to do. Can you reproduce the
> problem using the notmuch CLI?
It turned out that this was a bad syntax in afew, where I quoted a query in
single quotes.
Greetings, Varac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20180420/af5cbf3c/attachment.sig>
More information about the notmuch
mailing list