The script isn't work as great as it sounds for me. I hope that it could be patched, i appreciate the developer's effort. Thank you very much. Below is the traceback:
Note: i have find and replace'd the user dir and <email address hidden> for privacy reason. The gui.py was renamed to gmail.backup in my user bin.
[/tmp/gmail] Already exists overwrite? (use -i for incremental backup) [N/y]y
Traceback (most recent call last):
File "/home/user/bin/backup_gmail.py", line 548, in <module>
doBackup(options, TerminalProgress())
File "/home/user/bin/backup_gmail.py", line 518, in doBackup
backup.backupTo([options.start_date, options.end_date], overwrite, include_labels, exclude_labels)
File "/home/user/bin/backup_gmail.py", line 348, in backupTo
self.doBackup(date_range, include_labels, exclude_labels)
File "/home/user/bin/backup_gmail.py", line 335, in doBackup
self.fetchAllMail(date_range)
File "/home/user/bin/backup_gmail.py", line 306, in fetchAllMail
self.fetchMailByLabel('%s/All Mail' % (self.getGmailPrefix(), ), date_range)
File "/home/user/bin/backup_gmail.py", line 163, in getGmailPrefix
raise self.SelectMailBoxError('<All Mail>', labels)
SelectMailBoxError: MailBox [<All Mail>] does not exists.
MailBox List: ['Archive', 'Drafts', 'INBOX', 'Sent', 'Trash', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '[Gmail]/Spam', '[Gmail]/Starred', '<email address hidden>']
The script isn't work as great as it sounds for me. I hope that it could be patched, i appreciate the developer's effort. Thank you very much. Below is the traceback:
Note: i have find and replace'd the user dir and <email address hidden> for privacy reason. The gui.py was renamed to gmail.backup in my user bin.
[/tmp/gmail] Already exists overwrite? (use -i for incremental backup) [N/y]y
Traceback (most recent call last): user/bin/ backup_ gmail.py" , line 548, in <module> options, TerminalProgress()) user/bin/ backup_ gmail.py" , line 518, in doBackup backupTo( [options. start_date, options.end_date], overwrite, include_labels, exclude_labels) user/bin/ backup_ gmail.py" , line 348, in backupTo doBackup( date_range, include_labels, exclude_labels) user/bin/ backup_ gmail.py" , line 335, in doBackup fetchAllMail( date_range) user/bin/ backup_ gmail.py" , line 306, in fetchAllMail fetchMailByLabe l('%s/All Mail' % (self.getGmailP refix() , ), date_range) user/bin/ backup_ gmail.py" , line 163, in getGmailPrefix BoxError( '<All Mail>', labels)
File "/home/
doBackup(
File "/home/
backup.
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
raise self.SelectMail
SelectMailBoxError: MailBox [<All Mail>] does not exists.
MailBox List: ['Archive', 'Drafts', 'INBOX', 'Sent', 'Trash', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '[Gmail]/Spam', '[Gmail]/Starred', '<email address hidden>']