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

Mbox file won't import into new email #278

Closed
ShawnVahle opened this issue Jun 16, 2020 · 4 comments
Closed

Mbox file won't import into new email #278

ShawnVahle opened this issue Jun 16, 2020 · 4 comments
Labels

Comments

@ShawnVahle
Copy link

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. Setup gyb
  2. did a backup of new email account (worked correctly I believe as it made the folder and all of the email files that currently reside in new email)
  3. Typed in command prompt: gyb --email [hidden]@[domain].com --action restore-mbox --local-folder "C:\localfolder" --label-restored "name"

Expected outcome (what are you trying to do?):
exported all gmail emails from old account. Then downloaded the files from vault onto c drive. want to export files back to a different email address under the same domain.
Actual outcome (what errors or bad behavior do you see instead?):
Got the error:

File "gyb.py", line 1138, in get_db_settings
sqlite3.OperationalError: no such table: settings

Traceback (most recent call last):
File "gyb.py", Line 2203, in
File "gyb.py", line 1572, in main
File "gyb.py", line 1142, in get_db_settings
(AttributeError: 'OperationalError' object has no attribute 'message'

I've tried to delete backup folder. I've tried to move the location of the mbox file. I've tried to use another computer. I must be missing something.

@lifers5555
Copy link

Any chance you're trying to import mbox "folders" from Mac Mail? I'm having this exact issue.

@octavioamu
Copy link

octavioamu commented Sep 21, 2020

I was with the same problem and noticed the problem was the folder need to be the "Takeout" with all the data not "Takeout/Mail" in case you used google takeout.
So just unzip the folders and running
gyb --email newwmail@domain.co --action restore-mbox --local-folder ~/Downloads/Takeout

@stale
Copy link

stale bot commented Dec 20, 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 20, 2020
@stale stale bot closed this as completed Dec 27, 2020
@exclerange
Copy link

One can use Gmail to Thunderbird configuration and easily import to your new Gmail or any other email account. However, you need to know the IMAP/POP3 setting details to complete the task. You can easily Google it and proceed. If you are still facing any issues, then you can look at this article - https://www.adviksoft.com/blog/import-mbox-to-gmail/

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

4 participants