I updated my pyjamas sources and hit this one. A recent change? (Pdb) l 164 #try : 165 if mf.platform == 'webkit' or mf.platform == 'mshtml': 166 xmlHttp.open(method, url, True, '', '') 167 else: 168 # EEK! xmlhttprequest.open in xpcom is a miserable bastard. 169 -> res = xmlHttp.open(method, url, True, '', '') 170 print url, res 171 for h in headers: 172 if isinstance(headers[h], basestring): 173 xmlHttp.setRequestHeader(h, headers[h]) 174 else: (Pdb) p mf.platform 'hulahop' (Pdb) s TypeError: 'open() takes exactly 3 arguments (6 given)' > /home/steve/Development/pyjamas/library/pyjamas/HTTPRequest.py(38)asyncPost() -> returnxml, content_type, headers)
Is there something else I need to update? I did notice this in the log.... but I'm not sure what it means: commit 5af656a0a8140f04a3c4b75a13859059d62b9038 Author: Luke Leighton <[email protected]> Date: Fri Feb 17 05:21:10 2012 +0000 miserable bastard xpcom, requires 5-arg version of XMLHttpRequest.open. hack workaround is however no longer required. yippee thanks! -steve

