From: Alyssa Ross <hi@alyssa.is>
To: notmuch@notmuchmail.org
Subject: [BUG] "Error: Cannot open database…" when loading config
Date: Sun, 3 Dec 2023 12:07:18 +0100 [thread overview]
Message-ID: <rby4lt56qdhbuvwct4xudr5jdd7ojwd6ymnghr4c3bem62sv2m@m3fsiz62hz4f> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 791 bytes --]
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--
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2023-12-03 13:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-03 11:07 Alyssa Ross [this message]
2023-12-03 13:34 ` [BUG] "Error: Cannot open database…" when loading config David Bremner
2023-12-03 15:03 ` Alyssa Ross
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=rby4lt56qdhbuvwct4xudr5jdd7ojwd6ymnghr4c3bem62sv2m@m3fsiz62hz4f \
--to=hi@alyssa.is \
--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).