bug: 'str' object is not callable

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Aug 24 09:11:44 BST 2011


On Tue, 23 Aug 2011 12:50:33 -0800, Dave Abrahams <dave at boostpro.com> wrote:
> Please let me know if you need any other info.
... 
> TypeError: 'str' object is not callable

Hi there, 2 issues at hand for which I sent patches (but which haven't
been checked in as Nicolas is busy looking for a place to live at the
moment :-)) I wonder if I should push a preliminary integrated branch
that contains all crucial bug fixes....

[PATCH] Fix string formatting
^^^
This patch will fix the immediate error "TypeError: 'str' object is not
callable", which occured when formatting an Exception string. So this
patch will let you see the "real" error.

[PATCH] Don't call set().sort()
^^^
If you use the sqlite backend, you were experiencing this Exception
which is a fallout of my patch to make flags a set() (and sets don't
have the sort() function but need to use the built in sorted()).

Sorry for that.

I have pushed a branch 'next' to my repo at
git://github.com/spaetz/offlineimap.git which contains all useful fixes
that I have currently ready. You can get it in your existing offlineimap
repository by doing (untested):

git remote add spaetz git://github.com/spaetz/offlineimap.git
git checkout -b spaetz-next spaetz/next

P.S. This branch also includes the new server "diagnostics" that you can
get with the --info switch. Feedback welcome.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110824/bbdb95af/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list