Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])

ael law_ence.dev at ntlworld.com
Wed Apr 25 21:02:53 BST 2012


I have just upgraded to 6.5.3.1 with a git clone. Before I was running
the very old debian package.

I have several mail accounts. Those on a (badge engineered) gmail
server are now failing with what I think is an old bug.

For example:
---------------------------------------------------------
$ offlineimap -a ntl 
OfflineIMAP 6.5.3.1
  Licensed under the GNU GPL v2+ (v2 or any later version)
Account sync ntl:
 *** Processing account ntl
 Establishing connection to imap.ntlworld.com:993
Enter password for account 'ntlserv': 
 Creating folder [Gmail]/Starred[ntlserv]
 ERROR: Creating folder [Gmail]/Starred on repository ntlserv
  Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 ERROR: Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 *** Finished account 'ntl' in 0:06
ERROR: Exceptions occurred during the run!
ERROR: Creating folder [Gmail]/Starred on repository ntlserv
  Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
ERROR: Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])

-----------------------------------------------------------------------

The relevant part of my .offlineimaprc is:
==========================================================


[general]
accounts = lboro,ntl,ntlspam,new_lboro,oucs
#fsync false to conserve flash write cycles (SSD on this machine)
fsync = false

[Account ntl]
localrepository = ntlimap
remoterepository = ntlserv

[Repository ntlimap]
type = Maildir
localfolders = ~/Mail/ntl_imap
sep = /
restoreatime = yes

[Repository ntlserv]
type = Gmail
ssl = yes
remoteprt = 993
remotehost = imap.ntlworld.com
remoteuser = user at ntlworld.com
trashfolder = [Gmail]/Bin
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Bin']

====================================================================

Running with --info fails, but with -d imap gives

$ offlineimap -a ntl -d imap -1

-------------------------------------------------


OfflineIMAP 6.5.3.1
  Licensed under the GNU GPL v2+ (v2 or any later version)
Debug mode: Forcing to singlethreaded.
Now debugging for imap: IMAP protocol debugging
Now debugging for : Other offlineimap related sync messages
Account sync ntl:
 *** Processing account ntl
 Establishing connection to imap.ntlworld.com:993
 [imap]:   53:10.12 Account sync ntl imaplib2 version 2.29
 [imap]:   53:10.12 Account sync ntl imaplib2 debug level 5, buffer level 3
imap.ntlworld.com writer:
 [imap]:   53:10.31 imap.ntlworld.com writer starting
Account sync ntl:
 [imap]:   53:10.32 Account sync ntl _request_push(continuation, None, {}) = JIAL0
 [imap]:   53:10.32 Account sync ntl None:JIAL0.ready.wait
imap.ntlworld.com reader:
 [imap]:   53:10.32 imap.ntlworld.com reader starting using poll
 [imap]:   53:10.32 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:10.32 imap.ntlworld.com reader rcvd 56
 [imap]:   53:10.32 imap.ntlworld.com reader < * OK Virgin Media IMAP4 server ready [ e4c558782NTL ].\r\n
imap.ntlworld.com handler:
 [imap]:   53:10.42 imap.ntlworld.com handler starting
 [imap]:   53:10.42 imap.ntlworld.com handler untagged_responses[OK] 0 += ["Virgin Media IMAP4 server ready [ e4c558782NTL ]."]
 [imap]:   53:10.42 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:10.42 imap.ntlworld.com handler _request_pop(continuation, (False, '* OK Virgin Media IMAP4 server ready [ e4c558782NTL ].')) = JIAL0
 [imap]:   53:10.42 imap.ntlworld.com handler None:JIAL0.ready.set
Account sync ntl:
 [imap]:   53:10.42 Account sync ntl _get_untagged_response(OK) => ['Virgin Media IMAP4 server ready [ e4c558782NTL ].']
 [imap]:   53:10.43 Account sync ntl state => NONAUTH
 [imap]:   53:10.43 Account sync ntl [async] CAPABILITY ()
 [imap]:   53:10.43 Account sync ntl state_change_pending.acquire
 [imap]:   53:10.43 Account sync ntl state_change_pending.release
 [imap]:   53:10.43 Account sync ntl _request_push(JIAL1, CAPABILITY, {}) = JIAL1
 [imap]:   53:10.43 Account sync ntl data=JIAL1 CAPABILITY
 [imap]:   53:10.43 Account sync ntl CAPABILITY:JIAL1.ready.wait
