Yes I did, but I was thinking it's not the same issue, as I got an "Invalid call to asyncPut: handler is not a valid request handler" error. Is it something relevant, or is it because it raised from my jsonrpc request processing code? What it's really mean?
If I ever have a solution I document in in the wiki, promise. István On Mon, Feb 27, 2012 at 2:45 PM, Peter Bittner <[email protected]>wrote: > István, > > have you seen the recent thread about "Pyjamas and jsMath"? [1] The > problems seem common (though I have no picture of a final solution). > Here is another threat [2] I just stumbled upon doing a websearch, not > sure if it's relevant. > > [1] > http://groups.google.com/group/pyjamas-dev/browse_thread/thread/e6f5e6c2913dbda4 > [2] > http://groups.google.com/group/pyjamas-dev/browse_thread/thread/6ee54275b764cf56 > > In any case, if you and/or Matt come up with "the" solution can you > please add an article to the Pyjamas wiki? > > Cheers, Peter > > > 2012/2/27 István Vágó <[email protected]>: > > I try to use a js library called ChemVector, witch is an obfuscated, for > > license beast to render chemical structures. What it does is to replace > the > > custom <object class="chemvector-object"> tags with svg or vml depending > on > > the browser type, when > "chemvector.browser.ImageLoader.getInstance().run()" > > called. > > I put a <script src="chemvector.js"> in the apps loader page header, but > > calling the aforementioned function with JS() I get the following > traceback: > > TypeError: (void 0) is not a function > > Traceback: > > pyjslib.py, line 115 > > gwt.HTTPRequest.py, line 50: > > raise RuntimeError("Invalid call to asyncPut: handler is not a valid > > request handler") > > gwt.JSONService.py, line 224: > > self.request.handler.onRemoteResponse(response["result"], > > BrowseTab.py, line 100: > > self.putHitsInTable(hits,start) > > BrowseTab.py, line 215: > > JS("""chemvector.browser.ImageLoader.getInstance().run()""") > > > > If I call chemvector.browser.ImageLoader.getInstance().run() from FireBug > > console it works. What I do wrong? > > > > A copy of the library can be reached here: > > http://www.labcollector.com/demo/js/chemvector/lib/chemvector.js > > > > Thanks, > > Istvan >

