Skip to content

error: no notmuch config file found. #714

@lucc

Description

@lucc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions