Complete.Org: Mailing Lists: Archives: offlineimap: August 2009:
AttributeError: Unknown IMAP4 command: 'selectedfolder'
Home

AttributeError: Unknown IMAP4 command: 'selectedfolder'

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: AttributeError: Unknown IMAP4 command: 'selectedfolder'
From: Yu-Phing Ong <y_ong@xxxxxxx>
Date: Thu, 13 Aug 2009 18:12:23 +0800
Reply-to: y_ong@xxxxxxx

Hi all,
I seem to be encountering a problem with one user's emails, when 
offlineimap runs, it halts with this error message:

  File "/usr/lib/python2.5/imaplib.py", line 214, in __getattr__
    raise AttributeError("Unknown IMAP4 command: '%s'" % attr)
AttributeError: Unknown IMAP4 command: 'selectedfolder'

Other user's emails are fine.  I upgraded to 6.0.2 (was previously using 
5.99.4 on Ubuntu 8.04 LTS) but still same problem.

I ran offlineimap with -d imap, attached is the trace file (copied using 
putty's logging feature, so apologies for some weird characters in 
there, and I've obviously masked out the username and password to xxxdum 
and xxx respectively).  I assume it's an issue with the IMAP store 
rather than maildir, but let me know if I should run with different 
debug options.

Anybody have any ideas?  The IMAP server is running Cyrus IMAP4 v2.2.12 
(old but fine).  All other users don't have a problem; unfortunately 
this user just started using offlineimap, so I can't tell when it might 
have stopped working for his account.  When I look at his mail folder, 
it's pretty flat (no worse than any others; mainly inbox, sent folder 
etc, no cascaded folders under inbox etc).

Thanks in advance.

Phing


-- Attached file included as plaintext by Ecartis --
-- File: putty.log

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.08.13 17:57:23 =~=~=~=~=~=~=~=~=~=~=~=


OfflineIMAP 6.2.0Copyright (C) 2002 - 2009 John Goerzen

OfflineIMAP 6.2.0Copyright (C) 2002 - 2009 John Goerzen
OfflineIMAP 6.2.0Copyright (C) 2002 - 2009 John Goerzen
1: [active]*Control:  .
OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoerzen@xxxxxxxxxxxx>
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.

Now debugging for imap: IMAP protocol debugging


OfflineIMAP 6.2.0Copyright (C) 2002 - 2009 John Goerzen
OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoerzen@xxxxxxxxxxxx>
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.
Now debugging for imap: IMAP protocol debugging
1: [active]*Control: .
OfflineIMAP 6.2.0Copyright (C) 2002 - 2009 John Goerzen
OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoerzen@xxxxxxxxxxxx>
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.
Now debugging for imap: IMAP protocol debugging
2: [active]*Control: .
1: [active]test:  .
***** Processing account test

.
Copying folder structure from IMAP to Maildir.
Establishing connection to mail.ong-ong.com:143.
DEBUG[imap]:   57:23.77 imaplib version 2.58
DEBUG[imap]:   57:23.77 new IMAP4 connection, tag=EEPD
DEBUG[imap]:   57:23.77 < * OK picomail Cyrus IMAP4 v2.2.12 server ready
DEBUG[imap]:   57:23.77matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => 
('OK',' picomail Cyrus IMAP4 v2.2.12 server ready', 'picomail Cyrus IMAP4 
v2.2.12 server ready')
DEBUG[imap]:   57:23.78 untagged_responses[OK] 0 += ["picomail Cyrus IMAP4 
v2.2.12 serverready"]
DEBUG[imap]:   57:23.78 > EEPD0 CAPABILITY
DEBUG[imap]:   57:23.78 < * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ 
MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE 
IDLE AUTH=PLAIN SASL-IR X-NETSCAPE
DEBUG[imap]:   57:23.78matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => 
('CAPABILITY', ' IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=PLAIN SASL-IR 
X-NETSCAPE', 'IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE 
AUTH=PLAIN SASL-IR
X-NETSCAPE')
DEBUG[imap]:   57:23.78 untagged_responses[CAPABILITY] 0 += ["IMAP4 IMAP4rev1 
ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME 
UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=PLAIN SASL-IR X-NETSCAPE"]
DEBUG[imap]:   57:23.78 < EEPD0 OK Completed
DEBUG[imap]:   57:23.78matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) 
(?P<data>.*)'=> ('EEPD0', 'OK', 'Completed')
DEBUG[imap]:   57:23.78 untagged_responses[CAPABILITY] => ['IMAP4 IMAP4rev1 ACL 
QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT 
CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
ANNOTATEMORE IDLE AUTH=PLAIN SASL-IR X-NETSCAPE']
DEBUG[imap]:   57:23.79 CAPABILITIES: ('IMAP4', 'IMAP4REV1', 'ACL', 'QUOTA', 
'LITERAL+',
'MAILBOX-REFERRALS', 'NAMESPACE', 'UIDPLUS', 'ID', 'NO_ATOMIC_RENAME', 
'UNSELECT', 'CHILDREN', 'MULTIAPPEND', 'BINARY', 'SORT', 
'THREAD=ORDEREDSUBJECT', 'THREAD=REFERENCES', 'ANNOTATEMORE', 'IDLE', 
'AUTH=PLAIN', 'SASL-IR', 'X-NETSCAPE')
DEBUG[imap]: Attempting plain authentication. *** Input Required
 *** Please enter password for account Remote: 
DEBUG[imap]:   57:23.78 < * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ 
MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE 
IDLE AUTH=PLAIN SASL-IR X-NETSCAPE

EBUG[map]:   57:23.78         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('CAPA[1BILITY', ' IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_> EEPD0 CAPABILITY
DEBUG[imap]:   57:23.78 < * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ 
MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN 
MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE 
IDLE AUTH=PLAIN SASL-IR X-NETSCAPE
mDEBUG[imap]:   57:28.07 > EEP[41 LO[40mIDENB xxxdum "xxx"UG[imap]:   57:28.07 
> EEPD1 LOGIN xxxdum "xxx"[9m;[939m;49m
DEBUG[imap]:   57:28.08 < EEPD1 OK User logged in
DEBUG[imap]:   57:28.08         matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('EEPD1', 'OK', 'User logged in')
DEBUG[imap]:   57:28.08 > EEPD2 LIST "" ""
DEBUG[imap]:   57:28.08 < * LIST (\Noselect) "." ""
DEBUG[imap]:   57:28.08         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\Noselect) "." ""', '(\\Noselect) "." ""')
DEBUG[imap]:   57:28.08 untagged_responses[LIST] 0 += ["(\Noselect) "." """]
DEBUG[imap]:   57:28.08 < EEPD2 OK Completed (0.000 secs 0 calls)
DEBUG[imap]:   57:28.09         matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('EEPD2', 'OK', 'Completed (0.000 secs 0 calls)')
DEBUG[imap]:   57:28.09 untagged_responses[LIST] => ['(\\Noselect) "." ""']
DEBUG[imap]: imapsplit() called with input: (\Noselect) "." ""
DEBUG[imap]: imapsplit() returning: ['(\\Noselect)', '"."', '""']
DEBUG[imap]: dequote() called with input: "."
DEBUG[imap]: dequote() returning: .
DEBUG[imap]: dequote() called with input: ""
DEBUG[imap]: dequote() returning: 
DEBUG[imap]:   57:28.09 > EEPD3 LIST "" "*"
DEBUG[imap]:   57:28.10 < * LIST (\HasChildren) "." "INBOX"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasChildren) "." "INBOX"', '(\\HasChildren) "." "INBOX"')
DEBUG[imap]:   57:28.10 untagged_responses[LIST] 0 += ["(\HasChildren) "." 
"INBOX""]
DEBUG[imap]:   57:28.10 < * LIST (\HasNoChildren) "." "INBOX.Drafts"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "INBOX.Drafts"', '(\\HasNoChildren) "." 
"INBOX.Drafts"')
DEBUG[imap]:   57:28.10 untagged_responses[LIST] 1 += ["(\HasNoChildren) "." 
"INBOX.Drafts""]
DEBUG[imap]:   57:28.10 < * LIST (\HasNoChildren) "." "INBOX.Sent"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "INBOX.Sent"', '(\\HasNoChildren) "." 
"INBOX.Sent"')
DEBUG[imap]:   57:28.10 untagged_responses[LIST] 2 += ["(\HasNoChildren) "." 
"INBOX.Sent""]
DEBUG[imap]:   57:28.10 < * LIST (\HasNoChildren) "." "INBOX.Trash"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "INBOX.Trash"', '(\\HasNoChildren) "." 
"INBOX.Trash"')
DEBUG[imap]:   57:28.10 untagged_responses[LIST] 3 += ["(\HasNoChildren) "." 
"INBOX.Trash""]
DEBUG[imap]:   57:28.10 < * LIST (\HasNoChildren) "." "INBOX.drafts"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "INBOX.drafts"', '(\\HasNoChildren) "." 
"INBOX.drafts"')
DEBUG[imap]:   57:28.10 untagged_responses[LIST] 4 += ["(\HasNoChildren) "." 
"INBOX.drafts""]
DEBUG[imap]:   57:28.10 < * LIST (\HasNoChildren) "." "INBOX.sent-mail"
DEBUG[imap]:   57:28.10         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "INBOX.sent-mail"', '(\\HasNoChildren) "." 
"INBOX.sent-mail"')DEBUG[imap]:   57:28.10 untagged_responses[LIST] 5 += 
["(\HasNoChildren) "." "INBOX.sent-mail""]
DEBUG[imap]:   57:28.11 < * LIST (\HasChildren) "." "public"
DEBUG[imap]:   57:28.11         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasChildren) "." "public"', '(\\HasChildren) "." "public"')
DEBUG[imap]:   57:28.11 untagged_responses[LIST] 6 += ["(\HasChildren) "." 
"public""]
DEBUG[imap]:   57:28.11 < * LIST (\HasNoChildren) "." "public.quarantine"
DEBUG[imap]:   57:28.11         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('LIST', ' (\\HasNoChildren) "." "public.quarantine"', '(\\HasNoChildren) 
"." "public.quarantine"')
DEBUG[imap]:   57:28.11 untagged_responses[LIST] 7 += ["(\HasNoChildren) "." 
"public.quarantine""]
DEBUG[imap]:   57:28.11 < EEPD3 OK Completed (0.010 secs 9 calls)
DEBUG[imap]:   57:28.11         matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('EEPD3', 'OK', 'Completed (0.010 secs 9 calls)')
DEBUG[imap]:   57:28.11 untagged_responses[LIST] => ['(\\HasChildren) "." 
"INBOX"', '(\\HasNoChildren) "." "INBOX.Drafts"', '(\\HasNoChildren) "." 
"INBOX.Sent"', '(\\HasNoChildren) "." "INBOX.Trash"', '(\\HasNoChildren) "." 
"INBOX.drafts"', '(\\HasNoChildren) "." "INBOX.sent-mail"', '(\\HasChildren) 
"." "public"', '(\\HasNoChildren) "." "public.quarantine"']
DEBUG[imap]: imapsplit() called with input: (\HasChildren) "." "INBOX"
DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', '"."', '"INBOX"']
DEBUG[imap]: imapsplit() called with input: \HasChildren
DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
DEBUG[imap]: dequote() called with input: "INBOX"
DEBUG[imap]: dequote() returning: INBOX
DEBUG[imap]: dequote() called with input: INBOX
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Drafts"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', 
'"INBOX.Drafts"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "INBOX.Drafts"
DEBUG[imap]: dequote() returning: INBOX.Drafts
DEBUG[imap]: dequote() called with input: INBOX.Drafts
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Sent"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.Sent"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "INBOX.Sent"
DEBUG[imap]: dequote() returning: INBOX.Sent
DEBUG[imap]: dequote() called with input: INBOX.Sent
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Trash"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', 
'"INBOX.Trash"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "INBOX.Trash"
DEBUG[imap]: dequote() returning: INBOX.Trash
DEBUG[imap]: dequote() called with input: INBOX.Trash
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." "INBOX.drafts"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', 
'"INBOX.drafts"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "INBOX.drafts"
DEBUG[imap]: dequote() returning: INBOX.drafts
DEBUG[imap]: dequote() called with input: INBOX.drafts
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." 
"INBOX.sent-mail"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', 
'"INBOX.sent-mail"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "INBOX.sent-mail"
DEBUG[imap]: dequote() returning: INBOX.sent-mail
DEBUG[imap]: dequote() called with input: INBOX.sent-mail
DEBUG[imap]: imapsplit() called with input: (\HasChildren) "." "public"
DEBUG[imap]: imapsplit() returning: ['(\\HasChildren)', '"."', '"public"']
DEBUG[imap]: imapsplit() called with input: \HasChildren
DEBUG[imap]: imapsplit() returning: ['\\HasChildren']
DEBUG[imap]: dequote() called with input: "public"
DEBUG[imap]: dequote() returning: public
DEBUG[imap]: dequote() called with input: public
DEBUG[imap]: imapsplit() called with input: (\HasNoChildren) "." 
"public.quarantine"
DEBUG[imap]: imapsplit() returning: ['(\\HasNoChildren)', '"."', 
'"public.quarantine"']
DEBUG[imap]: imapsplit() called with input: \HasNoChildren
DEBUG[imap]: imapsplit() returning: ['\\HasNoChildren']
DEBUG[imap]: dequote() called with input: "public.quarantine"
DEBUG[imap]: dequote() returning: public.quarantine
DEBUG[imap]: dequote() called with input: public.quarantine .
Syncing INBOX: IMAP -> Maildir

.
Scanning folder [Maildir/INBOX]
DEBUG[imap]:   57:28.16 > EEPD4 SELECT INBOX
DEBUG[imap]:   57:29.01 < * FLAGS (\Answered \Flagged \Draft \Deleted \Seen 
$Forwarded $MDNSent $label4 $label5 $label1 $label2 $label3)
DEBUG[imap]:   57:29.01         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('FLAGS', ' (\\Answered \\Flagged \\Draft \\Deleted \\Seen $Forwarded 
$MDNSent $label4 $label5
$label1 $label2 $label3)', '(\\Answered \\Flagged \\Draft \\Deleted \\Seen 
$Forwarded $MDNSent $label4 $label5 $label1 $label2 $label3)')
DEBUG[imap]:   57:29.01 untagged_responses[FLAGS] 0 += ["(\Answered \Flagged 
\Draft \Deleted \Seen $Forwarded $MDNSent $label4 $label5 $label1 $label2 
$label3)"]
DEBUG[imap]:   57:29.01 < * OK [PERMANENTFLAGS (\Seen)]  
DEBUG[imap]:   57:29.01         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('OK', ' [PERMANENTFLAGS (\\Seen)]  ', '[PERMANENTFLAGS (\\Seen)]  ')
DEBUG[imap]:   57:29.01 untagged_responses[OK] 0 += ["[PERMANENTFLAGS (\Seen)]  
"]
DEBUG[imap]:   57:29.01         matched r'\[(?P<type>[A-Z-]+)( 
(?P<data>[^\]]*))?\]' => ('PERMANENTFLAGS', ' (\\Seen)', '(\\Seen)')
DEBUG[imap]:   57:29.01 untagged_responses[PERMANENTFLAGS] 0 += ["(\Seen)"]
DEBUG[imap]:   57:29.01 < * 1995 EXISTS
DEBUG[imap]:   57:29.01         matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( 
(?P<data2>.*))?' => ('1995', 'EXISTS', None, None)
DEBUG[imap]:   57:29.02 untagged_responses[EXISTS] 0 += ["1995"]
DEBUG[imap]:   57:29.02 < * 0 RECENT
DEBUG[imap]:   57:29.02         matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( 
(?P<data2>.*))?' => ('0', 'RECENT', None, None)
DEBUG[imap]:   57:29.02 untagged_responses[RECENT] 0 += ["0"]
DEBUG[imap]:   57:29.02 < * OK [UIDVALIDITY 1227511064]  
DEBUG[imap]:   57:29.02         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('OK', ' [UIDVALIDITY 1227511064]  ', '[UIDVALIDITY 1227511064]  ')
DEBUG[imap]:   57:29.02 untagged_responses[OK] 1 += ["[UIDVALIDITY 1227511064]  
"]
DEBUG[imap]:   57:29.02         matched r'\[(?P<type>[A-Z-]+)( 
(?P<data>[^\]]*))?\]' => ('UIDVALIDITY', ' 1227511064', '1227511064')
DEBUG[imap]:   57:29.02 untagged_responses[UIDVALIDITY] 0 += ["1227511064"]
DEBUG[imap]:   57:29.02 < * OK [UIDNEXT 2001]  
DEBUG[imap]:   57:29.02         matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' 
=> ('OK', ' [UIDNEXT 2001]  ', '[UIDNEXT 2001]  ')
DEBUG[imap]:   57:29.02 untagged_responses[OK] 2 += ["[UIDNEXT 2001]  "]
DEBUG[imap]:   57:29.02         matched r'\[(?P<type>[A-Z-]+)( 
(?P<data>[^\]]*))?\]' => ('UIDNEXT', ' 2001', '2001')
DEBUG[imap]:   57:29.02 untagged_responses[UIDNEXT] 0 += ["2001"]
DEBUG[imap]:   57:29.02 < EEPD4 OK [READ-ONLY] Completed
DEBUG[imap]:   57:29.02         matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('EEPD4', 'OK', '[READ-ONLY] Completed')
DEBUG[imap]:   57:29.03         matched r'\[(?P<type>[A-Z-]+)( 
(?P<data>[^\]]*))?\]' => ('READ-ONLY', None, None)
DEBUG[imap]:   57:29.03 untagged_responses[READ-ONLY] 0 += [""]
DEBUG[imap]:   57:29.03 untagged responses dump:
 OK: "[PERMANENTFLAGS (\Seen)]  " "[UIDVALIDITY 1227511064]  " "[UIDNEXT 2001]  
"
 EXISTS: "1995"
 PERMANENTFLAGS: "(\Seen)"
 UIDNEXT: "2001"
 FLAGS: "(\Answered \Flagged \Draft \Deleted \Seen $Forwarded $MDNSent $label4 
$label5 $label1 $label2 $label3)"
 UIDVALIDITY: "1227511064"
 READ-ONLY: ""
 RECENT: "0"

.
Syncing INBOX.Drafts: IMAP -> Maildir.
Scanning folder [Maildir/INBOX.Drafts].
Syncing INBOX.Sent: IMAP -> Maildir.
Scanning folder [Maildir/INBOX.Sent].
Syncing INBOX.Trash: IMAP -> Maildir.
Scanning folder [Maildir/INBOX.Trash].
Syncing INBOX.drafts: IMAP -> Maildir.
Scanning folder [Maildir/INBOX.drafts].
Syncing INBOX.sent-mail: IMAP -> Maildir.
Scanning folder [Maildir/INBOX.sent-mail].
Syncing public: IMAP -> Maildir

.
Scanning folder [Maildir/public]

.
Syncing public.quarantine: IMAP -> Maildir.
Scanning folder [Maildir/public.quarantine]
***** Finished processing account test



Thread 'Folder sync test[INBOX]' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/offlineimap/threadutil.py", line 149, 
in run
    Thread.run(self)
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/offlineimap/accounts.py", line 319, in 
syncfolder
    remotefolder.saveuidvalidity()
  File "/usr/lib/python2.5/site-packages/offlineimap/folder/Base.py", line 106, 
in saveuidvalidity
    newval = self.getuidvalidity()
  File "/usr/lib/python2.5/site-packages/offlineimap/folder/IMAP.py", line 73, 
in getuidvalidity
    self.selectro(imapobj)
  File "/usr/lib/python2.5/site-packages/offlineimap/folder/IMAP.py", line 52, 
in selectro
    imapobj.select(self.getfullname(), readonly = 1)
  File "/usr/lib/python2.5/site-packages/offlineimap/imapserver.py", line 47, 
in select
    if (not force) and self.getselectedfolder() == mailbox \
  File "/usr/lib/python2.5/site-packages/offlineimap/imapserver.py", line 43, 
in getselectedfolder
    return self.selectedfolder
  File "/usr/lib/python2.5/imaplib.py", line 214, in __getattr__
    raise AttributeError("Unknown IMAP4 command: '%s'" % attr)
AttributeError: Unknown IMAP4 command: 'selectedfolder'


Last 30 debug messages logged for Folder sync test[INBOX] prior to exception:
imap:   57:28.16 > EEPD4 SELECT INBOX
imap:   57:29.01 < * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded 
$MDNSent $label4 $label5 $label1 $label2 $label3)
imap:   57:29.01 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('FLAGS', ' 
(\\Answered \\Flagged \\Draft \\Deleted \\Seen $Forwarded $MDNSent $label4 
$label5 $label1 $label2 $label3)', '(\\Answered \\Flagged \\Draft \\Deleted 
\\Seen $Forwarded $MDNSent $label4 $label5 $label1 $label2 $label3)')
imap:   57:29.01 untagged_responses[FLAGS] 0 += ["(\Answered \Flagged \Draft 
\Deleted \Seen $Forwarded $MDNSent $label4 $label5 $label1 $label2 $label3)"]
imap:   57:29.01 < * OK [PERMANENTFLAGS (\Seen)]  
imap:   57:29.01 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' 
[PERMANENTFLAGS (\\Seen)]  ', '[PERMANENTFLAGS (\\Seen)]  ')
imap:   57:29.01 untagged_responses[OK] 0 += ["[PERMANENTFLAGS (\Seen)]  "]
imap:   57:29.01 matched r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => 
('PERMANENTFLAGS', ' (\\Seen)', '(\\Seen)')
imap:   57:29.01 untagged_responses[PERMANENTFLAGS] 0 += ["(\Seen)"]
imap:   57:29.01 < * 1995 EXISTS
imap:   57:29.01 matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?' 
=> ('1995', 'EXISTS', None, None)
imap:   57:29.02 untagged_responses[EXISTS] 0 += ["1995"]
imap:   57:29.02 < * 0 RECENT
imap:   57:29.02 matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?' 
=> ('0', 'RECENT', None, None)
imap:   57:29.02 untagged_responses[RECENT] 0 += ["0"]
imap:   57:29.02 < * OK [UIDVALIDITY 1227511064]  
imap:   57:29.02 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' 
[UIDVALIDITY 1227511064]  ', '[UIDVALIDITY 1227511064]  ')
imap:   57:29.02 untagged_responses[OK] 1 += ["[UIDVALIDITY 1227511064]  "]
imap:   57:29.02 matched r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => 
('UIDVALIDITY', ' 1227511064', '1227511064')
imap:   57:29.02 untagged_responses[UIDVALIDITY] 0 += ["1227511064"]
imap:   57:29.02 < * OK [UIDNEXT 2001]  
imap:   57:29.02 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' 
[UIDNEXT 2001]  ', '[UIDNEXT 2001]  ')
imap:   57:29.02 untagged_responses[OK] 2 += ["[UIDNEXT 2001]  "]
imap:   57:29.02 matched r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => 
('UIDNEXT', ' 2001', '2001')
imap:   57:29.02 untagged_responses[UIDNEXT] 0 += ["2001"]
imap:   57:29.02 < EEPD4 OK [READ-ONLY] Completed
imap:   57:29.02 matched r'(?P<tag>EEPD\d+) (?P<type>[A-Z]+) (?P<data>.*)' => 
('EEPD4', 'OK', '[READ-ONLY] Completed')
imap:   57:29.03 matched r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]' => 
('READ-ONLY', None, None)
imap:   57:29.03 untagged_responses[READ-ONLY] 0 += [""]
imap:   57:29.03 untagged responses dump:
OK: "[PERMANENTFLAGS (\Seen)]  " "[UIDVALIDITY 1227511064]  " "[UIDNEXT 2001]  "
EXISTS: "1995"
PERMANENTFLAGS: "(\Seen)"
UIDNEXT: "2001"
FLAGS: "(\Answered \Flagged \Draft \Deleted \Seen $Forwarded $MDNSent $label4 
$label5 $label1 $label2 $label3)"
UIDVALIDITY: "1227511064"
READ-ONLY: ""
RECENT: "0"
hqit@sgmarch1:/store/offlineimap$ 


[Prev in Thread] Current Thread [Next in Thread]