Thanks David.
But can you please test again with offlineimap.. I am seeing the problem
with both offlineimap and offlineimap3.

I have done:
  sudo apt-get purge offlineimap3
  sudo apt-get install offlineimap

And this is from my test with offlineimap:

Traceback:
  File "/usr/share/offlineimap/offlineimap/accounts.py", line 293, in
syncrunner
    self.__sync()
  File "/usr/share/offlineimap/offlineimap/accounts.py", line 372, in __sync
    remoterepos.getfolders()
  File "/usr/share/offlineimap/offlineimap/repository/IMAP.py", line 452,
in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 583, in
acquireconnection
    self.__authn_helper(imapobj)
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 447, in
__authn_helper
    if func(imapobj):
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 373, in
__authn_plain
    imapobj.authenticate('PLAIN', self.__plainhandler)
  File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 742, in
authenticate
    typ, dat = self._simple_command('AUTHENTICATE', mechanism.upper())
  File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 1748, in
_simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 1474, in
_command
    literal = literator(data, rqb)
  File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 2339, in process
    ret = self.mech(self.decode(data))
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 211, in
__plainhandler
    passwd = self.__getpassword()
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 181, in
__getpassword
    self.password = self.repos.getpassword() or \
  File "/usr/share/offlineimap/offlineimap/repository/IMAP.py", line 392,
in getpassword
    return self.localeval.eval(passwd).encode('UTF-8')
  File "/usr/share/offlineimap/offlineimap/localeval.py", line 48, in eval
    return eval(text, names)
  File "<string>", line 1, in <module>

sudip@debian:~$ offlineimap -V
offlineimap v7.3.3, imaplib2 v2.57 (system), Python v2.7.18, OpenSSL 1.1.1h
 22 Sep 2020

sudip@debian:~$ dpkg -l | grep offlineimap
ii  offlineimap                           7.3.3+dfsg1-1
all          IMAP/Maildir synchronization and reader support


-- 
Regards
Sudip


On Sun, Nov 1, 2020 at 9:10 PM David Nebauer <[email protected]> wrote:
>
> Please see attached.
>
> On Mon, 2 Nov 2020 at 06:16, Sudip Mukherjee <[email protected]>
wrote:
>>
>> Control: forwarded -1
https://github.com/OfflineIMAP/offlineimap3/issues/21
>> --
>>
>> Hi David,
>>
>> On Fri, Oct 30, 2020 at 06:50:10PM +0930, David Nebauer wrote:
>> > Package: offlineimap3
>> > Version: 0.0~git20201025.c850e74+dfsg-1
>> > Severity: important
>> > X-Debbugs-Cc: [email protected]
>> >
>> > Dear Maintainer,
>> >
>> > The following command works using 'offlineimap' from package
>> > 'offlineimap':
>> >
>> >     offlineimap -o -u quiet
>>
>> Thanks for testing. I could not reproduce the error on my setup using
>> gmail. Will it be possible to share your .offlineimaprc file after
>> removing all the sensitive data from it.
>>
>>
>> --
>> Regards
>> Sudip

Reply via email to