imap.ntlworld.com writer:
 [imap]:   53:10.43 imap.ntlworld.com writer > JIAL1 CAPABILITY\r\n
imap.ntlworld.com reader:
 [imap]:   53:10.46 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:10.46 imap.ntlworld.com reader rcvd 34
 [imap]:   53:10.46 imap.ntlworld.com reader < * CAPABILITY IMAP4rev1 NAMESPACE\r\n
 [imap]:   53:10.46 imap.ntlworld.com reader poll => [(4, 1)]
imap.ntlworld.com handler:
 [imap]:   53:10.47 imap.ntlworld.com handler untagged_responses[CAPABILITY] 0 += ["IMAP4rev1 NAMESPACE"]
imap.ntlworld.com reader:
 [imap]:   53:10.47 imap.ntlworld.com reader rcvd 32
 [imap]:   53:10.47 imap.ntlworld.com reader < JIAL1 OK CAPABILITY completed.\r\n
imap.ntlworld.com handler:
 [imap]:   53:10.47 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:10.47 imap.ntlworld.com handler _request_pop(JIAL1, ('OK', ['CAPABILITY completed.'])) = JIAL1
Account sync ntl:
 [imap]:   53:10.47 Account sync ntl _get_untagged_response(CAPABILITY) => ['IMAP4rev1 NAMESPACE']
 [imap]:   53:10.47 Account sync ntl _untagged_response(OK, ?, CAPABILITY) => ['IMAP4rev1 NAMESPACE']
 [imap]:   53:10.47 Account sync ntl CAPABILITY: ('IMAP4REV1', 'NAMESPACE')
 [imap]: Attempting plain authentication
imap.ntlworld.com handler:
 [imap]:   53:10.48 imap.ntlworld.com handler CAPABILITY:JIAL1.ready.set
Account sync ntl:
 [imap]:   53:14.45 Account sync ntl [sync] LOGIN ('user at ntlworld.com', '"password"')
 [imap]:   53:14.45 Account sync ntl state_change_pending.acquire
 [imap]:   53:14.45 Account sync ntl _request_push(JIAL2, LOGIN, {}) = JIAL2
 [imap]:   53:14.45 Account sync ntl data=JIAL2 LOGIN user at ntlworld.com "password"
 [imap]:   53:14.45 Account sync ntl LOGIN:JIAL2.ready.wait
imap.ntlworld.com writer:
 [imap]:   53:14.45 imap.ntlworld.com writer > JIAL2 LOGIN user at ntlworld.com "password"\r\n
imap.ntlworld.com reader:
 [imap]:   53:15.00 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.00 imap.ntlworld.com reader rcvd 76
 [imap]:   53:15.00 imap.ntlworld.com reader < JIAL2 OK user at ntlworld.com LAWRENCE ADRIAN authenticated (Success)\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.01 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.01 imap.ntlworld.com handler _request_pop(JIAL2, ('OK', ['user at ntlworld.com LAWRENCE ADRIAN authenticated (Success)'])) = JIAL2
 [imap]:   53:15.01 imap.ntlworld.com handler LOGIN:JIAL2.ready.set
Account sync ntl:
 [imap]:   53:15.01 Account sync ntl state => AUTH
 [imap]:   53:15.01 Account sync ntl state_change_pending.release
 [imap]:   53:15.01 Account sync ntl [async] CAPABILITY ()
 [imap]:   53:15.01 Account sync ntl state_change_pending.acquire
 [imap]:   53:15.01 Account sync ntl state_change_pending.release
 [imap]:   53:15.01 Account sync ntl _request_push(JIAL3, CAPABILITY, {}) = JIAL3
 [imap]:   53:15.01 Account sync ntl data=JIAL3 CAPABILITY
imap.ntlworld.com writer:
 [imap]:   53:15.01 imap.ntlworld.com writer > JIAL3 CAPABILITY\r\n
Account sync ntl:
 [imap]:   53:15.02 Account sync ntl CAPABILITY:JIAL3.ready.wait
