On 04/12/2011 11:45 PM, Alexandre Ferrieux wrote: > On Apr 13, 3:11 am, David Gravereaux <davyg...@pobox.com> wrote: >> On 04/12/2011 04:37 PM, Colin McCormack wrote: >> >>> Alex Ferrieux has successfully created Tcl over NaCl (google's native client.) >> >>> This enables Tcl to access and manipulate the DOM of a Chrome browser, and as an example of this, we havehttp://wiki.tcl.tk/_natcl/balls.htmlwhich demonstrates Tcl program driving an HTML5 Canvas. >> >>> This development gives people the real choice of Tcl as a Web Application Language. >> >>> For more details, including setup to observe demo, seehttp://wiki.tcl.tk/NaTcl >> >>> Colin. >> >> Wonderful! It almost works for me.. I have the native client enabled, >> and the shell page changes to SUCCESS from LOADING, but the script >> times-out after pressing the eval button. Does it matter that I'm on >> x86-64 (Ubuntu 10.04)? > > The "balls.html" http://wiki.tcl.tk/_natcl/index.html doesn't have an > 'eval' button; maybe you have a stale version ? Forgot to flush the > browser's cache ? > > The "index.html" http://wiki.tcl.tk/_natcl/index.html does. And again, > older versions had a timeout-driven bgerror popup (as a demo of > bgerror handling). But if you have a more serious error, please give > details: > > - what exactly does Chrome do when "the script times out" ? Pop-up > alert ? HTTP error page ? > - can you look at chrome's stderr ? > > -Alex
After 30 seconds or so a dialog will popup and declare the page as unresponsive and gives me the option to kill or wait.
Here is what is printed to the shell:
davygrvy@bigmoma:~$ /opt/google/chrome/google-chrome [1:1:1460318863942:ERROR:native_library_linux.cc(32)] dlopen failed when trying to open libsoftokn3.so: libsoftokn3.so: cannot open shared object file: No such file or directory [1:1:1460318864373:ERROR:native_library_linux.cc(32)] dlopen failed when trying to open libfreebl3.so: libfreebl3.so: cannot open shared object file: No such file or directory Moonlight: 184.108.40.206 Moonlight: Attempting to load libmoonloaderxpi Attempting to load the system libmoon NaTcl(34): DBUG: NaTcl starting BADSYSCALL:getuid BADSYSCALL:getpwuid *BADSYSCALL:access("/usr",0) [34,0:01:28:15.268000] Fatal error in file src/shared/ppapi_proxy/plugin_globals.cc, line 59: !(ppb_interface) LOG_FATAL abort exit
I fixed the issues with libsoftokn3.so and libfreebl3.so by doing: