Your message dated Mon, 29 Mar 2021 17:10:24 +0100
with message-id 
<cadvatmmcdgpy_2dtucgrcyryf0rqfpqbzmtngxfu1nd1f8l...@mail.gmail.com>
and subject line Re: utf-8 decoding error
has caused the Debian Bug report #985663,
regarding utf-8 decoding error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
985663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On Mon, Mar 29, 2021 at 4:47 PM Joey Hess <[email protected]> wrote:
>
> Sudip Mukherjee wrote:
> > There seems to be a version discrepancy.
> >
> > offlineimap3 is still old and thats the reason you still have that old 
> > stack trace.
> > I think, for now just doing "apt-get update && apt-get install 
> > offlineimap3" should fix your issue.
>
> Ah, I didn't remember there was a transitional package. Upgrading did
> fix it.

Thanks for confirming. Closing this bug now as there is nothing to fix.


--
Regards
Sudip

--- End Message ---

Reply via email to