Your message dated Mon, 22 Feb 2021 22:03:58 +0000
with message-id <e1lejj8-0001py...@fasolo.debian.org>
and subject line Bug#981949: fixed in offlineimap3 
0.0~git20210218.76c7a72+dfsg-1
has caused the Debian Bug report #981949,
regarding offlineimap3: broken passwd input via Curses and Blinkenlights
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 ow...@bugs.debian.org
immediately.)


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

Dear offlineimap3 maintainer,

After the recent upgrade, I cannot input my password to sync mail.
offlineimap3 fails with:

    sequence item 2: expected str instance, bytes found

This is a full log using a dummy account I created just to reproduce the
bug:


2021-02-05 11:14:15 INFO: OfflineImap 7.3.0 starting...
  Python: 3.9.1 Platform: linux
  Args: /usr/bin/offlineimap -a Example -d ALL -l /tmp/offlineimap.log
2021-02-05 11:14:15 INFO: OfflineIMAP 7.3.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
2021-02-05 11:14:15 INFO: imaplib2 v3.05, Python v3.9.1+, OpenSSL 1.1.1i  8 Dec 
2020
2021-02-05 11:14:15 DEBUG: Now debugging for imap: IMAP protocol debugging
2021-02-05 11:14:15 DEBUG: Now debugging for maildir: Maildir repository 
debugging
2021-02-05 11:14:15 DEBUG: Now debugging for thread: Threading debugging
2021-02-05 11:14:15 DEBUG: Now debugging for : Other offlineimap related sync 
messages
2021-02-05 11:14:15 DEBUG: [thread]: Register new thread 'Account sync Example' 
(account 'Example')
2021-02-05 11:14:15 DEBUG: [imap]: Using authentication mechanisms ['GSSAPI', 
'XOAUTH2', 'CRAM-MD5', 'PLAIN', 'LOGIN']
2021-02-05 11:14:15 DEBUG: [maildir]: MaildirRepository initialized, sep is '.'
2021-02-05 11:14:15 INFO: *** Processing account Example
2021-02-05 11:14:15 INFO: Establishing connection to imap.example.net:993 
(LPB-Remote)
2021-02-05 11:14:15 DEBUG: [imap]: LPB-Remote: level 'tls_compat', version 
'None'
2021-02-05 11:14:15 DEBUG: [imap]:   14:15.82 Account sync Example imaplib2 
version 3.05
2021-02-05 11:14:15 DEBUG: [imap]:   14:15.82 Account sync Example imaplib2 
debug level 5, buffer level 3
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.05 Account sync Example connected to 
imap.example.net on port 993
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.05 imap.example.net writer starting
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.05 imap.example.net reader starting 
using poll
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.06 Account sync Example 
_request_push(continuation, welcome, {}) = b'CJOD0'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.06 Account sync Example 
welcome:b'CJOD0'.ready.wait
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.09 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.10 imap.example.net reader rcvd 18
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.10 imap.example.net reader < b'* OK 
IMAP4 ready\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.15 imap.example.net handler starting
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net handler 
_put_response(b'* OK IMAP4 ready')
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net handler 
untagged_responses[OK] 0 += ["b'IMAP4 ready'"]
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net handler 
_request_pop(continuation, (False, b'* OK IMAP4 ready')) [0] = b'CJOD0'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net handler 
welcome:b'CJOD0'.ready.set
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example 
_get_untagged_response(OK) => [b'IMAP4 ready']
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example state => 
NONAUTH
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example [async] 
CAPABILITY ()
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example 
state_change_pending.acquire
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example 
state_change_pending.release
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net handler 
state_change_free.set
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example 
_request_push(b'CJOD1', CAPABILITY, {}) = b'CJOD1'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example data=b'CJOD1 
CAPABILITY'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 Account sync Example 
CAPABILITY:b'CJOD1'.ready.wait
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.16 imap.example.net writer > b'CJOD1 
CAPABILITY\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.21 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.21 imap.example.net reader rcvd 63
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.21 imap.example.net reader < b'* 
CAPABILITY IMAP4rev1 UIDPLUS AUTH=PLAIN\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.21 imap.example.net reader < b'CJOD1 
OK completed\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
_put_response(b'* CAPABILITY IMAP4rev1 UIDPLUS AUTH=PLAIN')
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
untagged_responses[CAPABILITY] 0 += ["b'IMAP4rev1 UIDPLUS AUTH=PLAIN'"]
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
_put_response(b'CJOD1 OK completed')
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
_request_pop(b'CJOD1', ('OK', [b'completed'])) [0] = b'CJOD1'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
CAPABILITY:b'CJOD1'.ready.set
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
_get_untagged_response(CAPABILITY) => [b'IMAP4rev1 UIDPLUS AUTH=PLAIN']
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net handler 
state_change_free.set
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
_untagged_response(OK, ?, CAPABILITY) => [b'IMAP4rev1 UIDPLUS AUTH=PLAIN']
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example CAPABILITY: 
('IMAP4REV1', 'UIDPLUS', 'AUTH=PLAIN')
2021-02-05 11:14:16 DEBUG: [imap]: Attempting PLAIN authentication
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example [sync] 
AUTHENTICATE ('PLAIN',)
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
state_change_pending.acquire
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
_request_push(b'CJOD2', AUTHENTICATE, {}) = b'CJOD2'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example data=b'CJOD2 
AUTHENTICATE PLAIN'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
_request_push(continuation, b'AUTHENTICATE', {}) = b'CJOD3'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 Account sync Example 
b'AUTHENTICATE':b'CJOD3'.ready.wait
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.22 imap.example.net writer > b'CJOD2 
AUTHENTICATE PLAIN\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.27 imap.example.net reader poll => 
[(5, 1)]
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.27 imap.example.net reader rcvd 4
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.28 imap.example.net reader < b'+ 
\r\n'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.28 imap.example.net handler 
_put_response(b'+ ')
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.28 imap.example.net handler 
_request_pop(continuation, (True, b'')) [1] = b'CJOD3'
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.28 imap.example.net handler 
b'AUTHENTICATE':b'CJOD3'.ready.set
2021-02-05 11:14:16 DEBUG: [imap]:   14:16.28 Account sync Example continuation 
=> True, b''
2021-02-05 11:14:16 WARNING:  *** Input Required
2021-02-05 11:14:16 WARNING:  *** Please enter password for user 'exampleuser': 
2021-02-05 11:14:20 DEBUG: [imap]:   14:20.76 Account sync Example 
state_change_pending.release
2021-02-05 11:14:20 ERROR: ERROR: While attempting to sync account 'Example'
  sequence item 2: expected str instance, bytes found
