On Thu, Apr 5, 2012 at 3:34 PM, Vsevolod Fedorov <[email protected]> wrote:
>> yeahh... ok, vsevolod: what i suggest is you put a try: except: block >> around it, if the 5-arg version fails just try the original 2-arg one >> instead, ok? >> >> > If I understood you correctly, you already did that two commit later. > The failing is second, 2-arg variant. It is tried after 5-arg failure. ah? > res = xmlHttp.open(method, url) > File "<XPCOMObject method 'open'>", line 3, in open > xpcom.Exception: -1041039359 (NS_ERROR_NOT_INITIALIZED) ah. right. ok, that's probably.... yeah that's probably XSS or something.... oh wait, i know what it is. the error might actually be correct. use DeferredCommand to fire off the call *after* running pyjd.run() that will give xpcom a chance to initialise. it _should_ have done, by then, but hey... l.