imap.ntlworld.com reader:
 [imap]:   53:15.15 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.16 imap.ntlworld.com reader rcvd 126
 [imap]:   53:15.16 imap.ntlworld.com reader < * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE\r\n
 [imap]:   53:15.16 imap.ntlworld.com reader < JIAL3 OK Success\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.16 imap.ntlworld.com handler untagged_responses[CAPABILITY] 0 += ["IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE"]
 [imap]:   53:15.16 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.16 imap.ntlworld.com handler _request_pop(JIAL3, ('OK', ['Success'])) = JIAL3
 [imap]:   53:15.16 imap.ntlworld.com handler CAPABILITY:JIAL3.ready.set
Account sync ntl:
 [imap]:   53:15.16 Account sync ntl _get_untagged_response(CAPABILITY) => ['IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE']
 [imap]:   53:15.17 Account sync ntl _untagged_response(OK, ?, CAPABILITY) => ['IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE']
 [imap]:   53:15.17 Account sync ntl [async] LIST ('', '""')
 [imap]:   53:15.17 Account sync ntl state_change_pending.acquire
 [imap]:   53:15.17 Account sync ntl state_change_pending.release
 [imap]:   53:15.17 Account sync ntl _request_push(JIAL4, LIST, {}) = JIAL4
 [imap]:   53:15.17 Account sync ntl data=JIAL4 LIST "" ""
 [imap]:   53:15.17 Account sync ntl LIST:JIAL4.ready.wait
imap.ntlworld.com writer:
 [imap]:   53:15.18 imap.ntlworld.com writer > JIAL4 LIST "" ""\r\n
imap.ntlworld.com reader:
 [imap]:   53:15.31 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.32 imap.ntlworld.com reader rcvd 46
 [imap]:   53:15.32 imap.ntlworld.com reader < * LIST (\Noselect) "/" "/"\r\n
 [imap]:   53:15.32 imap.ntlworld.com reader < JIAL4 OK Success\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.32 imap.ntlworld.com handler untagged_responses[LIST] 0 += ["(\Noselect) "/" "/""]
 [imap]:   53:15.32 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.32 imap.ntlworld.com handler _request_pop(JIAL4, ('OK', ['Success'])) = JIAL4
 [imap]:   53:15.32 imap.ntlworld.com handler LIST:JIAL4.ready.set
Account sync ntl:
 [imap]:   53:15.32 Account sync ntl _get_untagged_response(LIST) => ['(\\Noselect) "/" "/"']
 [imap]:   53:15.32 Account sync ntl _untagged_response(OK, ?, LIST) => ['(\\Noselect) "/" "/"']
 [imap]:   53:15.32 Account sync ntl [async] LIST ('', '*')
 [imap]:   53:15.32 Account sync ntl state_change_pending.acquire
 [imap]:   53:15.33 Account sync ntl state_change_pending.release
 [imap]:   53:15.33 Account sync ntl _request_push(JIAL5, LIST, {}) = JIAL5
 [imap]:   53:15.33 Account sync ntl data=JIAL5 LIST "" "*"
imap.ntlworld.com writer:
 [imap]:   53:15.33 imap.ntlworld.com writer > JIAL5 LIST "" "*"\r\n
Account sync ntl:
 [imap]:   53:15.33 Account sync ntl LIST:JIAL5.ready.wait
imap.ntlworld.com reader:
 [imap]:   53:15.48 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.48 imap.ntlworld.com reader rcvd 369
 [imap]:   53:15.48 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "INBOX"\r\n
 [imap]:   53:15.48 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "Misc"\r\n
 [imap]:   53:15.48 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "Spam"\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.49 imap.ntlworld.com handler untagged_responses[LIST] 0 += ["(\HasNoChildren) "/" "INBOX""]
 [imap]:   53:15.49 imap.ntlworld.com handler untagged_responses[LIST] 1 += ["(\HasNoChildren) "/" "Misc""]
 [imap]:   53:15.49 imap.ntlworld.com handler untagged_responses[LIST] 2 += ["(\HasNoChildren) "/" "Spam""]
imap.ntlworld.com reader:
 [imap]:   53:15.49 imap.ntlworld.com reader < * LIST (\Noselect \HasChildren) "/" "[Gmail]"\r\n
 [imap]:   53:15.49 imap.ntlworld.com reader < * LIST (\HasChildren \HasNoChildren) "/" "[Gmail]/Bin"\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.49 imap.ntlworld.com handler untagged_responses[LIST] 3 += ["(\Noselect \HasChildren) "/" "[Gmail]""]
