Package: offlineimap
Version: 7.3.3+dfsg1-1+0.0~git20210225.1e7ef9e+dfsg-3
Severity: normal

 Copy message UID -347 (1/347) local: -> kite:INBOX
 ERROR: Copying message -347 [acc: joey]
  'utf-8' codec can't decode byte 0xa0 in position 3278: invalid start byte
 ERROR: while syncing  [account joey]
  'utf-8' codec can't decode byte 0xa0 in position 3278: invalid start byte
 ERROR: ERROR in syncfolder for joey folder : Traceback (most recent call last):
  File "/usr/share/offlineimap3/offlineimap/accounts.py", line 666, in 
syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/usr/share/offlineimap3/offlineimap/folder/Base.py", line 1186, in 
syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/share/offlineimap3/offlineimap/folder/Base.py", line 1013, in 
__syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register=0)
  File "/usr/share/offlineimap3/offlineimap/folder/Base.py", line 902, in 
copymessageto
    message = self.getmessage(uid)
  File "/usr/share/offlineimap3/offlineimap/folder/Maildir.py", line 262, in 
getmessage
    retval = file.read()
  File "/usr/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 3278: 
invalid start byte

  'utf-8' codec can't decode byte 0xa0 in position 3278: invalid start byte

This seems the same as bug #981485 but I've upgraded to this version
that is supposed to fix that, and still happening.

It's not clear to me which message is causing the problem. Especially
since it seems to be trying to upload a message from inbox, but I normally
don't make changes to inbox that would need to upload a new message.

(I'm very surprised that offlineimap would be concerning itself with the
encoding of emails at all.)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages offlineimap depends on:
ii  offlineimap3  0.0~git20210105.00d395b+dfsg-3

offlineimap recommends no packages.

offlineimap suggests no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: PGP signature

Reply via email to