summaryrefslogtreecommitdiff
path: root/posts/2008-08-19-offlineimap-on-osx.md
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-31 10:16:40 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-31 13:42:48 -0700
commit63f413891d5adc596e4d51dfba4d0d23fdea3ca4 (patch)
treec2726b60515057a20f434bd89c596360ef17852b /posts/2008-08-19-offlineimap-on-osx.md
parentAdd Google Analytic tracker. (diff)
downloadlumberjaph-63f413891d5adc596e4d51dfba4d0d23fdea3ca4.tar.gz
Stop generating a static site.
Diffstat (limited to 'posts/2008-08-19-offlineimap-on-osx.md')
-rw-r--r--posts/2008-08-19-offlineimap-on-osx.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/posts/2008-08-19-offlineimap-on-osx.md b/posts/2008-08-19-offlineimap-on-osx.md
new file mode 100644
index 0000000..1b35b8e
--- /dev/null
+++ b/posts/2008-08-19-offlineimap-on-osx.md
@@ -0,0 +1,22 @@
+If you are using offlineimap on leopard, on an imap connection with ssl (like GMail) and it keep crashing because of the following error:
+
+```sh
+File "/Library/Python/2.5/site-packages/offlineimap/imaplibutil.py", line 70, in _read
+return self.sslsock.read(n)
+MemoryError
+```
+
+you can fix it with this fix:
+
+```sh
+sudo vim /Library/Python/2.5/site-packages/offlineimap/imaplibutil.py +70
+```
+
+then, comment line 70 and add this line
+
+```python
+return self.sslsock.read(min(n, 16384))
+#return self.sslsock.read(n)
+```
+
+you can read a description of the bug <a href="http://bugs.python.org/issue1389051">here</a>.