From 2d2a43f200b88627253f2906fbae87cef7c1e8ce Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 4 Aug 2016 11:12:37 -0700 Subject: Mass convert all posts from markdown to org. --- posts/2008-08-19-offlineimap-on-osx.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 posts/2008-08-19-offlineimap-on-osx.org (limited to 'posts/2008-08-19-offlineimap-on-osx.org') diff --git a/posts/2008-08-19-offlineimap-on-osx.org b/posts/2008-08-19-offlineimap-on-osx.org new file mode 100644 index 0000000..6f5311f --- /dev/null +++ b/posts/2008-08-19-offlineimap-on-osx.org @@ -0,0 +1,23 @@ +If you are using offlineimap on leopard, on an imap connection with ssl +(like GMail) and it keep crashing because of the following error: + +#+BEGIN_SRC sh + File "/Library/Python/2.5/site-packages/offlineimap/imaplibutil.py", line 70, in _read + return self.sslsock.read(n) + MemoryError +#+END_SRC + +you can fix it with this fix: + +#+BEGIN_SRC sh + sudo vim /Library/Python/2.5/site-packages/offlineimap/imaplibutil.py +70 +#+END_SRC + +then, comment line 70 and add this line + +#+BEGIN_SRC python + return self.sslsock.read(min(n, 16384)) + #return self.sslsock.read(n) +#+END_SRC + +you can read a description of the bug here. -- cgit v1.2.3