Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no notmuch config file found. #714

Open
lucc opened this issue Dec 3, 2021 · 1 comment · May be fixed by #757
Open

error: no notmuch config file found. #714

lucc opened this issue Dec 3, 2021 · 1 comment · May be fixed by #757

Comments

@lucc
Copy link

lucc commented Dec 3, 2021

I am using notmuch 0.34.1 and astroid 0.16.0 from the NixOS unstable branch. When I start astroid I get the following error:

[14:06:50] [0x00007f74f3b4cb40] [M] [debug] log: stdout: yes
[14:06:50] [0x00007f74f3b4cb40] [M] [info] log: level: info
[14:06:50] [0x00007f74f3b4cb40] [M] [info] date: init.
[14:06:50] [0x00007f74f3b4cb40] [M] [error] db: failed to open database, please check the manual if everything is set up correctly: db: error: no notmuch config file found.

The default location of the notmuch config file was changed upstream. It might be since notmuch 0.32 but the release notes are not precice ablout it. Anyway the current manpage describes the new config location:
https://notmuchmail.org/manpages/notmuch-config-1/

As a workaround I can set NOTMUCH_CONFIG but it feels strange to set this variable to the default location of the config file :)

NOTMUCH_CONFIG=~/.config/notmuch/default/config astroid
@gauteh
Copy link
Member

gauteh commented Dec 3, 2021 via email

@jorsn jorsn mentioned this issue Jun 5, 2024
6 tasks
@jorsn jorsn linked a pull request Jun 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants