got-your-back icon indicating copy to clipboard operation
got-your-back copied to clipboard

Error when restoring from MBOX file

Open AnandJhaveri opened this issue 1 year ago • 2 comments

Full steps to reproduce the issue:

  1. Use Google Takeout to backup file from my old email id
  2. Use GYB to restore mbox file

Here's the command line:

C:\GYB> gyb --email [email protected] --action restore-mbox --local-folder "C:\Users\anand\Downloads\googledata\Takeout\Mail"

Using backup folder C:\Users\anand\Downloads\googledata\Takeout\Mail

Restoring from 18.74gb file C:\Users\anand\Downloads\googledata\Takeout\Mail\All mail Including Spam and Trash.mbox...

Expected outcome (what are you trying to do?): I am expecting to restore old emails downloaded via Google Takeout into my new email id

Actual outcome (what errors or bad behavior do you see instead?): Traceback (most recent call last):% File "gyb.py", line 2767, in File "gyb.py", line 2486, in main File "gyb.py", line 749, in callGAPI File "googleapiclient_helpers.py", line 130, in positional_wrapper File "googleapiclient\http.py", line 1604, in execute File "gyb.py", line 1696, in restored_message sqlite3.IntegrityError: datatype mismatch [12844] Failed to execute script 'gyb' due to unhandled exception!

Please help to resolve. Thanks.

Regards, Anand.

AnandJhaveri avatar Jun 07 '23 07:06 AnandJhaveri