imap.ntlworld.com reader:
 [imap]:   53:15.49 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "[Gmail]/Drafts"\r\n
 [imap]:   53:15.49 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "[Gmail]/Sent Mail"\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.49 imap.ntlworld.com handler untagged_responses[LIST] 4 += ["(\HasChildren \HasNoChildren) "/" "[Gmail]/Bin""]
imap.ntlworld.com reader:
 [imap]:   53:15.50 imap.ntlworld.com reader < * LIST (\HasNoChildren) "/" "[Gmail]/Spam"\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.50 imap.ntlworld.com handler untagged_responses[LIST] 5 += ["(\HasNoChildren) "/" "[Gmail]/Drafts""]
imap.ntlworld.com reader:
 [imap]:   53:15.50 imap.ntlworld.com reader < JIAL5 OK Success\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.50 imap.ntlworld.com handler untagged_responses[LIST] 6 += ["(\HasNoChildren) "/" "[Gmail]/Sent Mail""]
 [imap]:   53:15.50 imap.ntlworld.com handler untagged_responses[LIST] 7 += ["(\HasNoChildren) "/" "[Gmail]/Spam""]
 [imap]:   53:15.50 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.50 imap.ntlworld.com handler _request_pop(JIAL5, ('OK', ['Success'])) = JIAL5
 [imap]:   53:15.50 imap.ntlworld.com handler LIST:JIAL5.ready.set
Account sync ntl:
 [imap]:   53:15.50 Account sync ntl _get_untagged_response(LIST) => ['(\\HasNoChildren) "/" "INBOX"', '(\\HasNoChildren) "/" "Misc"', '(\\HasNoChildren) "/" "Spam"', '(\\Noselect \\HasChildren) "/" "[Gmail]"', '(\\HasChildren \\HasNoChildren) "/" "[Gmail]/Bin"', '(\\HasNoChildren) "/" "[Gmail]/Drafts"', '(\\HasNoChildren) "/" "[Gmail]/Sent Mail"', '(\\HasNoChildren) "/" "[Gmail]/Spam"']
 [imap]:   53:15.51 Account sync ntl _untagged_response(OK, ?, LIST) => ['(\\HasNoChildren) "/" "INBOX"', '(\\HasNoChildren) "/" "Misc"', '(\\HasNoChildren) "/" "Spam"', '(\\Noselect \\HasChildren) "/" "[Gmail]"', '(\\HasChildren \\HasNoChildren) "/" "[Gmail]/Bin"', '(\\HasNoChildren) "/" "[Gmail]/Drafts"', '(\\HasNoChildren) "/" "[Gmail]/Sent Mail"', '(\\HasNoChildren) "/" "[Gmail]/Spam"']
 [imap]: Filtering out '[Gmail]/Bin'[ntlserv] due to folderfilter
 Creating folder [Gmail]/Starred[ntlserv]
 [imap]:   53:15.53 Account sync ntl [async] CREATE ('[Gmail]/Starred',)
 [imap]:   53:15.53 Account sync ntl state_change_pending.acquire
 [imap]:   53:15.53 Account sync ntl state_change_pending.release
 [imap]:   53:15.53 Account sync ntl _request_push(JIAL6, CREATE, {}) = JIAL6
 [imap]:   53:15.53 Account sync ntl data=JIAL6 CREATE "[Gmail]/Starred"
imap.ntlworld.com writer:
 [imap]:   53:15.54 imap.ntlworld.com writer > JIAL6 CREATE "[Gmail]/Starred"\r\n
Account sync ntl:
 [imap]:   53:15.54 Account sync ntl CREATE:JIAL6.ready.wait
imap.ntlworld.com reader:
 [imap]:   53:15.68 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.68 imap.ntlworld.com reader rcvd 58
 [imap]:   53:15.68 imap.ntlworld.com reader < JIAL6 NO [ALREADYEXISTS] Duplicate folder name (Failure)\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.68 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.68 imap.ntlworld.com handler _request_pop(JIAL6, ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])) = JIAL6
 [imap]:   53:15.68 imap.ntlworld.com handler CREATE:JIAL6.ready.set
 [imap]:   53:15.69 imap.ntlworld.com handler untagged_responses[ALREADYEXISTS] 0 += [""]
 [imap]:   53:15.69 imap.ntlworld.com handler NO response: [ALREADYEXISTS] Duplicate folder name (Failure)
