GMResponse.request broken
Status: Inactive
Brought to you by:
siuying
Login works fine. On calling GMResponse.request,
though, an exception gets thrown, reading:
Message: 'ds' did not have expected number of elements (7).
I assume something in the public facing GMail version
broke request. Not sure. I have no experience here.
My source:
import siuying.gm.*;
import java.util.*;
public class testGMConnector {
public static void main(String[] args) {
GMConnector gmc = new GMConnector();
gmc.setUser(args[0]);
gmc.setPasswd(args[1]);
gmc.connect();
if (gmc.isConnected()) {
try { GMResponse gmr =
gmc.request(GMConstants.GM_REQ_QUERY, "label: star", "");
} catch (Exception e) {
System.out.println(e);
}
}
}
}
Logged In: NO
I see the exact same thing