/home/user/scripts# python contact_search.py -f 'Firstname Lastname' -l Traceback (most recent call last): File "contact_search.py", line 55, in <module> main() File "contact_search.py", line 52, in main search_contact(options) File "contact_search.py", line 13, in search_contact for c in ebook.get_all_contacts(): AttributeError: 'NoneType' object has no attribute 'get_all_contacts'