New issue 18 by aaron.toponce: AttributeError: 'tuple' object has no
attribute 'get'
http://code.google.com/p/goobook/issues/detail?id=18
What steps will reproduce the problem?
1. easy_install -U goobook
2. goobook config-template > ~/.goobookrc
3. config .goobookrc as appropriate
4. goobook query foo.bar
Traceback (most recent call last):
File "/usr/bin/goobook", line 9, in <module>
load_entry_point('goobook==1.3', 'console_scripts', 'goobook')()
File "/usr/lib/python2.5/site-packages/goobook-1.3-py2.5.egg/goobook/application.py",
line 87, in main
args.func(config, args)
File "/usr/lib/python2.5/site-packages/goobook-1.3-py2.5.egg/goobook/application.py",
line 114, in do_query
goobk = GooBook(config)
File "/usr/lib/python2.5/site-packages/goobook-1.3-py2.5.egg/goobook/goobook.py",
line 57, in __init__
self.cache.load()
File "/usr/lib/python2.5/site-packages/goobook-1.3-py2.5.egg/goobook/goobook.py",
line 174, in load
if cache.get('goobook_cache') != CACHE_FORMAT_VERSION:
AttributeError: 'tuple' object has no attribute 'get'
Running Debian GNU/Linux Stable 5.0.5 and Python 2.5.2 that ships with the
distribution.
What version of goobook are you upgrading from?
Try to remove the old cache file first, I think that the problem is in the
detection of old cache formats.
Heh. Forgot about this issue. Cleaning out the old cache, and starting anew
worked fine. Installing goobook on another machine, and testing with Mutt
works fine. I'll close the ticket (if I can).
Comment #3 on issue 18 by h...@furuvik.net: AttributeError: 'tuple' object
has no attribute 'get'
http://code.google.com/p/goobook/issues/detail?id=18
(No comment was entered for this change.)