diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
| commit | 0afbfaee75e8480e8e0ed0a3bbd3749a4756f727 (patch) | |
| tree | f9e4d91866060661d53c50c66973fcd20600983f /_posts/2008-08-19-offlineimap-on-osx.textile | |
| download | lumberjaph-0afbfaee75e8480e8e0ed0a3bbd3749a4756f727.tar.gz | |
initial import
Diffstat (limited to '_posts/2008-08-19-offlineimap-on-osx.textile')
| -rw-r--r-- | _posts/2008-08-19-offlineimap-on-osx.textile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/_posts/2008-08-19-offlineimap-on-osx.textile b/_posts/2008-08-19-offlineimap-on-osx.textile new file mode 100644 index 0000000..1ec6ba7 --- /dev/null +++ b/_posts/2008-08-19-offlineimap-on-osx.textile @@ -0,0 +1,28 @@ +--- +layout: post +category: app +title: offlineimap on osx +--- + +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 bash %} +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 bash %} +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>. |
