On Thu, Apr 5, 2012 at 3:47 PM, Vsevolod Fedorov <[email protected]> wrote: > Hi, Luke! >>> When using pyjd, if I make ajax calls from gui callbacks (when user presses >>> a button, for example), it works fine. >>> However, when I try to call ajax from scheduled timer callbacks, or when >>> initializing application - it fails. >>> >> 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? >> >> l. > Well, problem solved: you just need to restore file > library/pyjamas/HTTPRequest.hulahop.py > removed in offending commit - and it works again! > Looks like it was created on purpose :)
ahh yehhs... thaat... *sigh*. well, from what i remember, it fails with xulrunner 9, unfortunately. to be honest, if you can live with that just go with it - the mozilla team have so fucked up xulrunner embedding that i've pretty much given up. i spent about 4-5 days trying to track down the commit that they broke everything at, but there were so many other compile and runtime errors i couldn't narrow it down. l.

