Possible bug in offlineimap: zero length field name in format

Nik Reiman nik.reiman at gmail.com
Mon Jun 18 13:29:15 BST 2012


Yeah, I'm on OSX, which always seems a bit behind with these types of
things. Anyways, I installed python 2.7 via homebrew and it works fine.
Sorry to bother the list with this!

-Nik

On 18 Jun 2012, Eygene Ryabinkin wrote:
> Mon, Jun 18, 2012 at 01:27:51PM +0200, Nik Reiman wrote:
> > ERROR: Syncing folder INBOX [acc: Gmail]
> >   zero length field name in format
> > ERROR: ERROR in syncfolder for Gmail folder INBOX: Traceback (most
> >   recent call last):
> >   File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/accounts.py", line 438, in syncfolder remotefolder.syncmessagesto(localfolder, statusfolder)
> >   File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/folder/Base.py", line 526, in syncmessagesto action(dstfolder, statusfolder)
> >   File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/folder/Base.py", line 426, in syncmessagesto_delete self.ui.deletingmessages(deletelist, [dstfolder])
> >   File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/ui/UIBase.py", line 351, in deletingmessages offlineimap.imaputil.uid_sequence(uidlist), ds))
> > ValueError: zero length field name in format
> > 
> >   zero length field name in format
> > 
> > 
> > I have checked my gmail account and don't see any strangely formatted
> > messages. What could be the problem?
> 
> Let me guess: you're using Python 2.6, aren't you?  In this case, the
> patch at
>   http://codelabs.ru/patches/offlineimap/6.5.4-use-interpolation-instead-string.format.diff
> I am running it for a couple of weeks and it completely eliminates
> these messages.
> 
> Please, give it a try and report the outcome.
> 
> Thanks.
> -- 
> Eygene Ryabinkin                                        ,,,^..^,,,
> [ Life's unfair - but root password helps!           | codelabs.ru ]
> [ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]






More information about the OfflineIMAP-project mailing list