Comment 4 for bug 758100

Revision history for this message
Diego Principe (cdprincipe) wrote :

diego@eeePC:~/Script/backup-gmail$ sudo ./backup_gmail.py backup username password
[backup] Already exists overwrite? (use -i for incremental backup) [N/y]y
Traceback (most recent call last):te size]
  File "./backup_gmail.py", line 484, in <module>
    doBackup(options, TerminalProgress())
  File "./backup_gmail.py", line 454, in doBackup
    backup.backupTo([options.start_date, options.end_date], overwrite, include_labels, exclude_labels)
  File "./backup_gmail.py", line 294, in backupTo
    self.doBackup(date_range, include_labels, exclude_labels)
  File "./backup_gmail.py", line 282, in doBackup
    self.fetchAllMail(date_range)
  File "./backup_gmail.py", line 253, in fetchAllMail
    self.fetchMailByLabel('[Gmail]/All Mail', date_range)
  File "./backup_gmail.py", line 157, in fetchMailByLabel
    infos = self.fetchRFC822Info('1:%s' % (mail_count[0], ))
  File "./backup_gmail.py", line 51, in convert
    data = func(self, uid)
  File "./backup_gmail.py", line 102, in fetchRFC822Info
    while not self.resultCountCheck(data, uid):
  File "./backup_gmail.py", line 79, in resultCountCheck
    return len(result) == int(l[1]) - int(l[0]) + 1
ValueError: invalid literal for int() with base 10: '[NONEXISTENT] Unknown Mailbox'
username or password incorrect
diego@eeePC:~/Script/backup-gmail$