"binascii.Error: Incorrect padding"

ael law_ence.dev at ntlworld.com
Sun Feb 7 18:58:39 GMT 2016


On Sun, Feb 07, 2016 at 06:39:33PM +0100, Nicolas Sebrecht wrote:
> On Sun, Feb 07, 2016 at 04:42:27PM +0000, ael wrote:
> 
> > $ offlineimap --info -a bt
> > OfflineIMAP 6.6.1
> 
> <...>
> 
> >     ret = self.mech(self.decode(data))
> >   File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 2316, in decode
> >     return binascii.a2b_base64(inp)
> > binascii.Error: Incorrect padding
> > 
> > ----------------------------------------------------------------------------
> > 
> 
> Never seen this error before. It looks like it is trying to send data
> that imaplib2 doesn't support.
> 
> Since this happen at authentication time, I'd first check the username
> and password. Perhaps there's a non-supported (non-printable) character
> somewhere.

Thanks for the reply. As I say, it was working with the same username
and password and, I think, configuration file.

But I will check. This is on debian testing. I will probably try a
local installation from your sources when I have time.

ael





More information about the OfflineIMAP-project mailing list