Opened 15 years ago

Closed 15 years ago

#18669 closed defect (wontfix)

Offlineimap crash when retriving large mails

Reported by: to.signin@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: offlineimap Cc:
Port: offlineimap

Description (last modified by mf2k (Frank Schima))

The output by offlineimap is shown below when it try to download a large mail, which is less than 10 MB.

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/threadutil.py", line 149, in run
    Thread.run(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/folder/Base.py", line 277, in copymessageto
    message = self.getmessage(uid)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/folder/IMAP.py", line 164, in getmessage
    initialresult = imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 752, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 1055, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 885, in _command_complete
    typ, data = self._get_tagged_response(tag)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 986, in _get_tagged_response
    self._get_response()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 948, in _get_response
    data = self.read(size)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/imaplib.py", line 1150, in read
    data = self.sslobj.read(min(size-read, 16384))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/imaplibutil.py", line 82, in read
    retval = self._read(n)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/imaplibutil.py", line 70, in _read
    return self.sslsock.read(n)
sslerror: (8, 'EOF occurred in violation of protocol')

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to boeyms@…

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by boeyms@…

Resolution: wontfix
Status: newclosed

I get similar problems (I can't reproduce this problem exactly), but it seems to be a problem in the offlineimap itself rather than our Portfile, and it's beyond my ability to fix. Please report this upstream to the developer of offlineimap.

Note: See TracTickets for help on using tickets.