[offlineimap] Crash on OSX Yosemite python 2.7.6 (#205)

Gabriel notifications at github.com
Thu May 21 16:27:11 BST 2015


Hi !

I'm trying to synch my email (quantity: 90k), and it keeps crashing.
Here is the log : 

```
Last 7 debug messages logged for Copy message from Remote:INBOX prior to exception:
thread: Register new thread 'Copy message from Remote:INBOX' (account 'Gabriel')
imap: Using STARTTLS connection
imap: Attempting PLAIN authentication
imap: __plainhandler: returning gabriel at soixantecircuits.frXXXXXXXXX
imap: Using STARTTLS connection
imap: Attempting PLAIN authentication
imap: __plainhandler: returning gabriel at soixantecircuits.frXXXXXXXXX
ERROR: Exceptions occurred during the run!
ERROR: command: UID => socket error: <class 'socket.error'> - [Errno 54] Connection reset by peer

Traceback:
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/folder/IMAP.py", line 660, in _fetch_from_imap
    res_type, data = imapobj.uid('fetch', uids, query)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1167, in uid
    return self._simple_command('UID', command, *args, **kw)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1615, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1378, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 176, in get_response
    raise typ(exc_fmt % str(val))

ERROR: command: UID => socket error: <class 'socket.error'> - [Errno 54] Connection reset by peer

Traceback:
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/folder/IMAP.py", line 660, in _fetch_from_imap
    res_type, data = imapobj.uid('fetch', uids, query)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1167, in uid
    return self._simple_command('UID', command, *args, **kw)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1615, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 1378, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 176, in get_response
    raise typ(exc_fmt % str(val))

ERROR: Copying message 22004 [acc: Gabriel]
  list.remove(x): x not in list

Traceback:
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/folder/Base.py", line 581, in copymessageto
    message = self.getmessage(uid)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/folder/IMAP.py", line 267, in getmessage
    self.imapserver.releaseconnection(imapobj)
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imapserver.py", line 131, in releaseconnection
    self.assignedconnections.remove(connection)
```



---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150521/35c77410/attachment-0002.html>


More information about the OfflineIMAP-project mailing list