From: Varac <varac@leap.se>
To: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Database error
Date: Fri, 20 Apr 2018 14:57:17 +0200 [thread overview]
Message-ID: <152422903758.21719.4779090287452333217@rocinante.bitrigger.de> (raw)
In-Reply-To: <87o9ie11zq.fsf@tethera.net>
[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]
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
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
-----BEGIN PGP SIGNATURE-----
iQIcBAABCgAGBQJa2eOtAAoJEFRl5354du0E7cIQAKl74HL7I8LP066a20dkFg7/
fJIjSP3yOKV/IzuBs3LT+6RrdtG7/L+pp+fNs7NKmjOVKvMIs/Tw6Hu9dKwGkZ+P
mKxURJSI7ijS6W8uGa3cEz6kattJ2O5+t5ZX+d/RdFbsZbwMLPj56+jXzEXRYXnA
wPPaIgFvPVR67AS4AGCopX4MmJdu5V4zt4+yClLsYE3DMtQRhVvz/LJyhLILB3X6
n0SR+ZqUr2VTeLnKkobqInDTNWzuSE4HqGSpDWtNrx0OHpeDA8HCrH/R+Fek5mRf
xrH4slKpPy7MJUkZeTM/jcWhqftWPAR/g7cxxklJe7VbOLGHUjOn+YgVYXM06n6V
3klEXd7T0Yt+cCyuycxChA7TKHjq74IWAToryQgXWGJ4q3wpqKUlBPFiqnMSyrx0
xm8HjecPs+fbWOsKRXdDFXJl3Urh4Lx7G8tIWtPkRPIJtbmBzWXlC/xT9oyarRUA
tI1W4LDnTaGTIkB8JKcw3OJEODEljtst4/GGHUiy2I7UJo3rbTysIp/L06q0wmuP
LQGOd7VBT0UTyIs4f6GNN9nTzLVv35ZS5qgQKSeaANs8v2PdYW2Kh/mSYxkVpmHQ
0hYgh02/yzdI308kg6to9GLatFL/TBhOkO+ExROCrWrpY439bWaox+kzryFAOlrT
DsJIOk37eNi7N2XrUipE
=bpBP
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2018-04-20 12:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-19 18:26 Database error Varac
2018-04-20 12:44 ` David Bremner
2018-04-20 12:57 ` Varac [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-08-14 17:14 database error Ken
2016-08-14 23:27 ` David Bremner
2016-08-15 7:37 ` Tomi Ollila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=152422903758.21719.4779090287452333217@rocinante.bitrigger.de \
--to=varac@leap.se \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).