GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.61k stars 206 forks source link

import external mbox files (protonmail) via GYB to gmail #312

Closed pvanderhoeven closed 3 years ago

pvanderhoeven commented 3 years ago

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

Full steps to reproduce the issue:

  1. export protonmail mailbox to mbox via protonmail-importer / exporter app
  2. setup GYB as described
  3. gyb --email my@email.com --action restore-mbox --local-folder "C:\Users\xxx\yyy"

Expected outcome (what are you trying to do?):

import external mbox folders into gmail

Actual outcome (what errors or bad behavior do you see instead?):

gyb --email my@email.com --action restore-mbox --local-folder "C:\Users\xxx\yy" Traceback (most recent call last):0% File "gyb.py", line 2286, in File "gyb.py", line 1986, in main File "gyb.py", line 1408, in restored_message sqlite3.IntegrityError: datatype mismatch [13208] Failed to execute script gyb

jay0lee commented 3 years ago

I have no access to protomail so I'd need a sample export that can reproduce this issue.

stale[bot] commented 3 years ago

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