I'm having trouble with the JSONRPC example included with the latest
pyjs download.

It builds successfully, and I'm able to load the HTML file in my
browser through the included Python CGI server. However, when I click
on either of the "Send to X Service" buttons (though I would only
except the Python one to work in any case), the status changes to
"Waiting for response..." and never changes again.

Using Firebug, I see that the code is generating the follow errors
when I click either button:

TypeError: $pyjs.loaded_modules[t.module] is undefined
     if (typeof $pyjs.loaded_modules[t.module].__track_lines__ !=
'undefined') {
JSONRPCExample.mozilla.cache.html (line 20829)
uncaught exception: UndefinedValueError: obj

I'm still in the process of learning pyjs (I haven't made it far
because I can't get past this issue), so those errors are not in any
way helpful for me.

Can anyone here tell me what I'm doing wrong? What other information
do I need to provide, if this is not enough?

The code is running on an Ubuntu (latest) server, and I'm opening the
page in Firefox 14.0.1 in Windows 7 64-bit. However, I've also tried
running the page in Chrome 21.0.1180.75 on the same OS, and I get
similar errors, so I don't believe it's browser-specific.

Thank you,
Josh Stegmaier

-- 



Reply via email to