Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfa in position 1: invalid start byte #292

Closed
Mariusio opened this issue Sep 13, 2020 · 1 comment
Labels

Comments

@Mariusio
Copy link

Hi,
first of all thanks for this amazing tool. I was able to restore tens of gigs of mbox emails to Gmail without problems. However for some of my mbox files I get the following error message, which seems to be related to non-unicode characters?

I think this issue is related to #125 however --action split doesn't solve it and it seems that "Import mailbox to Gmail" is not available anymore. Would be grateful for any help!

Error log #1:

Restoring from 25.56mb file /Users/Marius/***/***/Junk.mbox...
Traceback (most recent call last):
  File "gyb.py", line 2206, in <module>
  File "gyb.py", line 1872, in main
  File "fmbox.py", line 32, in get_header
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfa in position 1: invalid start byte
[6211] Failed to execute script gyb

Error log #2

Restoring from 7.81mb file /Users/Marius/***/***/Inbox.mbox...
 restoring 15 messages (18) - 54.07%
Traceback (most recent call last):
  File "gyb.py", line 2206, in <module>
  File "gyb.py", line 1872, in main
  File "fmbox.py", line 32, in get_header
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 16: invalid start byte
[6116] Failed to execute script gyb

Environment:

Got Your Back 1.39
https://git.io/gyb
Jay Lee - jay0lee@gmail.com
Python 3.8.5 64-bit final
google-api-client 1.10.0
macOS-10.14.6-x86_64-i386-64bit x86_64
Path: /Users/Marius/bin/gyb
OpenSSL 1.1.1g  21 Apr 2020
www.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384
@stale
Copy link

stale bot commented Dec 12, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Dec 12, 2020
@stale stale bot closed this as completed Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant