diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 20:06:31 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 20:06:31 -0700 |
| commit | 4b8e43f75b394a4e6169884fbfb4c606865c6a22 (patch) | |
| tree | 48cae6b8e8f9b68cae29676d8a15cb3ddbfcccda /content/post/2008-08-19-offlineimap-on-osx.md | |
| parent | Stop using Jekyll. (diff) | |
| download | lumberjaph-4b8e43f75b394a4e6169884fbfb4c606865c6a22.tar.gz | |
Import migration from Jekyll to Hugo.
All the posts were converted, and the layout is created. This looks like
it works just fine.
Diffstat (limited to '')
| -rw-r--r-- | content/post/2008-08-19-offlineimap-on-osx.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/content/post/2008-08-19-offlineimap-on-osx.md b/content/post/2008-08-19-offlineimap-on-osx.md new file mode 100644 index 0000000..61d01ba --- /dev/null +++ b/content/post/2008-08-19-offlineimap-on-osx.md @@ -0,0 +1,28 @@ +--- +date: 2008-08-19T00:00:00Z +summary: In which I have to patch offline imap to make it work on OS X. +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: + +```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>. |