Account sync ntl:
 ERROR: Creating folder [Gmail]/Starred on repository ntlserv
  Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 ['  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/Base.py", line 214, in sync_folder_structure\n    src_repo.makefolder(dst_name_t)\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/IMAP.py", line 357, in makefolder\n    OfflineImapError.ERROR.FOLDER)\n']
 [imap]:   53:15.69 Account sync ntl state => LOGOUT
 [imap]:   53:15.70 Account sync ntl [sync] LOGOUT ()
 [imap]:   53:15.70 Account sync ntl state_change_pending.acquire
 [imap]:   53:15.70 Account sync ntl _request_push(JIAL7, LOGOUT, {}) = JIAL7
 [imap]:   53:15.70 Account sync ntl data=JIAL7 LOGOUT
 [imap]:   53:15.70 Account sync ntl LOGOUT:JIAL7.ready.wait
imap.ntlworld.com writer:
 [imap]:   53:15.70 imap.ntlworld.com writer > JIAL7 LOGOUT\r\n
imap.ntlworld.com reader:
 [imap]:   53:15.84 imap.ntlworld.com reader poll => [(4, 1)]
 [imap]:   53:15.84 imap.ntlworld.com reader rcvd 56
 [imap]:   53:15.84 imap.ntlworld.com reader < * BYE LOGOUT Requested\r\n
imap.ntlworld.com handler:
 [imap]:   53:15.84 imap.ntlworld.com handler untagged_responses[BYE] 0 += ["LOGOUT Requested"]
 [imap]:   53:15.84 imap.ntlworld.com handler BYE response: LOGOUT Requested
 [imap]:   53:15.85 imap.ntlworld.com handler terminating: 'connection terminated'
 [imap]:   53:15.85 imap.ntlworld.com handler LOGOUT:JIAL7.ready.set
imap.ntlworld.com reader:
 [imap]:   53:15.85 imap.ntlworld.com reader < JIAL7 OK 73 good day (Success)\r\n
 [imap]:   53:15.85 imap.ntlworld.com reader finished
imap.ntlworld.com writer:
 [imap]:   53:15.85 imap.ntlworld.com writer finished
imap.ntlworld.com handler:
 [imap]:   53:15.85 imap.ntlworld.com handler state_change_free.set
 [imap]:   53:15.85 imap.ntlworld.com handler finished
Account sync ntl:
 [imap]:   53:15.85 Account sync ntl ["<class 'offlineimap.imaplib2.abort'>: command: LOGOUT => connection terminated"]
 [imap]:   53:15.85 Account sync ntl _close_threads
 [imap]:   53:15.85 Account sync ntl call shutdown
 [imap]:   53:15.86 Account sync ntl state_change_pending.release
 [imap]:   53:15.86 Account sync ntl connection closed
 [imap]:   53:15.86 Account sync ntl _get_untagged_response(BYE) => ['LOGOUT Requested']
 ERROR: Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 ['  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 234, in syncrunner\n    self.sync()\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 294, in sync\n    remoterepos.sync_folder_structure(localrepos, statusrepos)\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/Base.py", line 214, in sync_folder_structure\n    src_repo.makefolder(dst_name_t)\n', '  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/IMAP.py", line 357, in makefolder\n    OfflineImapError.ERROR.FOLDER)\n']
 *** Finished account 'ntl' in 0:05
 ERROR: Exceptions occurred during the run!
 ERROR: Creating folder [Gmail]/Starred on repository ntlserv
  Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 
Traceback:
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/Base.py", line 214, in sync_folder_structure
    src_repo.makefolder(dst_name_t)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/IMAP.py", line 357, in makefolder
    OfflineImapError.ERROR.FOLDER)

 ERROR: Folder '[Gmail]/Starred'[ntlserv] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Duplicate folder name (Failure)'])
 
Traceback:
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 234, in syncrunner
    self.sync()
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 294, in sync
    remoterepos.sync_folder_structure(localrepos, statusrepos)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/Base.py", line 214, in sync_folder_structure
    src_repo.makefolder(dst_name_t)
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/repository/IMAP.py", line 357, in makefolder
    OfflineImapError.ERROR.FOLDER)

----------------------------------------------------------------------------

I had cleared the ~/.offlineimap/ directory before trying the new
6.5.3.1 version.

ael





More information about the OfflineIMAP-project mailing list