<DKIM> Exception: Too many values to unpack

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Jan 9 11:44:17 GMT 2017

On Mon, Jan 09, 2017 at 11:06:51AM +0000, Łukasz Żarnowiecki wrote:
> Hi Nicolas,
> While I was running sync few times in a row I encounter crash:
> ERROR: Exceptions occurred during the run!
> ERROR: While attempting to sync account 'outlook'
>   too many values to unpack
> Traceback:
>   File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 278, in syncrunner
>     self.__sync()
>   File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 341, in __sync
>     remoterepos.getfolders()
>   File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 452, in getfolders
>     imapobj = self.imapserver.acquireconnection()
>   File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 571, in acquireconnection
>     imaputil.imapsplit(listres[0])[1:]

Is this reproducible?

If so, I'd add some debug print statement like in imapserver before the
hurting line:


This would help to know what Outlook provides in the response.

> offlineimap v7.0.12, imaplib2 v2.55 (bundled), Python v2.7.13

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list