[BUG] "Error: Cannot open database…" when loading config

Subject: [BUG] "Error: Cannot open database…" when loading config

Date: Sun, 3 Dec 2023 12:07:18 +0100

To: notmuch@notmuchmail.org

Cc:

From: Alyssa Ross


Since commit 1c10d91d ("Pass error message from GLib ini parser to CLI"),
when I run "notmuch config list", I get this error message at the start
of the output:

	Error: Cannot open database at /home/qyliss/state/notmuch/default: No such file or directory.

Presumably this is because my database is in a non-default location,
which it doesn't know until it's loaded the config.

This is especially problematic when using compose-mail in Emacs, because
then the error message ends up mangling the new message:

	From: "Error: Cannot open database at /home/qyliss/state/notmuch/default: No such file or directory.
	To:
	Subject:
	Fcc: Sent
	Alyssa Ross" <Error: Cannot open database at /home/qyliss/state/notmuch/default: No such file or directory.
	hi@alyssa.is>
	--text follows this line--
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: