Package: offlineimap3
Version: 0.0~git20240826.db34745+dfsg-2
Severity: serious
Tags: upstream

Hi!

I've been using the old python2 version of offlineimap for years, and
now I've moved forwards to the latest version. It's mostly also
working fine, except...

Occasionally it will refuse to sync messages with a backtrace:

UID 710161 has defects: [StartBoundaryNotFoundDefect(), 
MultipartInvariantViolationDefect()]
ERROR: UID 710161 (<[email protected]>) has defects 
preventing it from being processed!
  UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 
2934: ordinal not in range(128)
ERROR: Exceptions occurred during the run!
ERROR: offlineimap.error.OfflineImapError: UID 710161 
(<[email protected]>) has defects preventing it from 
being
+processed!
  UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 
2934: ordinal not in range(128)
 
 
Traceback:
  File "/usr/share/offlineimap3/offlineimap/folder/Base.py", line 822, in 
copymessageto
    message = self.getmessage(uid)
  File "/usr/share/offlineimap3/offlineimap/folder/IMAP.py", line 343, in 
getmessage
    data = self._fetch_from_imap(str(uid), self.retrycount)
  File "/usr/share/offlineimap3/offlineimap/folder/IMAP.py", line 933, in 
_fetch_from_imap
    raise OfflineImapError(
    ...<2 lines>...
            OfflineImapError.ERROR.MESSAGE)

While the mail *might* be technically malformed by Python standards
(but I don't see exactly how, tbh) I don't *care* - I just want it
synced...


-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.63+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages offlineimap3 depends on:
ii  ca-certificates   20250419
ii  python3           3.13.5-1
ii  python3-distro    1.9.0-1
ii  python3-imaplib2  3.6-2
ii  python3-keyring   25.6.0-2
ii  python3-rfc6555   0.0~git20190913.1a181b4-3
ii  python3-urllib3   2.3.0-3+deb13u1

offlineimap3 recommends no packages.

Versions of packages offlineimap3 suggests:
ii  python3-gssapi  1.9.0-1+b2

-- debconf-show failed

Reply via email to