|
From: Stas Z <sta...@gm...> - 2005-09-16 14:03:35
|
On 9/16/05, Stas Z <sta...@gm...> wrote: > ---------- Forwarded message ---------- > From: SourceForge.net <no...@so...> > Date: Sep 16, 2005 2:51 AM > Subject: [libgmail - Open Discussion] RE: Unusual Usage error > To: no...@so... >=20 >=20 >=20 > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=3D3341157 > By: posey_p >=20 > Turns out many people have reported a "Lockdown error in sector 4" by gma= il. > I'm getting this error after I send multiple requests to gmail for user n= otes. >=20 > How can I read all the notes at once? Or at least prevent this ridiculous= error? The problem is that with the normal libgmail way of fetching notes you requ= est a page from Gmail with all the contacts containing the name, email, and one line of the notes. That's one page with all the notes. With your code there's a request for every note. You can imagine that when you have a lot of contacts it might look like a D= OS attack :-) However, I feel we should use your code as it's retrieving all of the notes instead of only the first line. I'm not sure how we could refactor your code so that it complies with Gmail terms of service. Stas --=20 A nation that continues year after year to spend more money on military def= ense than on programs of social uplift is approaching spiritual doom. Martin Luther King, Jr. |