On Thu, Apr 5, 2012 at 2:58 PM, Vsevolod Fedorov
<[email protected]> wrote:
> Hello, all!
>
> 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.
>
> I use pyjd with hulahop, did not tried with other variants.
> hulahop version 0.7.1, pyxpcom 1.9.2
> On pyjs it works fine.
>
> Git bisect shows it started with commit:
>
> 5af656a0a8140f04a3c4b75a13859059d62b9038,
> Fri Feb 17 05:21:10 2012
> "miserable bastard xpcom, requires 5-arg version of XMLHttpRequest.open.
>  hack workaround is however no longer required. yippee"

 *lol*.

 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.

Reply via email to