Hi! I appear to be hitting an error decoding one of my messages, which is causing a different error:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 478, in _download_headers_batched
s = s.decode(c if c else "ascii")
UnicodeDecodeError: 'iso2022_jp' codec can't decode bytes in position 5-6: illegal multibyte sequence
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/imapproc", line 11, in <module>
load_entry_point('mailprocessing==1.2.6', 'console_scripts', 'imapproc')()
File "/usr/lib/python3.6/site-packages/mailprocessing/cmd/imap.py", line 326, in main
processor = ImapProcessor(rcfile, log_fp, **processor_kwargs)
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 114, in __init__
self.set_folders(kwargs['folders'])
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 176, in set_folders
self._cache_headers()
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 319, in _cache_headers
self._cache_headers_file()
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 354, in _cache_headers_file
self._cache_headers_memory()
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 339, in _cache_headers_memory
folder, self.header_cache[folder]['uids'])
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 559, in _update_cache
messages = self._download_headers_batched(folder, uids_download)
File "/usr/lib/python3.6/site-packages/mailprocessing/processor/imap.py", line 482, in _download_headers_batched
self._processor.log_error(
AttributeError: 'ImapProcessor' object has no attribute '_processor'
I see that there was code to attempt to handle the decoding issue, but that is itself falling over.