notmuch-abook icon indicating copy to clipboard operation
notmuch-abook copied to clipboard

AttributeError: 'module' object has no attribute 'NotMuchConfig'

Open carldavis opened this issue 7 years ago • 1 comments

I get the following error when opening a new message with mutt using vim as my editor. Could someone provide some guidance on how to track down and resolve this error? I installed notmuch-abook via Vundle and then performed the python setup.py install step.

Error detected while processing function InitAddressBook:
line    3:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'NotMuchConfig'
line    4:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'cfg' is not defined

carldavis avatar Nov 28 '17 16:11 carldavis

it might be possible that notmuch's python library has updated and its API is not anymore compatible with notmuch-abook anymore :-/

it's been on my todo list for a while to update notmuch-abook to the latest version, and actually use the great new feature of notmuch that can search for addresses, instead of using an SQLite database.

guyzmo avatar Nov 29 '17 10:11 guyzmo