diff options
Diffstat (limited to '_posts/2008-08-19-offlineimap-on-osx.md')
| -rw-r--r-- | _posts/2008-08-19-offlineimap-on-osx.md | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/_posts/2008-08-19-offlineimap-on-osx.md b/_posts/2008-08-19-offlineimap-on-osx.md deleted file mode 100644 index 870d243..0000000 --- a/_posts/2008-08-19-offlineimap-on-osx.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: post -summary: In which I have to patch offline imap to make it work on OS X. -title: offlineimap on osx -type: codex ---- - -If you are using offlineimap on leopard, on an imap connection with ssl (like GMail) and it keep crashing because of the following error: - -{% highlight sh %} -File "/Library/Python/2.5/site-packages/offlineimap/imaplibutil.py", line 70, in _read -return self.sslsock.read(n) -MemoryError -{% endhighlight %} - -you can fix it with this fix: - -{% highlight sh %} -sudo vim /Library/Python/2.5/site-packages/offlineimap/imaplibutil.py +70 -{% endhighlight %} - -then, comment line 70 and add this line - -{% highlight python %} -return self.sslsock.read(min(n, 16384)) -#return self.sslsock.read(n) -{% endhighlight %} - -you can read a description of the bug <a href="http://bugs.python.org/issue1389051">here</a>. |
