A recent rebuild of offlineimap-7.0.14 caused python_single_target_python3_4 to be set instead of python_single_target_python2_7. As a result, offlineimap stopped working by throwing a TypeError when trying to convert binary data to a string. The same is true for offlineimap-7.1.0. Switching back to python_single_target_python2_7 fixed the problem. Please also note that offlineimap says on its github page [1] in the Requirements section that experimental Python 3.4+ support has stalled, and there is a list of issues [2]. Hence, I suggest to use Python 2.7 by default for all versions of offlineimap again. [1] https://github.com/OfflineIMAP/offlineimap#requirements--dependencies [2] https://github.com/OfflineIMAP/offlineimap/issues?q=is%3Aissue+is%3Aopen+label%3APy3
confirm that, got error message like: IMAP4 protocol error: program error: <class 'TypeError'> - can't use a bytes pattern on a string-like object
I can confirm the error and the suggested solution by the OP.
confirming as well, going to remove py3 as supported by offlineimap