Can you list or give a link to the code that is causing this error?
Thanks
~Arne
On Jul 11, 6:20 am, NITIN KISHEN <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm trying to use the Google weather API, but am stuck up with it.
>
> The gadgets.io.makeRequest(url, populateWeatherinfo, params) works well when
> the city name doesnt have a space in it. However for eg. i have the city
> san jose and try to call the weather API(to get the XML response) using the
> gadgets.io.makeRequest(url, populateWeatherinfo, params) it's throwing an
> unusual pop-up saying that 'several java machines running the same process
> caused an error'.
> I googled this and there were many explanations, but i donot understand how
> this can come up here. Moreover if i call the weather API with cities not
> having space in bertwwen them, it works perfectly.
> I debugged thee JS and found that this pop-up comes up in the js file
> dynamic-height.js right after the line: xhr.open(method,proxyUrl,true);
> I'm copying the entire function here:
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> function
> makeXhrRequest(realUrl,proxyUrl,callback,paramData,method,params,processResponseFunction,opt_contentType){var
> xhr=makeXhr();
> xhr.open(method,proxyUrl,true);
> if(callback){xhr.onreadystatechange=gadgets.util.makeClosure(null,processResponseFunction,realUrl,callback,params,xhr)}if(paramData!=null){xhr.setRequestHeader("Content-Type",opt_contentType||"application/x-www-form-urlencoded");
> xhr.send(paramData)
> }else{xhr.send(null)
> }}
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> If you use firebug the exact line number is 321.
> Is this a bug or am i missing something here??
>
> Thanks,
> Nitin
>
> openSocialAPIerror.JPG
> 162KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---