bug: 'str' object is not callable

Dave Abrahams dave at boostpro.com
Wed Aug 24 16:49:23 BST 2011

on Wed Aug 24 2011, Sebastian Spaeth <Sebastian-AT-SSpaeth.de> wrote:

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

As long as it's available somewhere, it's OK with me.

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

I didn't know there was an sqlite backend.  Do I want to use it?
doesn't really say what the effects are.

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

--info (without -a) seems to make offlineimap hang for me; `q' in the
blinkenlights UI appears to try to quit but then... doesn't.  And
Control-C doesn't stop it either; I had to use kill.

Dave Abrahams
BoostPro Computing

More information about the OfflineIMAP-project mailing list