Your message dated Wed, 17 Feb 2021 15:04:53 +0100
with message-id <YC0ihcaA5m2H6f1n@bartik>
and subject line Closing #981960 (was: Bug#981949: offlineimap3: broken when 
handling passwd input)
has caused the Debian Bug report #981960,
regarding offlineimap3: doesn't like passwords with dots
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
981960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981960
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: offlineimap3
Version: 0.0~git20210105.00d395b+dfsg-2
Severity: important

Dear offlineimap3 maintainer,

unintentionally I suppose, offlineimap3 doesn't like passwords that
include dots. This is a log of syncing attempt:

2021-02-05 12:02:10 INFO: OfflineImap 7.3.0 starting...
  Python: 3.9.1 Platform: linux
  Args: /usr/bin/offlineimap -a Example -d ALL -l /tmp/offlineimap-dot.log
2021-02-05 12:02:10 INFO: OfflineIMAP 7.3.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
2021-02-05 12:02:10 INFO: imaplib2 v3.05, Python v3.9.1+, OpenSSL 1.1.1i  8 Dec 
2020
2021-02-05 12:02:10 DEBUG: Now debugging for imap: IMAP protocol debugging
2021-02-05 12:02:10 DEBUG: Now debugging for maildir: Maildir repository 
debugging
2021-02-05 12:02:10 DEBUG: Now debugging for thread: Threading debugging
2021-02-05 12:02:10 DEBUG: Now debugging for : Other offlineimap related sync 
messages
2021-02-05 12:02:10 DEBUG: [thread]: Register new thread 'Account sync Example' 
(account 'Example')
2021-02-05 12:02:10 DEBUG: [imap]: Using authentication mechanisms ['GSSAPI', 
'XOAUTH2', 'CRAM-MD5', 'PLAIN', 'LOGIN']
2021-02-05 12:02:10 DEBUG: [maildir]: MaildirRepository initialized, sep is '.'
2021-02-05 12:02:10 INFO: *** Processing account Example
2021-02-05 12:02:10 INFO: Establishing connection to imap.example.net:993 
(LPB-Remote)
2021-02-05 12:02:10 DEBUG: [imap]: LPB-Remote: level 'tls_compat', version 
'None'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.32 Account sync Example imaplib2 
version 3.05
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.32 Account sync Example imaplib2 
debug level 5, buffer level 3
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.55 Account sync Example connected to 
imap.example.net on port 993
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.55 imap.example.net writer starting
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.56 imap.example.net reader starting 
using poll
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.56 Account sync Example 
_request_push(continuation, welcome, {}) = b'LPPG0'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.56 Account sync Example 
welcome:b'LPPG0'.ready.wait
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.60 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.60 imap.example.net reader rcvd 18
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.60 imap.example.net reader < b'* OK 
IMAP4 ready\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler starting
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler 
_put_response(b'* OK IMAP4 ready')
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler 
untagged_responses[OK] 0 += ["b'IMAP4 ready'"]
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler 
_request_pop(continuation, (False, b'* OK IMAP4 ready')) [0] = b'LPPG0'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler 
welcome:b'LPPG0'.ready.set
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example 
_get_untagged_response(OK) => [b'IMAP4 ready']
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example state => 
NONAUTH
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 imap.example.net handler 
state_change_free.set
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example [async] 
CAPABILITY ()
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example 
state_change_pending.acquire
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example 
state_change_pending.release
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example 
_request_push(b'LPPG1', CAPABILITY, {}) = b'LPPG1'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.66 Account sync Example data=b'LPPG1 
CAPABILITY'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.67 Account sync Example 
CAPABILITY:b'LPPG1'.ready.wait
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.67 imap.example.net writer > b'LPPG1 
CAPABILITY\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.71 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net reader rcvd 63
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net reader < b'* 
CAPABILITY IMAP4rev1 UIDPLUS AUTH=PLAIN\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net reader < b'LPPG1 
OK completed\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
_put_response(b'* CAPABILITY IMAP4rev1 UIDPLUS AUTH=PLAIN')
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
untagged_responses[CAPABILITY] 0 += ["b'IMAP4rev1 UIDPLUS AUTH=PLAIN'"]
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
_put_response(b'LPPG1 OK completed')
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
_request_pop(b'LPPG1', ('OK', [b'completed'])) [0] = b'LPPG1'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
CAPABILITY:b'LPPG1'.ready.set
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net handler 
state_change_free.set
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
_get_untagged_response(CAPABILITY) => [b'IMAP4rev1 UIDPLUS AUTH=PLAIN']
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
_untagged_response(OK, ?, CAPABILITY) => [b'IMAP4rev1 UIDPLUS AUTH=PLAIN']
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example CAPABILITY: 
('IMAP4REV1', 'UIDPLUS', 'AUTH=PLAIN')
2021-02-05 12:02:10 DEBUG: [imap]: Attempting PLAIN authentication
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example [sync] 
AUTHENTICATE ('PLAIN',)
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
state_change_pending.acquire
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
_request_push(b'LPPG2', AUTHENTICATE, {}) = b'LPPG2'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example data=b'LPPG2 
AUTHENTICATE PLAIN'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
_request_push(continuation, b'AUTHENTICATE', {}) = b'LPPG3'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 Account sync Example 
b'AUTHENTICATE':b'LPPG3'.ready.wait
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.72 imap.example.net writer > b'LPPG2 
AUTHENTICATE PLAIN\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net reader rcvd 4
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net reader < b'+ 
\r\n'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net handler 
_put_response(b'+ ')
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net handler 
_request_pop(continuation, (True, b'')) [1] = b'LPPG3'
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 imap.example.net handler 
b'AUTHENTICATE':b'LPPG3'.ready.set
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.78 Account sync Example continuation 
=> True, b''
2021-02-05 12:02:10 DEBUG: [imap]:   02:10.79 Account sync Example 
state_change_pending.release
2021-02-05 12:02:10 ERROR: ERROR: While attempting to sync account 'Example'
  embedded null character
