blob: 1b35b8eebf16488936b2ca52b435b41ecf799558 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>.
|