On Tue, 2 May 2017 06:05:27 +0200
Nicolas Sebrecht <[email protected]> wrote:

> On Mon, May 01, 2017 at 11:29:28PM +0200, Andreas Fink wrote:
> 
> > Hm, my python version was not updated, and I'm pretty sure that I have been 
> > using
> > offlineimap-7.0.14 with python3, since this is my default python version 
> > (but python2.7
> > and python 3.4 are installed on this system).  
> 
> I'm pretty sure you were using Py2 since Py3 never really used to work.
> 
> >                                               However changing offlineimap 
> > to python2.7 I
> > get other strange errors which were not there with 7.0.14.  
> 
> Does this implies that it works with Py2 and v7.0.14?
> 
> > OfflineIMAP 7.1.0
> >   Licensed under the GNU GPL v2 or any later version (with an OpenSSL 
> > exception)                     
> > *** Processing account gmail    
> > Establishing connection to imap.googlemail.com:993 (gmailremote)            
> >                       
> > XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['Client 
> > aborted AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE 
> > XOAUTH2
> > 
> > PLAIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials 
> > (Failure)
> > LOGIN authentication failed: [AUTHENTICATIONFAILED] Invalid credentials 
> > (Failure)
> > ERROR: All authentication types failed:
> >         XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted 
> > AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE XOAUTH2
> > 
> >         PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> >         LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> > *** Finished account 'gmail' in 0:01
> > ERROR: Exceptions occurred during the run!
> > ERROR: All authentication types failed:
> >         XOAUTH2: AUTHENTICATE command error: BAD ['Client aborted 
> > AUTHENTICATE command. r7mb353432922edb']. Data: LPNC2 AUTHENTICATE XOAUTH2
> > 
> >         PLAIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> >         LOGIN: [AUTHENTICATIONFAILED] Invalid credentials (Failure)  
> 
> Could you share your configuration file, please (remove private data)?
> 

No I get the exact same exception message now with 7.0.14 and python2 as with 
7.1.0. My
offlineimaprc is attached. My setup is local dovecot imap syncing with remote 
gmail imap.
get_username and get_password get the credentials from gnome-keyring...
Thanks
Andreas

Attachment: .offlineimaprc
Description: Binary data

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to