Package: offlineimap Version: 6.0.0 Severity: normal
I got this traceback from a recent failure to sync. For all I know it could indeed represent a failure, but the error message suggests a bug in offlineimap to me: Thread 'Folder sync gmail[INBOX]' terminated with exception: Traceback (most recent call last): File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 153, in run Thread.run(self) File "/usr/lib/python2.5/threading.py", line 446, in run self.__target(*self.__args, **self.__kwargs) File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 229, in syncfolder remotefolder.cachemessagelist() File "/var/lib/python-support/python2.5/offlineimap/folder/IMAP.py", line 145, in cachemessagelist options = imaputil.flags2hash(messagestr) File "/var/lib/python-support/python2.5/offlineimap/imaputil.py", line 59, in flags2hash return options2hash(flagsplit(string)) File "/var/lib/python-support/python2.5/offlineimap/imaputil.py", line 45, in flagsplit raise ValueError, "Passed string '%s' is not a flag list" % string ValueError: Passed string 'messages could not be FETCHed (Failure)' is not a flag list Here's the debug trace that followed: Last 37 debug messages logged for Folder sync gmail[INBOX] prior to exception: imap: dequote() called with input: INBOX imap: imapsplit() called with input: FLAGS (\Seen) UID 26690 INTERNALDATE "11-Jun-2009 11:10:15 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26690', 'INTERNALDATE', '"11-Jun-2009 11:10:15 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26690', 'INTERNALDATE', '"11-Jun-2009 11:10:15 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"11-Jun-2009 11:10:15 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26690'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26691 INTERNALDATE "11-Jun-2009 14:25:52 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26691', 'INTERNALDATE', '"11-Jun-2009 14:25:52 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26691', 'INTERNALDATE', '"11-Jun-2009 14:25:52 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"11-Jun-2009 14:25:52 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26691'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26698 INTERNALDATE "29-May-2009 11:23:50 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26698', 'INTERNALDATE', '"29-May-2009 11:23:50 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26698', 'INTERNALDATE', '"29-May-2009 11:23:50 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"29-May-2009 11:23:50 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26698'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26699 INTERNALDATE "21-May-2009 22:09:11 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26699', 'INTERNALDATE', '"21-May-2009 22:09:11 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26699', 'INTERNALDATE', '"21-May-2009 22:09:11 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"21-May-2009 22:09:11 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26699'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26700 INTERNALDATE "20-May-2009 20:50:45 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26700', 'INTERNALDATE', '"20-May-2009 20:50:45 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26700', 'INTERNALDATE', '"20-May-2009 20:50:45 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"20-May-2009 20:50:45 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26700'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26704 INTERNALDATE "01-May-2009 04:17:24 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26704', 'INTERNALDATE', '"01-May-2009 04:17:24 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26704', 'INTERNALDATE', '"01-May-2009 04:17:24 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"01-May-2009 04:17:24 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26704'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26705 INTERNALDATE "30-Apr-2009 23:18:22 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26705', 'INTERNALDATE', '"30-Apr-2009 23:18:22 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26705', 'INTERNALDATE', '"30-Apr-2009 23:18:22 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"30-Apr-2009 23:18:22 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26705'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26706 INTERNALDATE "21-Jan-2009 23:30:48 +0000" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26706', 'INTERNALDATE', '"21-Jan-2009 23:30:48 +0000"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26706', 'INTERNALDATE', '"21-Jan-2009 23:30:48 +0000"'] imap: options2hash returning: {'INTERNALDATE': '"21-Jan-2009 23:30:48 +0000"', 'FLAGS': '(\\Seen)', 'UID': '26706'} imap: imapsplit() called with input: FLAGS (\Seen) UID 26710 INTERNALDATE "11-Jun-2009 15:50:43 +0100" imap: imapsplit() returning: ['FLAGS', '(\\Seen)', 'UID', '26710', 'INTERNALDATE', '"11-Jun-2009 15:50:43 +0100"'] imap: options2hash called with input: ['FLAGS', '(\\Seen)', 'UID', '26710', 'INTERNALDATE', '"11-Jun-2009 15:50:43 +0100"'] imap: options2hash returning: {'INTERNALDATE': '"11-Jun-2009 15:50:43 +0100"', 'FLAGS': '(\\Seen)', 'UID': '26710'} Exception in thread Account sync gmail (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 239, in run <type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptable Job offlineimap -u Noninteractive.Quiet terminated (exit status: 100) (mailing output) -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages offlineimap depends on: ii python 2.5.2-3 An interactive high-level object-o ii python-support 0.8.4 automated rebuilding support for P offlineimap recommends no packages. Versions of packages offlineimap suggests: pn python-kerberos <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org