Please help crash: null byte in argument for long()

chris coleman christocoleman at yahoo.com
Wed Apr 6 17:28:27 BST 2011


I unpacked v6.3.2 (not distro-specific), did chmod +x on the offlineimap.py, and 
ran it locally. 


Same crash.  "null byte in argument for long()"

Here is the log , it includes a traceback:

This is OfflineIMAP 6.3.2
Python: 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) 
[GCC 4.3.2]
Platform: linux2
Args: ['./offlineimap.py', '-u', 'Noninteractive.Basic', '-d', 'imap', '-a', 
'<username>', '-l', 'debug.log.v632.txt']
MainThread: OfflineIMAP 6.3.2
Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>

This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
MainThread: Debug mode: Forcing to singlethreaded.
MainThread: Now debugging for imap: IMAP protocol debugging
Account sync <username>: ***** Processing account <username>
Account sync <username>: Copying folder structure from IMAP to MappedIMAP
Account sync <username>: Establishing connection to mail.mydomain.com:143.
Account sync <username>: DEBUG[imap]:   17:27.40 imaplib version 2.58
Account sync <username>: DEBUG[imap]:   17:27.40 new IMAP4 connection, tag=CPJG
Account sync <username>: DEBUG[imap]:   17:27.57 < * OK [CAPABILITY IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] 
Dovecot ready.
Account sync <username>: DEBUG[imap]:   17:27.57     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [CAPABILITY IMAP4rev1 LITERAL+ 
SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot 
ready.', '[CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.')
Account sync <username>: DEBUG[imap]:   17:27.57 untagged_responses[OK] 0 += 
["[CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS 
AUTH=PLAIN AUTH=LOGIN] Dovecot ready."]
Account sync <username>: DEBUG[imap]:   17:27.57     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('CAPABILITY', ' IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN', 
'IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN 
AUTH=LOGIN')
Account sync <username>: DEBUG[imap]:   17:27.57 untagged_responses[CAPABILITY] 
0 += ["IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN 
AUTH=LOGIN"]
Account sync <username>: DEBUG[imap]:   17:27.57 > CPJG0 CAPABILITY
Account sync <username>: DEBUG[imap]:   17:27.67 < * CAPABILITY IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
Account sync <username>: DEBUG[imap]:   17:27.67     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('CAPABILITY', ' IMAP4rev1 LITERAL+ 
SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN', 'IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 
CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS 
QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN')
Account sync <username>: DEBUG[imap]:   17:27.67 untagged_responses[CAPABILITY] 
1 += ["IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY 
THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE 
UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN"]
Account sync <username>: DEBUG[imap]:   17:27.67 < CPJG0 OK Capability 
completed.
Account sync <username>: DEBUG[imap]:   17:27.67     matched r'(?P<tag>CPJG\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('CPJG0', 'OK', 'Capability completed.')
Account sync <username>: DEBUG[imap]:   17:27.67 untagged_responses[CAPABILITY] 
=> ['IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN 
AUTH=LOGIN', 'IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN 
AUTH=LOGIN']
Account sync <username>: DEBUG[imap]:   17:27.67 CAPABILITIES: ('IMAP4REV1', 
'LITERAL+', 'SASL-IR', 'LOGIN-REFERRALS', 'ID', 'ENABLE', 'SORT', 
'SORT=DISPLAY', 'THREAD=REFERENCES', 'THREAD=REFS', 'MULTIAPPEND', 'UNSELECT', 
'IDLE', 'CHILDREN', 'NAMESPACE', 'UIDPLUS', 'LIST-EXTENDED', 'I18NLEVEL=1', 
'CONDSTORE', 'QRESYNC', 'ESEARCH', 'ESORT', 'SEARCHRES', 'WITHIN', 
'CONTEXT=SEARCH', 'LIST-STATUS', 'QUOTA', 'STARTTLS', 'AUTH=PLAIN', 
'AUTH=LOGIN')
Account sync <username>: DEBUG[imap]: Attempting plain authentication
Account sync <username>: DEBUG[imap]:   17:27.67 > CPJG1 LOGIN 
"<username>@mydomain.com" "password"
Account sync <username>: DEBUG[imap]:   17:27.82 < CPJG1 OK [CAPABILITY 
IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY 
THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE 
UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in
Account sync <username>: DEBUG[imap]:   17:27.82     matched r'(?P<tag>CPJG\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('CPJG1', 'OK', '[CAPABILITY IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS QUOTA] Logged in')
Account sync <username>: DEBUG[imap]:   17:27.82     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('CAPABILITY', ' IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS QUOTA', 'IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA')
Account sync <username>: DEBUG[imap]:   17:27.82 untagged_responses[CAPABILITY] 
0 += ["IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY 
THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE 
UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA"]
Account sync <username>: DEBUG[imap]:   17:27.82 > CPJG2 LIST "" ""
Account sync <username>: DEBUG[imap]:   17:27.91 < * LIST (\Noselect) "." ""
Account sync <username>: DEBUG[imap]:   17:27.91     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\Noselect) "." ""', 
'(\\Noselect) "." ""')
Account sync <username>: DEBUG[imap]:   17:27.91 untagged_responses[LIST] 0 += 
["(\Noselect) "." """]
Account sync <username>: DEBUG[imap]:   17:27.91 < CPJG2 OK List completed.
Account sync <username>: DEBUG[imap]:   17:27.91     matched r'(?P<tag>CPJG\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('CPJG2', 'OK', 'List completed.')
Account sync <username>: DEBUG[imap]:   17:27.91 untagged_responses[LIST] => 
['(\\Noselect) "." ""']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: (\Noselect) 
"." ""
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\Noselect)', 
'"."', '""']
Account sync <username>: DEBUG[imap]: dequote() called with input: "."
Account sync <username>: DEBUG[imap]: dequote() returning: .
Account sync <username>: DEBUG[imap]: dequote() called with input: ""
Account sync <username>: DEBUG[imap]: dequote() returning: 
Account sync <username>: DEBUG[imap]:   17:27.92 > CPJG3 LIST "" "*"
Account sync <username>: DEBUG[imap]:   17:28.01 < * LIST (\HasChildren) "." 
"INBOX"
Account sync <username>: DEBUG[imap]:   17:28.01     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." "INBOX"', 
'(\\HasChildren) "." "INBOX"')
Account sync <username>: DEBUG[imap]:   17:28.01 untagged_responses[LIST] 0 += 
["(\HasChildren) "." "INBOX""]
Account sync <username>: DEBUG[imap]:   17:28.01 < * LIST (\HasNoChildren) "." 
"INBOX.inbox_pop"
Account sync <username>: DEBUG[imap]:   17:28.01     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.inbox_pop"', '(\\HasNoChildren) "." "INBOX.inbox_pop"')
Account sync <username>: DEBUG[imap]:   17:28.01 untagged_responses[LIST] 1 += 
["(\HasNoChildren) "." "INBOX.inbox_pop""]
Account sync <username>: DEBUG[imap]:   17:28.01 < * LIST (\HasChildren) "." 
"INBOX.Archives"
Account sync <username>: DEBUG[imap]:   17:28.01     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." 
"INBOX.Archives"', '(\\HasChildren) "." "INBOX.Archives"')
Account sync <username>: DEBUG[imap]:   17:28.01 untagged_responses[LIST] 2 += 
["(\HasChildren) "." "INBOX.Archives""]
Account sync <username>: DEBUG[imap]:   17:28.01 < * LIST (\HasChildren) "." 
"INBOX.Archives.2007"
Account sync <username>: DEBUG[imap]:   17:28.01     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." 
"INBOX.Archives.2007"', '(\\HasChildren) "." "INBOX.Archives.2007"')
Account sync <username>: DEBUG[imap]:   17:28.01 untagged_responses[LIST] 3 += 
["(\HasChildren) "." "INBOX.Archives.2007""]
Account sync <username>: DEBUG[imap]:   17:28.01 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2007.2007-Q3"
Account sync <username>: DEBUG[imap]:   17:28.01     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2007.2007-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2007.2007-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.01 untagged_responses[LIST] 4 += 
["(\HasNoChildren) "." "INBOX.Archives.2007.2007-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasChildren) "." 
"INBOX.Archives.2008"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." 
"INBOX.Archives.2008"', '(\\HasChildren) "." "INBOX.Archives.2008"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 5 += 
["(\HasChildren) "." "INBOX.Archives.2008""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q4"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 6 += 
["(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q3"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 7 += 
["(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q2"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 8 += 
["(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q1"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q1"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 9 += 
["(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasChildren) "." 
"INBOX.Archives.2009"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." 
"INBOX.Archives.2009"', '(\\HasChildren) "." "INBOX.Archives.2009"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 10 += 
["(\HasChildren) "." "INBOX.Archives.2009""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q2"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 11 += 
["(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q4"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 12 += 
["(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q1"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q1"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 13 += 
["(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q3"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 14 += 
["(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasChildren) "." 
"INBOX.Archives.2010"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "." 
"INBOX.Archives.2010"', '(\\HasChildren) "." "INBOX.Archives.2010"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 15 += 
["(\HasChildren) "." "INBOX.Archives.2010""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q3"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 16 += 
["(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q2"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 17 += 
["(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q4"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 18 += 
["(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q1"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q1"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 19 += 
["(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Drafts"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Drafts"', '(\\HasNoChildren) "." "INBOX.Drafts"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 20 += 
["(\HasNoChildren) "." "INBOX.Drafts""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Trash"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Trash"', '(\\HasNoChildren) "." "INBOX.Trash"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 21 += 
["(\HasNoChildren) "." "INBOX.Trash""]
Account sync <username>: DEBUG[imap]:   17:28.02 < * LIST (\HasNoChildren) "." 
"INBOX.Junk"
Account sync <username>: DEBUG[imap]:   17:28.02     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Junk"', '(\\HasNoChildren) "." "INBOX.Junk"')
Account sync <username>: DEBUG[imap]:   17:28.02 untagged_responses[LIST] 22 += 
["(\HasNoChildren) "." "INBOX.Junk""]
Account sync <username>: DEBUG[imap]:   17:28.03 < * LIST (\HasNoChildren) "." 
"INBOX.Sent"
Account sync <username>: DEBUG[imap]:   17:28.03     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "." 
"INBOX.Sent"', '(\\HasNoChildren) "." "INBOX.Sent"')
Account sync <username>: DEBUG[imap]:   17:28.03 untagged_responses[LIST] 23 += 
["(\HasNoChildren) "." "INBOX.Sent""]
Account sync <username>: DEBUG[imap]:   17:28.03 < CPJG3 OK List completed.
Account sync <username>: DEBUG[imap]:   17:28.03     matched r'(?P<tag>CPJG\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('CPJG3', 'OK', 'List completed.')
Account sync <username>: DEBUG[imap]:   17:28.03 untagged_responses[LIST] => 
['(\\HasChildren) "." "INBOX"', '(\\HasNoChildren) "." "INBOX.inbox_pop"', 
'(\\HasChildren) "." "INBOX.Archives"', '(\\HasChildren) "." 
"INBOX.Archives.2007"', '(\\HasNoChildren) "." "INBOX.Archives.2007.2007-Q3"', 
'(\\HasChildren) "." "INBOX.Archives.2008"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2008.2008-Q1"', '(\\HasChildren) "." "INBOX.Archives.2009"', 
'(\\HasNoChildren) "." "INBOX.Archives.2009.2009-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q1"', '(\\HasNoChildren) "." 
"INBOX.Archives.2009.2009-Q3"', '(\\HasChildren) "." "INBOX.Archives.2010"', 
'(\\HasNoChildren) "." "INBOX.Archives.2010.2010-Q3"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q2"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q4"', '(\\HasNoChildren) "." 
"INBOX.Archives.2010.2010-Q1"', '(\\HasNoChildren) "." "INBOX.Drafts"', 
'(\\HasNoChildren) "." "INBOX.Trash"', '(\\HasNoChildren) "." "INBOX.Junk"', 
'(\\HasNoChildren) "." "INBOX.Sent"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: "INBOX"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.inbox_pop"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.inbox_pop"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.inbox_pop"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.inbox_pop
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX.Archives"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX.Archives"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Archives
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX.Archives.2007"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX.Archives.2007"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2007"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Archives.2007
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2007.2007-Q3"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2007.2007-Q3"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2007.2007-Q3"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2007.2007-Q3
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX.Archives.2008"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX.Archives.2008"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2008"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Archives.2008
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q4"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2008.2008-Q4"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2008.2008-Q4"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2008.2008-Q4
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q3"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2008.2008-Q3"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2008.2008-Q3"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2008.2008-Q3
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q2"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2008.2008-Q2"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2008.2008-Q2"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2008.2008-Q2
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2008.2008-Q1"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2008.2008-Q1"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2008.2008-Q1"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2008.2008-Q1
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX.Archives.2009"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX.Archives.2009"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2009"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Archives.2009
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q2"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2009.2009-Q2"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2009.2009-Q2"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2009.2009-Q2
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q4"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2009.2009-Q4"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2009.2009-Q4"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2009.2009-Q4
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q1"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2009.2009-Q1"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2009.2009-Q1"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2009.2009-Q1
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2009.2009-Q3"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2009.2009-Q3"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2009.2009-Q3"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2009.2009-Q3
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "." "INBOX.Archives.2010"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"."', '"INBOX.Archives.2010"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2010"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Archives.2010
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q3"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2010.2010-Q3"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2010.2010-Q3"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2010.2010-Q3
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q2"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2010.2010-Q2"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2010.2010-Q2"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2010.2010-Q2
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q4"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2010.2010-Q4"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2010.2010-Q4"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2010.2010-Q4
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Archives.2010.2010-Q1"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Archives.2010.2010-Q1"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Archives.2010.2010-Q1"
Account sync <username>: DEBUG[imap]: dequote() returning: 
INBOX.Archives.2010.2010-Q1
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Drafts"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Drafts"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: 
"INBOX.Drafts"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Drafts
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX.Drafts
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Trash"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Trash"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: "INBOX.Trash"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Trash
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX.Trash
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Junk"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Junk"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: "INBOX.Junk"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Junk
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX.Junk
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasNoChildren) "." "INBOX.Sent"
Account sync <username>: DEBUG[imap]: imapsplit() returning: 
['(\\HasNoChildren)', '"."', '"INBOX.Sent"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasNoChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: "INBOX.Sent"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX.Sent
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX.Sent
Account sync <username>: Establishing connection to localhost:143.
Account sync <username>: DEBUG[imap]:   17:28.05 imaplib version 2.58
Account sync <username>: DEBUG[imap]:   17:28.05 new IMAP4 connection, tag=IMOF
Account sync <username>: DEBUG[imap]:   17:28.06 < * OK [CAPABILITY IMAP4 
IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] 
articabox Cyrus IMAP v2.3.16 server ready
Account sync <username>: DEBUG[imap]:   17:28.06     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' [CAPABILITY IMAP4 IMAP4rev1 
LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] articabox 
Cyrus IMAP v2.3.16 server ready', '[CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID 
STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] articabox Cyrus IMAP 
v2.3.16 server ready')
Account sync <username>: DEBUG[imap]:   17:28.06 untagged_responses[OK] 0 += 
["[CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR 
COMPRESS=DEFLATE] articabox Cyrus IMAP v2.3.16 server ready"]
Account sync <username>: DEBUG[imap]:   17:28.06     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('CAPABILITY', ' IMAP4 IMAP4rev1 
LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE', 'IMAP4 
IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE')
Account sync <username>: DEBUG[imap]:   17:28.06 untagged_responses[CAPABILITY] 
0 += ["IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR 
COMPRESS=DEFLATE"]
Account sync <username>: DEBUG[imap]:   17:28.06 > IMOF0 CAPABILITY
Account sync <username>: DEBUG[imap]:   17:28.06 < * CAPABILITY IMAP4 IMAP4rev1 
LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE ACL 
RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT 
CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH
Account sync <username>: DEBUG[imap]:   17:28.06     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('CAPABILITY', ' IMAP4 IMAP4rev1 LITERAL+ 
ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH', 'IMAP4 IMAP4rev1 LITERAL+ ID 
STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH')
Account sync <username>: DEBUG[imap]:   17:28.06 untagged_responses[CAPABILITY] 
1 += ["IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR 
COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS 
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN 
IDLE URLAUTH"]
Account sync <username>: DEBUG[imap]:   17:28.06 < IMOF0 OK Completed
Account sync <username>: DEBUG[imap]:   17:28.06     matched r'(?P<tag>IMOF\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('IMOF0', 'OK', 'Completed')
Account sync <username>: DEBUG[imap]:   17:28.06 untagged_responses[CAPABILITY] 
=> ['IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN SASL-IR 
COMPRESS=DEFLATE', 'IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN AUTH=PLAIN 
SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE 
UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN 
IDLE URLAUTH']
Account sync <username>: DEBUG[imap]:   17:28.06 CAPABILITIES: ('IMAP4', 
'IMAP4REV1', 'LITERAL+', 'ID', 'STARTTLS', 'AUTH=LOGIN', 'AUTH=PLAIN', 
'SASL-IR', 'COMPRESS=DEFLATE', 'ACL', 'RIGHTS=KXTE', 'QUOTA', 
'MAILBOX-REFERRALS', 'NAMESPACE', 'UIDPLUS', 'NO_ATOMIC_RENAME', 'UNSELECT', 
'CHILDREN', 'MULTIAPPEND', 'BINARY', 'SORT', 'SORT=MODSEQ', 
'THREAD=ORDEREDSUBJECT', 'THREAD=REFERENCES', 'ANNOTATEMORE', 'CATENATE', 
'CONDSTORE', 'SCAN', 'IDLE', 'URLAUTH')
Account sync <username>: DEBUG[imap]: Attempting plain authentication
Account sync <username>: DEBUG[imap]:   17:28.06 > IMOF1 LOGIN <username> 
"password2"
Account sync <username>: DEBUG[imap]:   17:28.07 < IMOF1 OK [CAPABILITY IMAP4 
IMAP4rev1 LITERAL+ ID LOGINDISABLED COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH] User logged in
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'(?P<tag>IMOF\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('IMOF1', 'OK', '[CAPABILITY IMAP4 IMAP4rev1 
LITERAL+ ID LOGINDISABLED COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH] User logged in')
Account sync <username>: DEBUG[imap]:   17:28.07     matched 
r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => ('CAPABILITY', ' IMAP4 IMAP4rev1 
LITERAL+ ID LOGINDISABLED COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA 
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH', 'IMAP4 IMAP4rev1 LITERAL+ ID 
LOGINDISABLED COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE 
UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN 
IDLE URLAUTH')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[CAPABILITY] 
0 += ["IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED COMPRESS=DEFLATE ACL 
RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT 
CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE URLAUTH"]
Account sync <username>: DEBUG[imap]:   17:28.07 > IMOF2 LIST "" ""
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\Noselect) "/" ""
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\Noselect) "/" ""', 
'(\\Noselect) "/" ""')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 0 += 
["(\Noselect) "/" """]
Account sync <username>: DEBUG[imap]:   17:28.07 < IMOF2 OK Completed (0.000 
secs 0 calls)
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'(?P<tag>IMOF\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('IMOF2', 'OK', 'Completed (0.000 secs 0 
calls)')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] => 
['(\\Noselect) "/" ""']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: (\Noselect) 
"/" ""
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\Noselect)', 
'"/"', '""']
Account sync <username>: DEBUG[imap]: dequote() called with input: "/"
Account sync <username>: DEBUG[imap]: dequote() returning: /
Account sync <username>: DEBUG[imap]: dequote() called with input: ""
Account sync <username>: DEBUG[imap]: dequote() returning: 
Account sync <username>: DEBUG[imap]:   17:28.07 > IMOF3 LIST "" "*"
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" "INBOX"', 
'(\\HasChildren) "/" "INBOX"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 0 += 
["(\HasChildren) "/" "INBOX""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/Archives"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/Archives"', '(\\HasChildren) "/" "INBOX/Archives"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 1 += 
["(\HasChildren) "/" "INBOX/Archives""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/Archives/2007"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/Archives/2007"', '(\\HasChildren) "/" "INBOX/Archives/2007"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 2 += 
["(\HasChildren) "/" "INBOX/Archives/2007""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2007/2007-Q3"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2007/2007-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2007/2007-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 3 += 
["(\HasNoChildren) "/" "INBOX/Archives/2007/2007-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/Archives/2008"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/Archives/2008"', '(\\HasChildren) "/" "INBOX/Archives/2008"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 4 += 
["(\HasChildren) "/" "INBOX/Archives/2008""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q1"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 5 += 
["(\HasNoChildren) "/" "INBOX/Archives/2008/2008-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q2"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 6 += 
["(\HasNoChildren) "/" "INBOX/Archives/2008/2008-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q3"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 7 += 
["(\HasNoChildren) "/" "INBOX/Archives/2008/2008-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q4"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q4"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 8 += 
["(\HasNoChildren) "/" "INBOX/Archives/2008/2008-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/Archives/2009"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/Archives/2009"', '(\\HasChildren) "/" "INBOX/Archives/2009"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 9 += 
["(\HasChildren) "/" "INBOX/Archives/2009""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q1"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 10 += 
["(\HasNoChildren) "/" "INBOX/Archives/2009/2009-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q2"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 11 += 
["(\HasNoChildren) "/" "INBOX/Archives/2009/2009-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q3"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 12 += 
["(\HasNoChildren) "/" "INBOX/Archives/2009/2009-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q4"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q4"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 13 += 
["(\HasNoChildren) "/" "INBOX/Archives/2009/2009-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/Archives/2010"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/Archives/2010"', '(\\HasChildren) "/" "INBOX/Archives/2010"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 14 += 
["(\HasChildren) "/" "INBOX/Archives/2010""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q1"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q1"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 15 += 
["(\HasNoChildren) "/" "INBOX/Archives/2010/2010-Q1""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q2"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q2"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 16 += 
["(\HasNoChildren) "/" "INBOX/Archives/2010/2010-Q2""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q3"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q3"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 17 += 
["(\HasNoChildren) "/" "INBOX/Archives/2010/2010-Q3""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q4"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q4"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q4"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 18 += 
["(\HasNoChildren) "/" "INBOX/Archives/2010/2010-Q4""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Drafts"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Drafts"', '(\\HasNoChildren) "/" "INBOX/Drafts"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 19 += 
["(\HasNoChildren) "/" "INBOX/Drafts""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Junk"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Junk"', '(\\HasNoChildren) "/" "INBOX/Junk"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 20 += 
["(\HasNoChildren) "/" "INBOX/Junk""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Sent"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Sent"', '(\\HasNoChildren) "/" "INBOX/Sent"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 21 += 
["(\HasNoChildren) "/" "INBOX/Sent""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/Trash"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/Trash"', '(\\HasNoChildren) "/" "INBOX/Trash"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 22 += 
["(\HasNoChildren) "/" "INBOX/Trash""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasChildren) "/" 
"INBOX/cppop/cache"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasChildren) "/" 
"INBOX/cppop/cache"', '(\\HasChildren) "/" "INBOX/cppop/cache"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 23 += 
["(\HasChildren) "/" "INBOX/cppop/cache""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/cppop/cache/msgs"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/cppop/cache/msgs"', '(\\HasNoChildren) "/" "INBOX/cppop/cache/msgs"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 24 += 
["(\HasNoChildren) "/" "INBOX/cppop/cache/msgs""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/inbox_pop"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/inbox_pop"', '(\\HasNoChildren) "/" "INBOX/inbox_pop"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 25 += 
["(\HasNoChildren) "/" "INBOX/inbox_pop""]
Account sync <username>: DEBUG[imap]:   17:28.07 < * LIST (\HasNoChildren) "/" 
"INBOX/mailboxlist"
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'\* 
(?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" 
"INBOX/mailboxlist"', '(\\HasNoChildren) "/" "INBOX/mailboxlist"')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] 26 += 
["(\HasNoChildren) "/" "INBOX/mailboxlist""]
Account sync <username>: DEBUG[imap]:   17:28.07 < IMOF3 OK Completed (0.000 
secs 28 calls)
Account sync <username>: DEBUG[imap]:   17:28.07     matched r'(?P<tag>IMOF\d+) 
(?P<type>[A-Z]+) (?P<data>.*)' => ('IMOF3', 'OK', 'Completed (0.000 secs 28 
calls)')
Account sync <username>: DEBUG[imap]:   17:28.07 untagged_responses[LIST] => 
['(\\HasChildren) "/" "INBOX"', '(\\HasChildren) "/" "INBOX/Archives"', 
'(\\HasChildren) "/" "INBOX/Archives/2007"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2007/2007-Q3"', '(\\HasChildren) "/" "INBOX/Archives/2008"', 
'(\\HasNoChildren) "/" "INBOX/Archives/2008/2008-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2008/2008-Q4"', '(\\HasChildren) "/" "INBOX/Archives/2009"', 
'(\\HasNoChildren) "/" "INBOX/Archives/2009/2009-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2009/2009-Q4"', '(\\HasChildren) "/" "INBOX/Archives/2010"', 
'(\\HasNoChildren) "/" "INBOX/Archives/2010/2010-Q1"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q2"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q3"', '(\\HasNoChildren) "/" 
"INBOX/Archives/2010/2010-Q4"', '(\\HasNoChildren) "/" "INBOX/Drafts"', 
'(\\HasNoChildren) "/" "INBOX/Junk"', '(\\HasNoChildren) "/" "INBOX/Sent"', 
'(\\HasNoChildren) "/" "INBOX/Trash"', '(\\HasChildren) "/" 
"INBOX/cppop/cache"', '(\\HasNoChildren) "/" "INBOX/cppop/cache/msgs"', 
'(\\HasNoChildren) "/" "INBOX/inbox_pop"', '(\\HasNoChildren) "/" 
"INBOX/mailboxlist"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
(\HasChildren) "/" "INBOX"
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', 
'"/"', '"INBOX"']
Account sync <username>: DEBUG[imap]: imapsplit() called with input: 
\HasChildren
Account sync <username>: DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
Account sync <username>: DEBUG[imap]: dequote() called with input: "INBOX"
Account sync <username>: DEBUG[imap]: dequote() returning: INBOX
Account sync <username>: DEBUG[imap]: dequote() called with input: INBOX
WARNING: Error occured attempting to sync account <username>: Traceback (most 
recent call last):
  File "/root/nicolas33-offlineimap-v632/offlineimap/accounts.py", line 190, in 
syncrunner
    self.sync(siglistener)
  File "/root/nicolas33-offlineimap-v632/offlineimap/accounts.py", line 245, in 
sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/root/nicolas33-offlineimap-v632/offlineimap/repository/Base.py", line 
144, in syncfoldersto
    destfolders = dest.getfolders()
  File "/root/nicolas33-offlineimap-v632/offlineimap/repository/IMAP.py", line 
256, in getfolders
    self.accountname, self))
  File "/root/nicolas33-offlineimap-v632/offlineimap/folder/UIDMaps.py", line 
225, in __init__
    self._initmapping()
  File "/root/nicolas33-offlineimap-v632/offlineimap/folder/UIDMaps.py", line 
28, in _initmapping
    (self.diskr2l, self.diskl2r) = self._loadmaps()
  File "/root/nicolas33-offlineimap-v632/offlineimap/folder/UIDMaps.py", line 
50, in _loadmaps
    loc = long(str1)
ValueError: null byte in argument for long()

Account sync <username>: ***** Finished processing account <username>






________________________________
From: Sebastian Spaeth <Sebastian at SSpaeth.de>
To: chris coleman <christocoleman at yahoo.com>; Nicolas Sebrecht 
<nicolas.s-dev at laposte.net>
Cc: offlineimap-project at lists.alioth.debian.org
Sent: Wed, April 6, 2011 6:06:55 AM
Subject: Re: Please help crash: null byte in argument for long()

On Tue, 5 Apr 2011 14:10:52 -0700 (PDT), chris coleman 
<christocoleman at yahoo.com> wrote:
> I'm running debian and see only 6.2.0.2 as the newest available for debian on 
> the downloads page.

http://packages.debian.org/search?keywords=offlineimap&searchon=names&suite=all§ion=all


There is 6.3.2.-rc2 in Debian testing. so can download the .deb and
install it.

The tarballs are not distro specific and can either be installed via
"sudo python setup.py install" or just
run locally (unpack and run offlinimap.py).


HTH
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110406/8426c7e4/attachment-0001.html>


More information about the OfflineIMAP-project mailing list