2021-02-05 11:14:20 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 217, in 
__plainhandler\n    retval = NULL.join((authz, authc, passwd))\n']
2021-02-05 11:14:20 INFO: *** Finished account 'Example' in 0:04
2021-02-05 11:14:20 INFO: Next sync in 15:00
...



-- 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 ---
Source: offlineimap3
Source-Version: 0.0~git20210218.76c7a72+dfsg-1
Done: Sudip Mukherjee <sudipm.mukher...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
offlineimap3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 981...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukher...@gmail.com> (supplier of updated offlineimap3 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 22 Feb 2021 21:45:56 +0000
Source: offlineimap3
Architecture: source
Version: 0.0~git20210218.76c7a72+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukher...@gmail.com>
Closes: 981949 982970 983249
Changes:
 offlineimap3 (0.0~git20210218.76c7a72+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 0.0~git20210218.76c7a72+dfsg
     - Remove upstream applied patches.
     - Update fixes broken folderincludes. (Closes: #982970)
     - Update fixes remoteusereval config. (Closes: #983249)
   * Fix reading password from Curses Blinkenlights. (Closes: #981949)
   * Fix gmail fetch with synclabels enabled.
Checksums-Sha1:
 4725cc3b1336f30ead3633aa6000e329f519e44a 2345 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.dsc
 635a0652db9cb510d1e3b0fa59ffbe6bc99eb96e 173748 
offlineimap3_0.0~git20210218.76c7a72+dfsg.orig.tar.xz
 81e4b5670617bec65025f360b6a9e44e392cc010 7296 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.debian.tar.xz
 7a2257940b344e1a167ca2f3b492011af868d488 7373 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 72aa1c049cb88d0c9fa1d7b481444772255908163d3d826d7003f0f1f6a20e8b 2345 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.dsc
 bf4c56925056b48223927d2dbfb4e2c008a9ca2f3b6820415d6cf88bb1cca6ca 173748 
offlineimap3_0.0~git20210218.76c7a72+dfsg.orig.tar.xz
 f3fe42db93b7659e5cf595156b1f72f4770bb517ceb8b87118393201dde242e0 7296 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.debian.tar.xz
 7e7ad79f908d9c77425820dea51baebc0cd0e558c9e42e451ad86d94a98d9fe7 7373 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1_amd64.buildinfo
Files:
 98b464ca731aef4c655ed811eb403b98 2345 mail optional 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.dsc
 7f1c74b3a8be4fd1a8cd6efc5a8879be 173748 mail optional 
offlineimap3_0.0~git20210218.76c7a72+dfsg.orig.tar.xz
 8bc4a0464d76af222848a8ef420f2c90 7296 mail optional 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1.debian.tar.xz
 c483ba560dac3268f1fe7681db84ee99 7373 mail optional 
offlineimap3_0.0~git20210218.76c7a72+dfsg-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmA0Js8ACgkQR5mjUUbR
KzUuEw/+NsvRcEUcXfjOR06AnxzX+ULaUsRvQ268yphJ2h1PxzxGOYSZY3sOEGWO
geptzPfZBHaWK48a0DB/gOl50v5odrcxTRj74wH4H4fAv3hW5iwNtRZPN2vxeVeH
NKORoiPylEaJv0jYIWiK/3aESd/AdESRDPG0/Ljbu4IAh7A+9LGYUSqbUdAUPrtK
C0/01xFR58xz6ld7K6Ncbr5AJha4KtogyNsJPQ12yWJ1vUuhO8y+HnM7sRG5c5bc
iE0JLPYkeZHdXTtt6R4nMX7McWlNyHhVFMF/CeH/6dIdjUVOEQriIVETPmFPc+3d
f+Fmr+dkTH+K9uMz+kHwnrYXb5pK0PVkA6WhOvjTI3fkVZEigbTXTWnJKOFgCrjC
iamc9b1ovvLXCP2e3/K0XzT2qO4UbvftLiN8aIzfVxEQKSj+fJ3Jg0xY2jdCoAS6
BdvUpUsubRra9tny86fDlaLQXvoBzK8lC5bpkgLYciC+N4uR38kLG35aXDZO2sCl
OOHZODhzEU2gJuusxa8Cgs2xn9jGi1GNDwcShvt9lG6bLSI3TiLSjmYzF2s0KQmZ
8c29Hv5oVdQXCXvfmo0EVlu7PA2b8Vexp/D14lwGFGA3j/JFo9YyhqFwbE+N6gZj
qcNEiAa4TxlSF4BPOfOMVDuLhadCNOabk7MlAjHjJqthhHVj7XU=
=L3jc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to