Issue 18 in goobook: AttributeError: 'tuple' object has no attribute 'get'

4 views
Skip to first unread message

goo...@googlecode.com

unread,
Aug 2, 2010, 5:52:43 AM8/2/10
to goobook...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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.

goo...@googlecode.com

unread,
Aug 2, 2010, 9:26:59 AM8/2/10
to goobook...@googlegroups.com

Comment #1 on issue 18 by h...@furuvik.net: AttributeError: 'tuple' object

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.

goo...@googlecode.com

unread,
Sep 1, 2010, 6:35:15 PM9/1/10
to goobook...@googlegroups.com

Comment #2 on issue 18 by aaron.toponce: AttributeError: 'tuple' object has

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).

goo...@googlecode.com

unread,
Sep 2, 2010, 9:26:20 AM9/2/10
to goobook...@googlegroups.com
Updates:
Status: WontFix

Comment #3 on issue 18 by h...@furuvik.net: AttributeError: 'tuple' object

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages