|
From: Taguchi T. <ta...@to...> - 2004-01-19 04:44:42
|
Hi, all.
I've red log files carefully.
and I found something probrems.
~/plugD.log say 'pnExecute GetURL ...' command has executed.
But there are no records in web server-side log.
And then, I've terminated browser, (then, remote-wishd went
to down), web server has recieved GET method from GetURL.
I think this means socket from remote-wishd to web server
never flushed.
I can not find the point which sent http request.
Is the function struct NPNetscapeFuncs.geturl?
If yes, I think this is a probrem in the browser mozilla.
Thanks.
At Mon, 01 Dec 2003 13:04:37 +0900,
Taguchi Takeshi wrote:
>
> Hi, all.
>
> I've try to excute following tclet using FreeBSD version plugin
> and Activestate's Tcl DevKit.
>
> this tclet is stored in localhost, so I've accessed as follwing
> URL:
> http://localhost/test/test.html.
> test.html contains <embed> tag which link to this tclet.
>
> BEGIN>--8<CUT HERE>8---
> #!/usr/local/bin/wish8.4
> policy javascript
> text .text -wrap char
> .text insert end [::browser::getURL http://localhost:80/index.html]
> pack .text
> END>---8<CUT HERE>8---
>
> Offcause, config/plugin.cfg has following lines:
>
> section trustedJavascriptURLs
> ... snip ...
> allow http://localhost:80/*
> ... snip ...
>
> But I've got following error from both plugins.
>
> BEGIB>---8<CUT HERE>8---
> An error occured during execution of this Tclet:
> error
> Stack trace:
> error
> invoked from within
> "ReturnError $res"
> (procedure "::safe::InterpInvokeAlias" line 31)
> invoked from within
> "::browser::getURL http://localhost:80/index.html"
> invoked from within
> ".text insert end [::browser::getURL http://localhost:80/index.html]"
> ("uplevel" body line 4)
> invoked from within
> "uplevel #0 {#!/usr/local/bin/wish8.4
> policy javascript
> text .text -wrap char
> .text insert end [::browser::getURL http://localhost:80/index.html]
> pack..."
> END>---8<CUT HERE>8---
>
> What sould I do?
>
> Thanks.
> ---
> T.Taguchi.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Tclplugin-core mailing list
> Tcl...@li...
> https://lists.sourceforge.net/lists/listinfo/tclplugin-core
>
|