Skip to content

Unknown values were found in config #1600

Description

@teto

Describe the bug

I've tried on master but whatever I do if I dont comment the bindings section I get in the log:

INFO:utils:Unknown values were found in `alot-config`. Please check for typos if a specified setting does not seem to work:
bindings: search
bindings: thread

with the following config

# Generated by Home Manager.
# See http://alot.readthedocs.io/en/latest/configuration/config_options.html

# ask_subject = False
# auto_remove_unread = True
# editor_in_thread = False
# envelope_html2txt = /nix/store/wifxw8r1i4q0z7aigmh8nc5df4i6gc5d-pandoc-2.17.1.1/bin/pandoc -t markdown -f html
# handle_mouse = True
# initial_command = search tag:inbox AND NOT tag:killed
# mailinglists = lisp@ietf.org, taps@ietf.org
# theme = matt
# thread_authors_replace_me = True

[bindings]

  . = repeat
  / = prompt 'search '
  @ = shellescape 'check-mail.sh gmail'; refresh
  Q = exit
  R = reload
  ctrl b = move halfpage up
  ctrl f = move halfpage down
  ctrl l = flush; refresh
  d = toggletags --no-flush killed; move down
  n = namedqueries
  q = bclose
  r f = shellescape 'check-mail.sh fastmail'; refresh
  r g = shellescape 'check-mail.sh gmail'; refresh
  r n = shellescape 'check-mail.sh nova'; refresh
  s = toggletags --no-flush unread
  t = taglist

  # [[bufferlist]]

  [[ search ]]
  # l = select
  # right = select
  t = toggletags todo

  [[thread]]
  ' ' = fold; untag unread; move next unfolded
  R = reply --all
  a = call hooks.apply_patch(ui)
  s m = call hooks.save_mail(ui)
  z C = fold *
  z O = unfold *
  z c = fold
  z o = unfold

[tags]
[[attachment]]
translated=📎


[accounts]

[[gmail]]
address=REDACTED@gmail.com
draft_box=maildir:///home/teto/maildir/gmail/Drafts
encrypt_by_default=none
realname=Matt
sendmail_command=msmtpq --read-envelope-from --read-recipients
sent_box=maildir:///home/teto/maildir/gmail/Sent
sign_by_default=False

I tried with pazz's config (from his dotfiles) and ogt a similar error

Software Versions

alot 0.10 or master and the exhaustive list of dependencies

Requirement already satisfied: notmuch2>=0.30 in /nix/store/4m8swiy8f2pb69sqw87v4nqx8php877z-python3.9-notmuch2-0.35/lib/python3.9/site-packages (from alot==0.10) (0.35)
Requirement already satisfied: urwid>=1.3.0 in /nix/store/ldyhfc6avrvyqdb117alwfbyy1rr1j87-python3.9-urwid-2.1.2/lib/python3.9/site-packages (from alot==0.10) (2.1.2)
Requirement already satisfied: urwidtrees>=1.0.3 in /nix/store/q7f1f9ds2pm1qikyc5pclv7fblmcg1m0-python3.9-urwidtrees-1.0.3/lib/python3.9/site-packages (from alot==0.10) (1.0.3)
Requirement already satisfied: twisted>=18.4.0 in /nix/store/fwmi1vlx4mfrgxxrzz8gbdfa0kq3wqvj-python3.9-Twisted-22.2.0/lib/python3.9/site-packages (from alot==0.10) (22.2.0)
Requirement already satisfied: python-magic in /nix/store/h6g2ahhj62zwnwx7pmiyzww6mii8l1nb-python3.9-python-magic-0.4.25/lib/python3.9/site-packages (from alot==0.10) (0.4.25)
Requirement already satisfied: configobj>=4.7.0 in /nix/store/8hdgkflilcpapivpw68rni12a8s0wx77-python3.9-configobj-5.0.6/lib/python3.9/site-packages (from alot==0.10) (5.0.6)
Requirement already satisfied: gpg in /nix/store/z5dnp865cq9kai3sqjib52fndysyq965-gpgme-1.17.0/lib/python3.9/site-packages (from alot==0.10) (1.17.0-unknown)
Requirement already satisfied: six in /nix/store/2hfahhv4xayn6683m6y5bq2zr52pwkm9-python3.9-six-1.16.0/lib/python3.9/site-packages (from configobj>=4.7.0->alot==0.10) (1.16.0)
Requirement already satisfied: cffi>=1.0.0 in /nix/store/77fqmjbkww6iqqh7xn1ik2lxq5lw4k23-python3.9-cffi-1.15.0/lib/python3.9/site-packages (from notmuch2>=0.30->alot==0.10) (1.15.0)
Requirement already satisfied: constantly>=15.1 in /nix/store/1kyrkx0j2h0vkxw7a4swlx9jx080828r-python3.9-constantly-15.1.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (15.1.0)
Requirement already satisfied: typing-extensions>=3.6.5 in /nix/store/ymc2ybwq1r277pb0bdnmakiw1mvj6d0q-python3.9-typing-extensions-4.1.1/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (4.1.1)
Requirement already satisfied: Automat>=0.8.0 in /nix/store/7swbxr7gbvihyz2dqminkjb8qwlwxlba-python3.9-Automat-20.2.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (20.2.0)
Requirement already satisfied: hyperlink>=17.1.1 in /nix/store/7wp9qcimpsxps1qdajv0hpiy9zjr0sb0-python3.9-hyperlink-21.0.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (21.0.0)
Requirement already satisfied: attrs>=19.2.0 in /nix/store/z7dxacnkpp162b7cyrwy21rpqazaih8d-python3.9-attrs-21.4.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (21.4.0)
Requirement already satisfied: incremental>=21.3.0 in /nix/store/63idhcxn5fy6m5vg0ra7hfwdl853fid0-python3.9-incremental-21.3.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (21.3.0)
Requirement already satisfied: zope.interface>=4.4.2 in /nix/store/mr81dkjwama40wsaicnqqfrvnbypcrf9-python3.9-zope.interface-5.4.0/lib/python3.9/site-packages (from twisted>=18.4.0->alot==0.10) (5.4.0)
Requirement already satisfied: pycparser in /nix/store/jg2yq8vnh7kna6d05i1d8iqhrfsvkb7n-python3.9-pycparser-2.21/lib/python3.9/site-packages (from cffi>=1.0.0->notmuch2>=0.30->alot==0.10) (2.21)
Requirement already satisfied: idna>=2.5 in /nix/store/5s1919rg1jw5fkaxagk5s35v88yx824c-python3.9-idna-3.3/lib/python3.9/site-packages (from hyperlink>=17.1.1->twisted>=18.4.0->alot==0.10) (3.3)
Requirement already satisfied: setuptools in /nix/store/cc6n0h7n7db2gc1x4a3vh0z6aks7gand-python3.9-setuptools-60.8.2/lib/python3.9/site-packages (from zope.interface>=4.4.2->twisted>=18.4.0->alot==0.10) (60.8.2.post0)
Installing collected packages: alot
  Running setup.py develop for alo

I wonder if something changed in configobj that triggered the behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions