I'm developing a small pyjs application, which gets data from aURL and
allows displaying it in various ways. The application uses
HTTPRequest().asyncGet in the main section, and does most of its
processing in the onCompletion handler. It works beautifully using pyjd,
however...
When I run the "built" version using pyjsbuild, it never calls the
onCompletion handler(I'm on Windows 7, using Firefox as the browser).
Using ProcessExplorer, I can see that the Firefox instance is working,
taking 10-15% of CPU time. Using Firebug, I see that the HTTP Get
request completes in a few seconds. I've added calls to undefined
functions in onCompletion, onProgress, and onError, and none of them get
called. (Just to make sure, I've tried this with pyjd, and I get the
expected traceback.)
So, it seems that, in the built version, the "internals" of HTTPRequest
are churning without ever hitting the callbacks. For what it's worth,
the data I'm getting is a cvs with a few hundred rows. (I don't think
his shouldmake any difference, since it's passed to the completion
handler as a string.)
Any good advice welcome,
Don Dwiggins
--
---
You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.