[spambayes-dev] A new and altogether different bsddb breakage

Tim Peters tim.one at comcast.net
Wed Dec 17 01:15:50 EST 2003


[hooft at o2w.nl]
> Imagine the people like me that are using Python2.2 on the systems of
> their ISPs:
> Python 2.2.2 (#1, Oct 26 2002, 20:34:17)
> [GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import shelve
> >>> d=shelve.open('.hammiedb')
> >>> [k for k in d]
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/local/lib/python2.2/shelve.py", line 70, in __getitem__
>     f = StringIO(self.dict[key])
> TypeError: key type must be string
> >>> 

OK, I did.  Now what <wink>?



More information about the spambayes-dev mailing list