pyenv install 2.7.6
pyenv local 2.7.6
pip install goobook
touch ~/.goobook_cache
cat > ~/.goobookrc <<EOF
[DEFAULT]
email: mark.mcdonnell@foobar.com
passwordeval: gpg --batch -d ~/.mutt/password.gpg
max_results: 9999
cache_filename: ~/.goobook_cache
cache_expiry_hours: 24
EOF
-rw-r--r-- 1 markmcdonnell staff 0 Sep 26 09:52 .goobook_cache
-rwxr-xr-x 1 markmcdonnell staff 138 Sep 26 09:55 .goobookrc*
To: Traceback (most recent call last):
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/bin/goobook", line 11, in <module> sys.exit(main())
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/site-packages/goobook/application.py", line 94, in main args.func(config, args)
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/site-packages/goobook/application.py", line 125, in do_query goobk = GooBook(config)
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/site-packages/goobook/goobook.py", line 59, in __init__ self.cache.load()
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/site-packages/goobook/goobook.py", line 246, in load cache = pickle.load(open(self.__config.cache_filename, 'rb'))
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/pickle.py", line 1378, in load return Unpickler(file).load()
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/pickle.py", line 858, in load dispatch[key](self)
File "/Users/markmcdonnell/.pyenv/versions/2.7.6/lib/python2.7/pickle.py", line 880, in load_eof raise EOFError
EOFError
empty ~/.goobook_cache remove it and try again
--
You received this message because you are subscribed to the Google Groups "goobook" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goobook+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No or invalid credentials, run "goobook authenticate"
password: foobar
...just in case it needed it in that format?
But that didn't work either
oauth_db_filename: ~/.goobook_auth.json
which points to a file that `goobook authenticate` would generate for me
Thanks for your help Christer :-)