Estou configurando o Offlineimap e o Mutt no OSX Snow Leopard. Estou quase terminando e tenho 5 contas funcionando / sincronizando. No entanto, meu Gmail principal falha toda vez que tento sincronizá-lo! Não sei o que está acontecendo, pois as outras contas também estão no Gmail e não apresentam problemas. A conta principal do Gmail tem muito mais mensagens nele (> 5gb) - talvez seja esse o problema? Eu pesquisei essa mensagem de erro indefinidamente e não encontrei nada. A mensagem de erro indica "OSError: [Errno 17] Arquivo existe: '[Gmail] .Sent Mail'" - no entanto, eu deletei este arquivo / pasta repetidamente e certifiquei-me de que o .offlineimaprc está limpo. Além disso, as outras contas foram configuradas da mesma maneira e não apresentam esse problema. Realmente não tenho idéia de como proceder a partir daqui, mas provavelmente há uma resposta dolorosamente óbvia.
Muito obrigado!
Coelho nos trilhos
Thread 'Account sync Gmail' terminated with exception:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/threadutil.py", line 149, in run
Thread.run(self)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py", line 183, in syncrunner
self.sync(siglistener)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py", line 220, in sync
remoterepos.syncfoldersto(localrepos, [statusrepos])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/Base.py", line 155, in syncfoldersto
dest.makefolder(key)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/Maildir.py", line 101, in makefolder
os.makedirs(foldername, 0700)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '[Gmail].Sent Mail'
Last 50 debug messages logged for Account sync Gmail prior to exception:
imap: imapsplit() called with input: \HasChildren \HasNoChildren
imap: imapsplit() returning: ['\HasChildren', '\HasNoChildren']
imap: dequote() called with input: "[Gmail]/Drafts"
imap: dequote() returning: [Gmail]/Drafts
imap: dequote() called with input: [Gmail]/Drafts
imap: imapsplit() called with input: (\HasNoChildren) "/" "[Gmail]/Sent Mail"
imap: imapsplit() returning: ['(\HasNoChildren)', '"/"', '"[Gmail]/Sent Mail"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "[Gmail]/Sent Mail"
imap: dequote() returning: [Gmail]/Sent Mail
imap: dequote() called with input: [Gmail]/Sent Mail
imap: imapsplit() called with input: (\HasChildren \HasNoChildren) "/" "[Gmail]/Starred"
imap: imapsplit() returning: ['(\HasChildren \HasNoChildren)', '"/"', '"[Gmail]/Starred"']
imap: imapsplit() called with input: \HasChildren \HasNoChildren
imap: imapsplit() returning: ['\HasChildren', '\HasNoChildren']
imap: dequote() called with input: "[Gmail]/Starred"
imap: dequote() returning: [Gmail]/Starred
imap: dequote() called with input: [Gmail]/Starred
imap: imapsplit() called with input: (\HasChildren \HasNoChildren) "/" "[Gmail]/Trash"
imap: imapsplit() returning: ['(\HasChildren \HasNoChildren)', '"/"', '"[Gmail]/Trash"']
imap: imapsplit() called with input: \HasChildren \HasNoChildren
imap: imapsplit() returning: ['\HasChildren', '\HasNoChildren']
imap: dequote() called with input: "[Gmail]/Trash"
imap