oauth errors with TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
offlineimap3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
when using offlineimap(3) to sync (in my case gmail) with oauth, it errors with the following:
Traceback (most recent call last):
File "/usr/share/
Thread.
File "/usr/lib/
self.
File "/usr/share/
self.
File "/usr/share/
return repo(name, account)
File "/usr/share/
IMAPReposit
File "/usr/share/
self.imapserver = imapserver.
File "/usr/share/
self.
File "/usr/share/
refresh_token = refresh_
TypeError: a bytes-like object is required, not 'str'
It was also reported upstream and fixed there recently (August 3rd): https:/
Looking at the package version number ( 0.0~git20210225
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: offlineimap3 0.0~git20210225
ProcVersionSign
Uname: Linux 5.13.0-19-generic x86_64
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckR
Date: Sat Oct 16 10:07:41 2021
InstallationDate: Installed on 2016-08-25 (1877 days ago)
InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitec
SourcePackage: offlineimap3
UpgradeStatus: Upgraded to impish on 2021-10-16 (0 days ago)
This bug was fixed in the package offlineimap3 - 0.0~git20211018 .e64c254+ dfsg-1
--------------- 8.e64c254+ dfsg-1) unstable; urgency=medium
offlineimap3 (0.0~git2021101
* New upstream version 0.0~git20211018 .e64c254+ dfsg
- Fixes oauth errors with TypeError. (LP: #1947441)
- Fixes cert_fingerprint with self-signed certificate. (Closes: #995403)
* Add an autopkgtest to test with self signed certificates.
-- Sudip Mukherjee <email address hidden> Mon, 18 Oct 2021 19:22:08 +0100