Hangs on a specific message
Ivan Semin
ivun at wirebyte.com
Mon Aug 8 18:35:38 BST 2011
I think it's an old bug, or at least this happens sometimes since 6.3.1
OfflineIMAP 6.3.4-rc3
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).
***** Processing account Data
Copying folder structure from Gmail to MappedIMAP
Establishing connection to imap.gmail.com:993.
Establishing connection to imap.gmail.com:993.
Syncing Apple Mail To Do: Gmail -> MappedIMAP
Syncing Deleted Messages: Gmail -> MappedIMAP
Syncing Drafts: Gmail -> MappedIMAP
Syncing Follow up: Gmail -> MappedIMAP
Syncing INBOX: Gmail -> MappedIMAP
Copy message 10390 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10391 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10392 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10393 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10395 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10396 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10397 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10398 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 10394 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 6301 Gmail[INBOX] -> MappedIMAP[INBOX]
Copy message 6302 Gmail[INBOX] -> MappedIMAP[INBOX]
Thread 'Copy message 6301 from INBOX' terminated with exception:
Traceback (most recent call last):
File "/root/offlineimap634/offlineimap/threadutil.py", line 140, in run
Thread.run(self)
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/offlineimap634/offlineimap/folder/Base.py", line 255, in
copymessageto
newuid = dstfolder.savemessage(uid, message, flags, rtime)
File "/root/offlineimap634/offlineimap/folder/UIDMaps.py", line 194,
in savemessage
newluid = self._mb.savemessage(-1, content, flags, rtime)
File "/root/offlineimap634/offlineimap/folder/IMAP.py", line 457, in
savemessage
date, content)
File "/root/offlineimap634/offlineimap/imaplib2.py", line 577, in append
return self._simple_command(name, mailbox, flags, date_time, **kw)
File "/root/offlineimap634/offlineimap/imaplib2.py", line 1549, in
_simple_command
return self._command_complete(self._command(name, *args), kw)
File "/root/offlineimap634/offlineimap/imaplib2.py", line 1310, in
_command_complete
typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
File "/root/offlineimap634/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
Last 10 debug messages logged for Copy message 6301 from INBOX prior
to exception:
thread: Register new thread 'Copy message 6301 from INBOX' (account 'Data')
imap: Returned object from fetching 6301: 'Delivered-To: data at domain.com
Received: by 10.220.202.194 with SMTP id ff2cs139283vcb;
Thu, 2 Jun 2011 02:09:03 -0700 (PDT)
Received: by...493
%%EOF
--=_0f95b56c72c61009de4af5fef4336712--
'
imap: savemessage: called
imap: savemessage: new header is: X-OfflineIMAP: 4250774975-991888488
imap: savemessage_addheader: called to add X-OfflineIMAP: 4250774975-991888488
imap: savemessage_addheader: insertionpoint = 35
imap: savemessage_addheader: leader = 'Delivered-To: data at domain.com'
imap: savemessage_addheader: newline = '\r\nX-OfflineIMAP: 4250774975-991888488'
imap: savemessage_addheader: trailer = '\r\nReceived: by
10.220.202.194 with SMTP id ff2cs139283vcb;\r\n Thu, 2 Jun 2011
02:09:03 -0700 (PDT)\r\nReceived: by 10.204.7.156 with SMTP id
d28mr510353bkd.2
8.1307005739634;\r\n <<<about 98KB of body
here>>>\r\n\r\n--=_0f95b56c72c61009de4af5fef4336712--\r\n'
imap: savemessage: date: "02-Jun-2011 09:08:40 -0800", content:
'Delivered-To: data at domain.com
X-OfflineIMAP: 4250774975-991888488
Received: by 10.220.202.194 with SMTP id ff2cs139283vcb;
Thu, 2 Jun...
%%EOF
--=_0f95b56c72c61009de4af5fef4336712--
'
If I rerun it may sync some other emails, but when it gets to this
message 6301 it fails again.
The setup is the following: remote=gmail, local=imap (really gmail,
see my message above about not being able to use gmail as local).
Remote readonly=1. Trying to copy all mail from one gmail account
("remote") to another empty one ("local"). It worked fine with another
account, copied about 8GB of data.
More information about the OfflineIMAP-project
mailing list