Error on syncing

Tiago Saboga tiagosaboga at gmail.com
Mon Jun 20 17:56:15 BST 2011


Hi!

First of all, kudos for your work!

I am trying to use offlineimap to sync gmail account and local
maildir. I have successfully mirrored all mails, and I am able to read
them with emacs/wanderlust, but I am facing a problem when syncing my
Trash folder.

I was first using debian version (6.3.3-3), and then switched to git,
where 6.3.4-rc2 fails with another error, but /next/ fails again on
the same point (but it's arguably better, as the program doesn't get
interrupted).

Do you have any ideas? What might I be doing wrong?

Thanks,

Tiago Saboga.

Full debug output is available at:

https://gist.github.com/884382#file_offlineimap.log

-------------------------------------- Terminal output

tiago at sofocles:~/src/offlineimap$ python2.7 offlineimap.py -d all -f
'[Gmail]/Trash' -l ~/tmp/offlineimap.log -c ~/etc/offlineimap.conf -u
ttyui
 OfflineIMAP 6.3.4-rc2
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.
 Now debugging for imap: IMAP protocol debugging
 Now debugging for maildir: Maildir repository debugging
 Now debugging for thread: Threading debugging
 Now debugging for : Other offlineimap related sync messages
Account sync tigmail:
 ***** Processing account tigmail
 Copying folder structure from Gmail to Maildir
 Establishing connection to imap.gmail.com:993.
Gmail: Enter password:
Folder sync [tigmail]:
 Syncing [Gmail]/Trash: Gmail -> Maildir
 Copy message -2 Maildir[[Gmail]/Trash] -> Gmail[[Gmail]/Trash]
 WARNING: ERROR attempting to copy message -2 for account
tigmail:Traceback (most recent call last):
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/IMAP.py",
line 457, in savemessage
    date, content)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <type 'exceptions.IOError'> -
Too many read 0

 WARNING: ERROR attempting to sync flags for account tigmail:Traceback
(most recent call last):
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 413, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 310, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/IMAP.py",
line 457, in savemessage
    date, content)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <type 'exceptions.IOError'> -
Too many read 0

 WARNING: ERROR in syncfolder for tigmail folder [Gmail]/Trash:
Traceback (most recent call last):
  File "/usr/local/src/tiago/offlineimap/offlineimap/accounts.py",
line 355, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 413, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 310, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/usr/local/src/tiago/offlineimap/offlineimap/folder/IMAP.py",
line 457, in savemessage
    date, content)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/local/src/tiago/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <type 'exceptions.IOError'> -
Too many read 0


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




More information about the OfflineIMAP-project mailing list