2021-02-05 12:02:10 ERROR: ['  File 
"/usr/share/offlineimap3/offlineimap/accounts.py", line 298, in syncrunner\n    
self.__sync()\n', '  File "/usr/share/offlineimap3/offlineimap/accounts.py", 
line 374, in __sync\n    remoterepos.getfolders()\n', '  File 
"/usr/share/offlineimap3/offlineimap/repository/IMAP.py", line 648, in 
getfolders\n    imapobj = self.imapserver.acquireconnection()\n', '  File 
"/usr/share/offlineimap3/offlineimap/imapserver.py", line 592, in 
acquireconnection\n    self.__authn_helper(imapobj)\n', '  File 
"/usr/share/offlineimap3/offlineimap/imapserver.py", line 449, in 
__authn_helper\n    if func(imapobj):\n', '  File 
"/usr/share/offlineimap3/offlineimap/imapserver.py", line 375, in 
__authn_plain\n    imapobj.authenticate(\'PLAIN\', self.__plainhandler)\n', '  
File "/usr/lib/python3/dist-packages/imaplib2.py", line 691, in authenticate\n  
  typ, dat = self._simple_command(\'AUTHENTICATE\', mechanism.upper())\n', '  
File "/usr/lib/python3/dist-packages/imaplib2.py", line 1684, in 
_simple_command\n    return self._command_complete(self._command(name, *args), 
kw)\n', '  File "/usr/lib/python3/dist-packages/imaplib2.py", line 1404, in 
_command\n    literal = literator(data, rqb)\n', '  File 
"/usr/lib/python3/dist-packages/imaplib2.py", line 2247, in process\n    ret = 
self.mech(self.decode(data))\n', '  File 
"/usr/share/offlineimap3/offlineimap/imapserver.py", line 219, in 
__plainhandler\n    self.ui.debug(\'imap\', \'__plainhandler: returning %s\' % 
logsafe_retval)\n', '  File "/usr/share/offlineimap3/offlineimap/ui/UIBase.py", 
line 223, in debug\n    self.logger.debug("[%s]: %s" % (debugtype, msg))\n', '  
File "/usr/lib/python3.9/logging/__init__.py", line 1430, in debug\n    
self._log(DEBUG, msg, args, **kwargs)\n', '  File 
"/usr/lib/python3.9/logging/__init__.py", line 1585, in _log\n    
self.handle(record)\n', '  File "/usr/lib/python3.9/logging/__init__.py", line 
1595, in handle\n    self.callHandlers(record)\n', '  File 
"/usr/lib/python3.9/logging/__init__.py", line 1657, in callHandlers\n    
hdlr.handle(record)\n', '  File "/usr/lib/python3.9/logging/__init__.py", line 
948, in handle\n    self.emit(record)\n', '  File 
"/usr/share/offlineimap3/offlineimap/ui/Curses.py", line 334, in emit\n    
self.ui.logwin.addstr(log_str, color)\n']
2021-02-05 12:02:10 INFO: *** Finished account 'Example' in 0:00
2021-02-05 12:02:10 INFO: Next sync in 15:00
2021-02-05 12:02:25 WARNING: Preparing to shutdown after sync (this may take 
some time), press CTRL-C three times to shutdown immediately
2021-02-05 12:02:25 DEBUG: [thread]: ** Thread List:
...


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages offlineimap3 depends on:
ii  python3           3.9.1-1
ii  python3-distro    1.5.0-1
ii  python3-imaplib2  2.57-5.2

offlineimap3 recommends no packages.

offlineimap3 suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
El 17/02/21 a las 09:33, Sudip Mukherjee escribió:
> On Wed, Feb 17, 2021 at 9:21 AM Santiago Ruano Rincón
> <[email protected]> wrote:
> >
> > Control: retitle 981949 offlineimap3: broken passwd input via Curses and 
> > Blinkenlights
> > Hi Sudip,
> >
> > El 16/02/21 a las 23:33, Sudip Mukherjee escribió:
> > > On Mon, Feb 8, 2021 at 3:27 PM Sudip Mukherjee
> > > <[email protected]> wrote:
> > > >
> > > > On Mon, Feb 8, 2021 at 3:12 PM Santiago Ruano Rincón
> > > > <[email protected]> wrote:
> > > > >
> > > > > El 06/02/21 a las 16:46, Sudip Mukherjee escribió:
> > > > > > On Sat, Feb 6, 2021 at 4:11 PM Sudip Mukherjee
> > > > > > <[email protected]> wrote:
> > > > > > >
> > >
> > > <snip>
> > >
> > > > > > From your trace it seems you are using Curses and I do see problems 
> > > > > > if
> > > > > > I mention 'blinkenlights' while running offlineimap.
> > > > > > Your offlineimaprc will help, but also can you please comment the 
> > > > > > "ui
> > > > > > = " in your offlineimaprc and check if you still get both these
> > > > > > issues.
> > > > >
> > > > > Indeed, I can input my password if I comment out ui = Blinkenlights.
> > > > > offlineimaprc attached. Thanks!
> > >
> > > Can you please try the attached patch and confirm if it fixes both
> > > your issues with blinkenlights..
> >
> > Thanks, it fixes #981949! #981960 is still present, but the dots in the
> > password are not in fault. I'll try to send you a new log.
> 
> Hmmm... I used dots in my password to test.
> 
> Thanks, logs will be a help and meanwhile I will send the patch
> upstream to give them an idea of what is wrong and so that they can
> fix it properly.

Sorry, my tests and my messages were not clear. I cannot (longer)
reproduce the original #981960. I had tried with an additional account
to confirm it, but it seems I did something wrong.

Now, with your patch, offlineimap can authenticate against the server
of the concerned account. I found a different issue, though, and I'll
file a bug for it.

So I'm just closing the bug. Sorry for the noise.

 -- Santiago

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to